Skip to content

Draft: Feature/scaling mesh

Kaloyan Kirilov requested to merge meshing/nektar:feature/scaling_mesh into master

Issue/feature addressed

*Scales the coordinates of the mesh (Linear or High-order) with user-defined scaled coefficient. This is useful when users have CAD or have created the high-order/linear mesh with the wrong dimensions (mm vs m). Several users have requested such functionality. *

Proposed solution

*A very simple module that takes X Y Z coefficients and scales the coordinates (vertices, edgeNodes, FaceNodes). *

Implementation

A very simple module that takes scaleX scaleY scaleZ coefficients as an input and scales the coordinates of the (vertices, edgeNodes, FaceNodes). It has 3 loops over vertexSet, edgeSet, faceSet. If no coefficient is given by the user, no scaling is performed in this direction.

Tests

Suggested reviewers

**

Notes

Please add any other information that could be useful for reviewers.

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 Kaloyan Kirilov

Merge request reports