Loading...
Searching...
No Matches
Tm Class Reference

#include <Tm.H>

Inheritance diagram for Tm:
FofM Tmlocal Tmlocal

Public Member Functions

 Tm ()
 
 Tm (int argc, char *argv[], label Nsampled)
 
 ~Tm ()
 
void buildMO (std::string dir)
 Method that computes the average temperature (integral average) at the last time instant of the simulation, output are sought in dir/0, dir/1, dir/2, etc... i.e solution correspondent to 0th,1st,2nd etc... parameters set passed to FOM/ROM.
 
- Public Member Functions inherited from FofM
 FofM ()
 
 FofM (int argc, char *argv[], label Nsampled)
 

Public Attributes

autoPtr< volScalarField > _T
 List of pointers to temperature field.
 
- Public Attributes inherited from FofM
Eigen::VectorXd modelOutput
 Vector to store the desired output of the model, i.e. the figure of merit.
 
autoPtr< fvMesh > _mesh
 dummy variables to transform FofM into a class
 
autoPtr< Time > _runTime
 
PtrList< volScalarField > ptrfield
 list of pointers to scalar and vector field
 
PtrList< volVectorField > Vptrfield
 
label Npoints
 Number of points for which simulation is run.
 
std::string name
 Name of the figure of merit.
 
bool MObuilt = false
 boolean variable to check if the model output is computed (true) or not (false)
 

Detailed Description

Definition at line 41 of file Tm.H.

Constructor & Destructor Documentation

◆ Tm() [1/2]

Tm::Tm ( )

Definition at line 3 of file Tm.C.

◆ Tm() [2/2]

Tm::Tm ( int argc,
char * argv[],
label Nsampled )

Definition at line 5 of file Tm.C.

◆ ~Tm()

Tm::~Tm ( )
inline

Definition at line 47 of file Tm.H.

Member Function Documentation

◆ buildMO()

void Tm::buildMO ( std::string dir)
virtual

Method that computes the average temperature (integral average) at the last time instant of the simulation, output are sought in dir/0, dir/1, dir/2, etc... i.e solution correspondent to 0th,1st,2nd etc... parameters set passed to FOM/ROM.

Reimplemented from FofM.

Definition at line 17 of file Tm.C.

Member Data Documentation

◆ _T

autoPtr<volScalarField> Tm::_T

List of pointers to temperature field.

Definition at line 51 of file Tm.H.


The documentation for this class was generated from the following files: