45#ifndef Foam_wallHeatFluxModel_H
46#define Foam_wallHeatFluxModel_H
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,...
Base class for function objects, adding functionality to read/write state information (data required ...
Base class for writing single files from the function objects.
Mesh data needed to do the Finite Volume discretisation.
const fvMesh & mesh() const noexcept
Return const reference to the mesh.
static autoPtr< wallHeatFluxModel > New(const dictionary &dict, const fvMesh &mesh, const word &name, const word objName, functionObjects::stateFunctionObject &state)
Return a reference to the selected heat-flux model.
wallHeatFluxModel(const dictionary &dict, const fvMesh &mesh, const word &name, const word objName, functionObjects::stateFunctionObject &state)
Construct from components.
virtual ~wallHeatFluxModel()
Destructor.
const word & objName() const noexcept
Return const reference to the function-object name.
TypeName("wallHeatFluxModel")
Runtime type information.
virtual bool execute()=0
Calculate the heat-flux data.
functionObjects::stateFunctionObject & state() const noexcept
Return const reference to the state function object.
declareRunTimeSelectionTable(autoPtr, wallHeatFluxModel, dictionary,(const dictionary &dict, const fvMesh &mesh, const word &name, const word objName, functionObjects::stateFunctionObject &state),(dict, mesh, name, objName, state))
void operator=(const wallHeatFluxModel &)=delete
No copy assignment.
wallHeatFluxModel(const wallHeatFluxModel &)=delete
No copy construct.
virtual bool read(const dictionary &dict)=0
Read the settings.
virtual bool write()=0
Write the heat-flux data.
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.
Forwards and collection of common volume field types.