dune-mmesh (1.4)
Class defining an operator that assigns a curvature to each element or each vertex of the interface grid. The curvature is approximated by interpolation with a sphere (through the center points of an interface element and its neighbors). The enum CurvatureLayout determines whether the curvature is approximated at the vertices or elements of the grid. NOTE that the algorithm IN 3D might provide poor approximations for non-spherical interfaces and IN 3D the algorithm in general does not converge under grid refinement. More...
#include <dune/mmesh/interface/curvatureoperator.hh>
Public Member Functions | |
CurvatureOperator (const IGridView &iGridView, const IGridMapper &iGridMapper) | |
Constructor. More... | |
template<class Curvatures , class Centers , CurvatureLayout Layout = CL> | |
std::enable_if_t< Layout==Vertex, void > | operator() (Curvatures &curvatures, Centers ¢ers) const |
Operator that assigns a curvature to each element or each vertex of the interface grid. The curvature is approximated by interpolation with a sphere (osculating circle/sphere through incident interface vertices). More... | |
Detailed Description
class Dune::CurvatureOperator< IGridView, IGridMapper, CL >
Class defining an operator that assigns a curvature to each element or each vertex of the interface grid. The curvature is approximated by interpolation with a sphere (through the center points of an interface element and its neighbors). The enum CurvatureLayout determines whether the curvature is approximated at the vertices or elements of the grid. NOTE that the algorithm IN 3D might provide poor approximations for non-spherical interfaces and IN 3D the algorithm in general does not converge under grid refinement.
Constructor & Destructor Documentation
◆ CurvatureOperator()
|
inline |
Constructor.
- Parameters
-
iGridView The grid view of the interface grid iGridMapper Element or Vertex mapper for the interface grid depending on the specified curvature layout
Member Function Documentation
◆ operator()()
|
inline |
Operator that assigns a curvature to each element or each vertex of the interface grid. The curvature is approximated by interpolation with a sphere (osculating circle/sphere through incident interface vertices).
- Parameters
-
curvatures A container to store the curvature of each element or each vertex of the interface grid centers A container to store the centers of curvatures (sphere center points) corresponding to the approximated curvature of each element or each vertex of the interface grid
The documentation for this class was generated from the following file:
- dune/mmesh/interface/curvatureoperator.hh
