|
dune-mmesh 1.4.1-git
|
Loading...
Searching...
No Matches
Dune::Distance< Grid > Class Template Reference
Class for computing the distance to the interface. More...
#include <dune/mmesh/remeshing/distance.hh>
Inheritance diagram for Dune::Distance< Grid >:

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 | |
| void | set (const Vertex &vertex, ctype value) |
| Set distance of vertex. | |
| ctype | operator() (const Element &element) const |
| function call operator to return distance of element (average of the vertex distances) | |
| ctype | operator() (const InterfaceElement &element) const |
| Interface element. | |
| template<class Index > | |
| ctype | operator[] (const Index &index) const |
| function call operator to return distance | |
| 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.
Constructor & Destructor Documentation
◆ Distance() [1/2]
template<class Grid >
|
inline |
Default constructor.
◆ Distance() [2/2]
template<class Grid >
|
inline |
Constructor with grid reference.
Member Function Documentation
◆ initialized()
template<class Grid >
|
inline |
Return if distance has been initialized.
◆ maximum()
template<class Grid >
|
inline |
return maximum distance
◆ operator()() [1/3]
template<class Grid >
|
inline |
function call operator to return distance of element (average of the vertex distances)
- Parameters
-
element A grid element
◆ operator()() [2/3]
template<class Grid >
|
inline |
Interface element.
◆ operator()() [3/3]
template<class Grid >
|
inline |
function call operator to return distance of vertex
- Parameters
-
vertex A grid vertex
◆ 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
◆ size()
template<class Grid >
|
inline |
return size of distances vector
◆ update()
template<class Grid >
|
inline |
Update the distances of all vertices.
The documentation for this class was generated from the following file:
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8