Class to calculate the wall distance at every element or vertex of a grid.
More...
#include <dumux/discretization/walldistance.hh>
template<class GridGeometry, template< class > class DistanceField = AABBDistanceField>
class Dumux::WallDistance< GridGeometry, DistanceField >
- Template Parameters
-
GridGeometry | The grid geometry. |
DistanceField | The type of distance field to use (parameterized with the geometry type) |
|
template<class LocationTag, class ScvfSelectionFunctor> |
| WallDistance (std::shared_ptr< const GridGeometry > gridGeometry, LocationTag tag, const ScvfSelectionFunctor &select) |
| Constructs a new wall distance object.
|
|
template<class LocationTag> |
| WallDistance (std::shared_ptr< const GridGeometry > gridGeometry, LocationTag tag) |
| Constructs a new wall distance object.
|
|
template<class LocationTag, class ScvfSelectionFunctor> |
| WallDistance (const GridGeometry &gridGeometry, LocationTag tag, const ScvfSelectionFunctor &select) |
| caller has to make sure the lifetime of grid geometry exceeds the lifetime of wall distance
|
|
template<class LocationTag> |
| WallDistance (const GridGeometry &gridGeometry, LocationTag tag) |
| caller has to make sure the lifetime of grid geometry exceeds the lifetime of wall distance
|
|
const std::vector< Scalar > & | wallDistance () const |
| Returns a vector storing the distance from each DOF location to the nearest wall. For the atElementCenter policy, this is the distance from the element center to the nearest wall. For the atVertexCenter policy, this is the distance from the vertex to the nearest wall.
|
|
const std::vector< WallData > & | wallData () const |
| Returns a vector storing additional information about the nearest scvf on the wall (element index and scvf index). For the atElementCenter policy, this information is given for each element For the atVertexCenter policy, this information is given for each vertex.
|
|
◆ WallData
template<class GridGeometry, template< class > class DistanceField = AABBDistanceField>
◆ WallDistance() [1/4]
template<class GridGeometry, template< class > class DistanceField = AABBDistanceField>
template<class LocationTag, class ScvfSelectionFunctor>
Dumux::WallDistance< GridGeometry, DistanceField >::WallDistance |
( |
std::shared_ptr< const GridGeometry > | gridGeometry, |
|
|
LocationTag | tag, |
|
|
const ScvfSelectionFunctor & | select ) |
|
inline |
◆ WallDistance() [2/4]
template<class GridGeometry, template< class > class DistanceField = AABBDistanceField>
template<class LocationTag>
- Parameters
-
- Note
- selects all boundary scvfs as wall faces
◆ WallDistance() [3/4]
template<class GridGeometry, template< class > class DistanceField = AABBDistanceField>
template<class LocationTag, class ScvfSelectionFunctor>
◆ WallDistance() [4/4]
template<class GridGeometry, template< class > class DistanceField = AABBDistanceField>
template<class LocationTag>
◆ wallData()
template<class GridGeometry, template< class > class DistanceField = AABBDistanceField>
◆ wallDistance()
template<class GridGeometry, template< class > class DistanceField = AABBDistanceField>
◆ atElementCenters
template<class GridGeometry, template< class > class DistanceField = AABBDistanceField>
◆ atVertexCenters
template<class GridGeometry, template< class > class DistanceField = AABBDistanceField>
The documentation for this class was generated from the following file: