Creates a sphere. More...
#include <sphereImplicitFunction.H>


Public Member Functions | |
| TypeName ("sphere") | |
| Runtime type information. | |
| sphereImplicitFunction (const point &, const scalar radius, const scalar scale) | |
| Construct from components. | |
| sphereImplicitFunction (const dictionary &dict) | |
| Construct from dictionary. | |
| virtual | ~sphereImplicitFunction ()=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. | |
Creates a sphere.
Original code supplied by Henning Scheufler, DLR (2019)
Definition at line 52 of file sphereImplicitFunction.H.
| sphereImplicitFunction | ( | const point & | , |
| const scalar | radius, | ||
| const scalar | scale ) |
Construct from components.
|
explicit |
Construct from dictionary.
References dict.
|
virtualdefault |
Destructor.
| TypeName | ( | "sphere" | ) |
Runtime type information.
|
inlinevirtual |
Reimplemented from implicitFunction.
Definition at line 105 of file sphereImplicitFunction.H.
References Foam::mag(), and p.

Reimplemented from implicitFunction.
Definition at line 110 of file sphereImplicitFunction.H.
References p.
|
inlinevirtual |
Reimplemented from implicitFunction.
Definition at line 115 of file sphereImplicitFunction.H.
References Foam::mag(), and p.
