Handles multiple implicit functions and offers multiple ways to combine them. More...
Public Member Functions | |
TypeName ("composedFunction") | |
composedFunctionImplicitFunction (const dictionary &dict) | |
virtual | ~composedFunctionImplicitFunction ()=default |
virtual scalar | value (const vector &p) const |
virtual vector | grad (const vector &p) const |
virtual scalar | distanceToSurfaces (const vector &p) const |
![]() | |
TypeName ("implicitFunction") | |
declareRunTimeSelectionTable (autoPtr, implicitFunction, dict,(const dictionary &dict),(dict)) | |
implicitFunction ()=default | |
virtual | ~implicitFunction ()=default |
Additional Inherited Members | |
![]() | |
static autoPtr< implicitFunction > | New (const word &implicitFunctionType, const dictionary &dict) |
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 |
|
virtualdefault |
TypeName | ( | "composedFunction" | ) |
|
virtual |
Reimplemented from implicitFunction.
Reimplemented from implicitFunction.
|
virtual |
Reimplemented from implicitFunction.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.