Loading...
Searching...
No Matches
Tm_time Class Reference

#include <Tm_time.H>

Inheritance diagram for Tm_time:
FofM Tmloct

Public Member Functions

 Tm_time ()
 
 Tm_time (int argc, char *argv[], label Nsampled)
 
 ~Tm_time ()
 
void buildMO (std::string dir, label t)
 Method that computes the average temperature (integral average) for the snapshot number t (starting from 0), 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)
 
virtual void buildMO (std::string dir)
 virtual method that computes the figure of merit it must be overriden in derived classes of FofM dir is the folder where the output is sought to build the desired figure of merit
 

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_time.H.

Constructor & Destructor Documentation

◆ Tm_time() [1/2]

Tm_time::Tm_time ( )

Definition at line 3 of file Tm_time.C.

◆ Tm_time() [2/2]

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

Definition at line 5 of file Tm_time.C.

◆ ~Tm_time()

Tm_time::~Tm_time ( )
inline

Definition at line 47 of file Tm_time.H.

Member Function Documentation

◆ buildMO()

void Tm_time::buildMO ( std::string dir,
label t )

Method that computes the average temperature (integral average) for the snapshot number t (starting from 0), 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.

Definition at line 17 of file Tm_time.C.

Member Data Documentation

◆ _T

autoPtr<volScalarField> Tm_time::_T

List of pointers to temperature field.

Definition at line 50 of file Tm_time.H.


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