Concrete implementation of GeometricAdvectDistribution for a rectangular box distribution.
More...
#include <lsGeometricAdvectDistributions.hpp>
|
| BoxDistribution (const std::array< T, 3 > &halfAxes, const T delta) |
|
bool | isInside (const Vec3D< hrleCoordType > &initial, const Vec3D< hrleCoordType > &candidate, double eps=0.) const override |
| Quick check whether a point relative to the distributions center is inside the distribution. If there is no quick check due to the complexity of the distribution, always return true or do not overload this function.
|
|
T | getSignedDistance (const Vec3D< hrleCoordType > &initial, const Vec3D< hrleCoordType > &candidate, unsigned long) const override |
| Returns the signed distance of a point relative to the distributions center. This is the signed manhatten distance to the nearest surface point.
|
|
std::array< hrleCoordType, 6 > | getBounds () const override |
| Sets bounds to the bounding box of the distribution.
|
|
template<class
T, int D>
class viennals::BoxDistribution< T, D >
Concrete implementation of GeometricAdvectDistribution for a rectangular box distribution.
◆ BoxDistribution()
template<class
T , int D>
◆ getBounds()
template<class
T , int D>
◆ getSignedDistance()
template<class
T , int D>
T viennals::BoxDistribution< T, D >::getSignedDistance |
( |
const Vec3D< hrleCoordType > & | initial, |
|
|
const Vec3D< hrleCoordType > & | candidate, |
|
|
unsigned long | initialPointId ) const |
|
inlineoverridevirtual |
◆ isInside()
template<class
T , int D>
bool viennals::BoxDistribution< T, D >::isInside |
( |
const Vec3D< hrleCoordType > & | initial, |
|
|
const Vec3D< hrleCoordType > & | candidate, |
|
|
double | eps = 0. ) const |
|
inlineoverridevirtual |
Quick check whether a point relative to the distributions center is inside the distribution. If there is no quick check due to the complexity of the distribution, always return true or do not overload this function.
Reimplemented from viennals::GeometricAdvectDistribution< T, D >.
◆ gridDelta
template<class
T , int D>
◆ posExtent
template<class
T , int D>
The documentation for this class was generated from the following file: