|
MADNESS 0.10.1
|
Use a Gaussian for the surface function and the corresponding erf for the domain mask. More...
#include <sdf_domainmask.h>


Public Member Functions | |
| GaussianDomainMask (double epsilon) | |
| Constructor for the domain mask. | |
| virtual | ~GaussianDomainMask () |
| double | dmask (double d) const |
| Derivative of characteristic function with respect to the normal distance. | |
| double | dsurface (double d) const |
| Value of d(surface)/ddistance. | |
| double | mask (double d) const |
| Value of characteristic function at normal distance d from the surface. | |
| double | surface (double d) const |
| Value of surface function at distance d normal to surface. | |
Public Member Functions inherited from madness::DomainMaskInterface | |
| virtual | ~DomainMaskInterface () |
Protected Attributes | |
| const double | epsilon |
| The width of the transition region. | |
Private Member Functions | |
| GaussianDomainMask () | |
| Forbidden. | |
Use a Gaussian for the surface function and the corresponding erf for the domain mask.
|
inlineprivate |
Forbidden.
|
inline |
Constructor for the domain mask.
| [in] | epsilon | The effective width of the surface |
|
inlinevirtual |
Derivative of characteristic function with respect to the normal distance.
| [in] | d | The signed distance |
Implements madness::DomainMaskInterface.
References d, epsilon, madness::nonlinear_vector_solver(), and madness::constants::pi.
Value of d(surface)/ddistance.
| [in] | d | The signed distance |
Implements madness::DomainMaskInterface.
References d, epsilon, madness::nonlinear_vector_solver(), and madness::constants::pi.
Value of characteristic function at normal distance d from the surface.
| [in] | d | The signed distance. Negative is inside,'' positive isoutside.'' |
Implements madness::DomainMaskInterface.
References d, epsilon, and madness::nonlinear_vector_solver().
Value of surface function at distance d normal to surface.
| [in] | d | The signed distance |
Implements madness::DomainMaskInterface.
References d, epsilon, madness::nonlinear_vector_solver(), and madness::constants::pi.
|
protected |
The width of the transition region.
Referenced by dmask(), dsurface(), mask(), and surface().