MADNESS 0.10.1
|
A plane surface (3 dimensions) More...
#include <sdf_shape_3D.h>
Public Member Functions | |
SDFPlane (const coord_3d &normal, const coord_3d &point) | |
SDF for a plane transecting the entire simulation volume. | |
coord_3d | grad_sdf (const coord_3d &pt) const |
Computes the gradient of the SDF. | |
double | sdf (const coord_3d &pt) const |
Computes the normal distance. | |
Public Member Functions inherited from madness::SignedDFInterface< 3 > | |
virtual | ~SignedDFInterface () |
virtual Vector< double, NDIM > | grad_sdf (const Vector< double, NDIM > &x) const=0 |
Returns the gradient of the signed distance from the surface (i.e., dsdf(x)/dx [i] ) | |
virtual double | sdf (const Vector< double, NDIM > &x) const=0 |
Returns the signed distance from the surface,. | |
Protected Attributes | |
const coord_3d | normal |
The normal vector pointing OUTSIDE the surface. | |
const coord_3d | point |
A point in the plane. | |
A plane surface (3 dimensions)
SDF for a plane transecting the entire simulation volume.
normal | The outward normal definining the plane |
point | A point in the plane |
Computes the gradient of the SDF.
pt | Point at which to compute the gradient |
References MADNESS_EXCEPTION.
|
inline |
|
protected |
The normal vector pointing OUTSIDE the surface.
Referenced by sdf().