Concrete implementation of GeometricAdvectDistribution for a spherical advection distribution.
More...
#include <lsGeometricAdvectDistributions.hpp>
|
| SphereDistribution (const T passedRadius, 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::SphereDistribution< T, D >
Concrete implementation of GeometricAdvectDistribution for a spherical advection distribution.
◆ SphereDistribution()
template<class
T , int D>
◆ getBounds()
template<class
T , int D>
◆ getSignedDistance()
template<class
T , int D>
T viennals::SphereDistribution< T, D >::getSignedDistance |
( |
const Vec3D< hrleCoordType > & | initial, |
|
|
const Vec3D< hrleCoordType > & | candidate, |
|
|
unsigned long | initialPointId ) const |
|
inlineoverridevirtual |
◆ isInside()
template<class
T , int D>
bool viennals::SphereDistribution< 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>
◆ radius
template<class
T , int D>
◆ radius2
template<class
T , int D>
The documentation for this class was generated from the following file: