Transform coordinates and vectors for the MRF method
Issue/feature addressed
When using the moving reference frame method, the coordinates are fixed with the body. To visualise the body's motion, a pair of new coordinates "xCoord", "yCoord" and "zCoord" are added using the FieldConvert module, MRF. The vector variables can also be transformed by assigning "vectors".
Proposed solution
A pair of new coordinates "xCoord", "yCoord" and "zCoord" are added.
Implementation
This function is similar to the one used in the mapping method.
Tests
One test case is added.
Suggested reviewers
Notes
Checklist
-
Functions and classes, or changes to them, are documented. -
User guide/documentation is updated. -
Changelog is updated. -
Suitable tests added for new functionality. -
Contributed code is correctly formatted. (See the contributing guidelines). -
License added to any new files. -
No extraneous files have been added (e.g. compiler output or test data files).
Edited by Ankang Gao