46 #ifndef Foam_ROMmodel_H 47 #define Foam_ROMmodel_H
virtual ~ROMmodel()=default
Destructor.
TypeName("ROMmodel")
Runtime type information.
void operator=(const ROMmodel &)=delete
No copy assignment.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
static autoPtr< ROMmodel > New(Time &runTime, fvMesh &mesh, const dictionary &dict, const instantList ×)
Return a reference to the selected ROMmodel.
Time & runTime_
Reference to the Time.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
fvMesh & mesh_
Reference to the fvMesh.
Abstract base class for reduced-order models to handle specific model characteristics.
virtual bool read(const dictionary &dict)=0
Read model settings.
declareRunTimeSelectionTable(autoPtr, ROMmodel, dictionary,(Time &runTime, fvMesh &mesh, const dictionary &dict, const instantList ×),(runTime, mesh, dict, times))
Mesh data needed to do the Finite Volume discretisation.
ROMmodel(Time &runTime, fvMesh &mesh, const dictionary &dict, const instantList ×)
Construct from components.
virtual bool createAndWrite()=0
Create and write fields.
const dictionary & dict_
Const reference to the dictionary.
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
Macros to ease declaration of run-time selection tables.
const instantList & times_
Const reference to field times.
List< instant > instantList
List of instants.