43 Foam::topOInterpolationFunction::topOInterpolationFunction
65 Info<<
"topOInterpolationFunction type : " <<
type <<
endl;
67 auto* ctorPtr = dictionaryConstructorTable(
type);
76 *dictionaryConstructorTablePtr_
88 const scalar lengthScale
92 <<
"Function " <<
type() <<
" has no length scale parameter" <<
endl;
Abstract base class for interpolation functions used in topology optimisation.
errorManipArg< error, int > exit(error &err, const int errNo=1)
A list of keyword definitions, which are a keyword followed by a number of values (eg...
Ostream & endl(Ostream &os)
Add newline and flush stream.
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.
A class for handling words, derived from Foam::string.
virtual void setLengthScaleParam(const scalar lengthScale)
Set the parameter determining length scale.
defineRunTimeSelectionTable(reactionRateFlameArea, dictionary)
defineTypeNameAndDebug(combustionModel, 0)
#define WarningInFunction
Report a warning using Foam::Warning.
Mesh data needed to do the Finite Volume discretisation.
messageStream Info
Information stream (stdout output on master, null elsewhere)
Macros to ease declaration of run-time selection tables.
#define FatalIOErrorInLookup(ios, lookupTag, lookupName, lookupTable)
Report an error message using Foam::FatalIOError.
static autoPtr< topOInterpolationFunction > New(const fvMesh &mesh, const dictionary &dict)
Return an autoPtr to the selected interpolation type.
IOerror FatalIOError
Error stream (stdout output on all processes), with additional 'FOAM FATAL IO ERROR' header text and ...