Handles multiple implicit functions and offers multiple ways to combine them. More...
Public Member Functions | |
TypeName ("composedFunction") | |
Runtime type information. More... | |
composedFunctionImplicitFunction (const dictionary &dict) | |
Construct from dictionary. More... | |
virtual | ~composedFunctionImplicitFunction ()=default |
Destructor. More... | |
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. More... | |
declareRunTimeSelectionTable (autoPtr, implicitFunction, dict,(const dictionary &dict),(dict)) | |
Declare run-time constructor selection table. More... | |
implicitFunction ()=default | |
Default construct. More... | |
virtual | ~implicitFunction ()=default |
Destructor. More... | |
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. More... | |
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.
|
virtualdefault |
Destructor.
TypeName | ( | "composedFunction" | ) |
Runtime type information.
|
virtual |
Reimplemented from implicitFunction.
Reimplemented from implicitFunction.
|
virtual |
Reimplemented from implicitFunction.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.