40 #ifndef implicitFunction_H 41 #define implicitFunction_H 86 const word& implicitFunctionType,
A list of keyword definitions, which are a keyword followed by a number of values (eg...
label max(const labelHashSet &set, label maxValue=labelMin)
Find the max value in labelHashSet, optionally limited by second argument.
implicitFunction()=default
Default construct.
declareRunTimeSelectionTable(autoPtr, implicitFunction, dict,(const dictionary &dict),(dict))
Declare run-time constructor selection table.
virtual scalar value(const vector &p) const
virtual scalar distanceToSurfaces(const vector &p) const
virtual ~implicitFunction()=default
Destructor.
A class for handling words, derived from Foam::string.
TypeName("implicitFunction")
Runtime type information.
A Vector of values with scalar precision, where scalar is float/double depending on the compilation f...
virtual vector grad(const vector &p) const
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
Macros to ease declaration of run-time selection tables.
Base class for implicit functions.
static autoPtr< implicitFunction > New(const word &implicitFunctionType, const dictionary &dict)
Return a reference to the selected implicitFunction.