Use a Gaussian for the surface function and the corresponding erf for the domain mask.
More...
#include <sdf_domainmask.h>
|
const double | epsilon |
| The width of the transition region.
|
|
Use a Gaussian for the surface function and the corresponding erf for the domain mask.
◆ GaussianDomainMask() [1/2]
madness::GaussianDomainMask::GaussianDomainMask |
( |
| ) |
|
|
inlineprivate |
◆ GaussianDomainMask() [2/2]
madness::GaussianDomainMask::GaussianDomainMask |
( |
double |
epsilon | ) |
|
|
inline |
Constructor for the domain mask.
- Parameters
-
[in] | epsilon | The effective width of the surface |
◆ ~GaussianDomainMask()
virtual madness::GaussianDomainMask::~GaussianDomainMask |
( |
| ) |
|
|
inlinevirtual |
◆ dmask()
double madness::GaussianDomainMask::dmask |
( |
double |
d | ) |
const |
|
inlinevirtual |
◆ dsurface()
double madness::GaussianDomainMask::dsurface |
( |
double |
d | ) |
const |
|
inlinevirtual |
◆ mask()
double madness::GaussianDomainMask::mask |
( |
double |
d | ) |
const |
|
inlinevirtual |
Value of characteristic function at normal distance d from the surface.
- Parameters
-
[in] | d | The signed distance. Negative is inside,'' positive is outside.'' |
- Returns
- The domain mask
Implements madness::DomainMaskInterface.
References d, and epsilon.
◆ surface()
double madness::GaussianDomainMask::surface |
( |
double |
d | ) |
const |
|
inlinevirtual |
◆ epsilon
const double madness::GaussianDomainMask::epsilon |
|
protected |
The documentation for this class was generated from the following file: