45 const searchableSurface& surface,
46 const dictionary&
dict
49 const word modelType(
surface.type() +
"Features");
51 auto* ctorPtr = dictConstructorTable(modelType);
58 "searchableSurfaceFeatures",
60 *dictConstructorTablePtr_
64 return autoPtr<searchableSurfaceFeatures>(ctorPtr(
surface,
dict));
72 const searchableSurface& surface,
73 const dictionary&
dict
static autoPtr< Time > New()
Construct (dummy) Time - no functionObjects or libraries.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
Decorator that returns the features of a searchable surface.
const dictionary & dict() const
Return a reference to the dictionary.
virtual ~searchableSurfaceFeatures()
Destructor.
const searchableSurface & surface() const
Return a reference to the searchable surface.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
#define FatalIOErrorInLookup(ios, lookupTag, lookupName, lookupTable)
Report an error message using Foam::FatalIOError.
const wordList surface
Standard surface field types (scalar, vector, tensor, etc)
errorManipArg< error, int > exit(error &err, const int errNo=1)
#define defineRunTimeSelectionTable(baseType, argNames)
Define run-time selection table.