46#ifndef Foam_ROMmodel_H
47#define Foam_ROMmodel_H
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
virtual bool createAndWrite()=0
Create and write fields.
virtual ~ROMmodel()=default
Destructor.
void operator=(const ROMmodel &)=delete
No copy assignment.
ROMmodel(const ROMmodel &)=delete
No copy construct.
TypeName("ROMmodel")
Runtime type information.
const instantList & times_
Const reference to field times.
Time & runTime_
Reference to the Time.
declareRunTimeSelectionTable(autoPtr, ROMmodel, dictionary,(Time &runTime, fvMesh &mesh, const dictionary &dict, const instantList ×),(runTime, mesh, dict, times))
ROMmodel(Time &runTime, fvMesh &mesh, const dictionary &dict, const instantList ×)
Construct from components.
const dictionary & dict_
Const reference to the dictionary.
static autoPtr< ROMmodel > New(Time &runTime, fvMesh &mesh, const dictionary &dict, const instantList ×)
Return a reference to the selected ROMmodel.
fvMesh & mesh_
Reference to the fvMesh.
virtual bool read(const dictionary &dict)=0
Read model settings.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
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.
An instant of time. Contains the time value and name. Uses Foam::Time when formatting the name.
List< instant > instantList
List of instants.
Macros to ease declaration of run-time selection tables.
#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.