44#ifndef Foam_resolutionIndexModel_H
45#define Foam_resolutionIndexModel_H
78 template<
class GeoFieldType>
159 virtual bool write() = 0;
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Mesh data needed to do the Finite Volume discretisation.
const fvMesh & mesh() const noexcept
Return const reference to the mesh.
virtual ~resolutionIndexModel()=default
Destructor.
declareRunTimeSelectionTable(autoPtr, resolutionIndexModel, dictionary,(const word &name, const fvMesh &mesh, const dictionary &dict),(name, mesh, dict))
tmp< volScalarField > V() const
Return cell volume field.
resolutionIndexModel(const word &name, const fvMesh &mesh, const dictionary &dict)
Construct from components.
GeoFieldType & getOrReadField(const word &fieldName) const
Return requested field from the object registry or read+register the field to the object registry.
virtual bool execute()=0
Execute the function-object operations.
const word & resultName() const noexcept
Return const reference to the result name.
virtual bool read(const dictionary &dict)
Read the function-object dictionary.
void operator=(const resolutionIndexModel &)=delete
No copy assignment.
resolutionIndexModel(const resolutionIndexModel &)=delete
No copy construct.
static autoPtr< resolutionIndexModel > New(const word &name, const fvMesh &mesh, const dictionary &dict)
Return a reference to the selected resolutionIndex model.
TypeName("resolutionIndexModel")
Runtime type information.
virtual bool write()=0
Write the function-object results.
A class for managing temporary objects.
A class for handling words, derived from Foam::string.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for expressions::valueTypeCode::INVALID.
#define declareRunTimeSelectionTable(ptrWrapper, baseType, argNames, argList, parList)
Declare a run-time selection (variables and adder classes).
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.