|
ViennaLS
|
Concrete implementation of GeometricAdvectDistribution for a spherical advection distribution. More...
#include <lsGeometricAdvectDistributions.hpp>
Public Member Functions | |
| SphereDistribution (const T passedRadius) | |
| bool | isInside (const Vec3D< viennahrle::CoordType > &initial, const Vec3D< viennahrle::CoordType > &candidate, double eps) 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< viennahrle::CoordType > &initial, const Vec3D< viennahrle::CoordType > &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< viennahrle::CoordType, 6 > | getBounds () const override |
| Sets bounds to the bounding box of the distribution. | |
| bool | useSurfacePointId () const override |
| void | prepare (SmartPointer< Domain< T, D > > domain) override |
| virtual void | finalize () |
Public Attributes | |
| const T | radius = 0. |
| const T | radius2 |
| T | gridDelta = 0. |
Concrete implementation of GeometricAdvectDistribution for a spherical advection distribution.
|
inline |
|
inlinevirtualinherited |
|
inlineoverridevirtual |
Sets bounds to the bounding box of the distribution.
Implements viennals::GeometricAdvectDistribution< T, D >.
|
inlineoverridevirtual |
Returns the signed distance of a point relative to the distributions center. This is the signed manhatten distance to the nearest surface point.
Implements viennals::GeometricAdvectDistribution< T, D >.
|
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 >.
|
inlineoverridevirtual |
Reimplemented from viennals::GeometricAdvectDistribution< T, D >.
|
inlineoverridevirtual |
Reimplemented from viennals::GeometricAdvectDistribution< T, D >.
| T viennals::SphereDistribution< T, D >::gridDelta = 0. |
| const T viennals::SphereDistribution< T, D >::radius = 0. |
| const T viennals::SphereDistribution< T, D >::radius2 |