Handles multiple implicit functions and offers multiple ways to combine them. More...
#include <composedFunctionImplicitFunction.H>


Public Member Functions | |
| TypeName ("composedFunction") | |
| Runtime type information. | |
| composedFunctionImplicitFunction (const dictionary &dict) | |
| Construct from dictionary. | |
| virtual | ~composedFunctionImplicitFunction ()=default |
| Destructor. | |
| virtual scalar | value (const vector &p) const |
| virtual vector | grad (const vector &p) const |
| virtual scalar | distanceToSurfaces (const vector &p) const |
| Public Member Functions inherited from implicitFunction | |
| TypeName ("implicitFunction") | |
| Runtime type information. | |
| declareRunTimeSelectionTable (autoPtr, implicitFunction, dict,(const dictionary &dict),(dict)) | |
| Declare run-time constructor selection table. | |
| implicitFunction ()=default | |
| Default construct. | |
| virtual | ~implicitFunction ()=default |
| Destructor. | |
Additional Inherited Members | |
| Static Public Member Functions inherited from implicitFunction | |
| static autoPtr< implicitFunction > | New (const word &implicitFunctionType, const dictionary &dict) |
| Return a reference to the selected implicitFunction. | |
Handles multiple implicit functions and offers multiple ways to combine them.
function composedFunctionImplicitFunction;
mode minDist;
// following mode are available:
// "add" "subtract" "minDist" "intersect"
composedFunctionImplicitFunctions
{
plane
{
function plane;
origin (0 1. 0);
normal (0 1 0);
}
sphere
{
function sphere;
radius 0.4;
origin (0.5 1.5 0.5);
scale 1;
}
sphere2
{
function sphere;
radius 0.4;
origin (0.5 0.5 0.5);
scale -1;
}
}
Original code supplied by Henning Scheufler, DLR (2019)
Definition at line 87 of file composedFunctionImplicitFunction.H.
|
explicit |
Construct from dictionary.
References dict.
|
virtualdefault |
Destructor.
| TypeName | ( | "composedFunction" | ) |
Runtime type information.
|
virtual |
Reimplemented from implicitFunction.
References p.
Reimplemented from implicitFunction.
References p.
|
virtual |
Reimplemented from implicitFunction.
References p.