dune-mmesh (unstable)
Dune::Distance< Grid > Class Template Reference
Class for computing the distance to the interface. More...
#include <dune/mmesh/remeshing/distance.hh>
Public Member Functions | |
Distance () | |
Default constructor. | |
Distance (const Grid &grid) | |
Constructor with grid reference. | |
void | update () |
Update the distances of all vertices. | |
bool | initialized () const |
Return if distance has been initialized. | |
ctype | operator() (const Vertex &vertex) const |
function call operator to return distance of vertex More... | |
void | set (const Vertex &vertex, ctype value) |
Set distance of vertex. More... | |
ctype | operator() (const Element &element) const |
function call operator to return distance of element (average of the vertex distances) More... | |
ctype | operator() (const InterfaceElement &element) const |
Interface element. | |
template<class Index > | |
ctype | operator[] (const Index &index) const |
function call operator to return distance More... | |
ctype | maximum () const |
return maximum distance | |
std::size_t | size () const |
return size of distances vector | |
Detailed Description
template<class Grid>
class Dune::Distance< Grid >
class Dune::Distance< Grid >
Class for computing the distance to the interface.
Member Function Documentation
◆ operator()() [1/2]
template<class Grid >
|
inline |
function call operator to return distance of element (average of the vertex distances)
- Parameters
-
element A grid element
◆ operator()() [2/2]
template<class Grid >
|
inline |
function call operator to return distance of vertex
- Parameters
-
vertex A grid vertex
References Dune::Distance< Grid >::size().
◆ operator[]()
template<class Grid >
template<class Index >
|
inline |
function call operator to return distance
- Parameters
-
index Index of a vertex
◆ set()
template<class Grid >
|
inline |
Set distance of vertex.
- Parameters
-
vertex A grid vertex value Distance value
References Dune::Distance< Grid >::size().
The documentation for this class was generated from the following file:
- dune/mmesh/remeshing/distance.hh
