You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In quite a few settings it would be convenient to be able to subject a mesh read from file or constructed from primitives to a bijective orientation preserving mapping R^2 -> R^2. This could be done by mapping the points defining the geometry of all mesh entities; it would affect only the Geometry objects associated with mesh entities.
What about introducing a method
template <typename Mapping> remap(Mapping &F);
for lf::mesh::Geometry? Here the type mapping must provide an Eigen::VectorXd operator () (Eigen::VectorXd) const evaluation operator.
The text was updated successfully, but these errors were encountered:
I like the solution that you proposed, but I think we should make the remap function virtual, i.e. we cannot use templates. So I would propose the following signature:
In quite a few settings it would be convenient to be able to subject a mesh read from file or constructed from primitives to a bijective orientation preserving mapping R^2 -> R^2. This could be done by mapping the points defining the geometry of all mesh entities; it would affect only the Geometry objects associated with mesh entities.
What about introducing a method
for
lf::mesh::Geometry
? Here the type mapping must provide anEigen::VectorXd operator () (Eigen::VectorXd) const
evaluation operator.The text was updated successfully, but these errors were encountered: