Loading...
Searching...
No Matches
Ptot Class Reference

#include <Ptot.H>

Inheritance diagram for Ptot:
FofM Plocal Plocal

Public Member Functions

 Ptot ()
 
 Ptot (int argc, char *argv[], label Nsampled)
 
 ~Ptot ()
 
void buildMO (std::string dir)
 Method that computes the total power 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 > _powerDens
 List of pointers to power density 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 Ptot.H.

Constructor & Destructor Documentation

◆ Ptot() [1/2]

Ptot::Ptot ( )

Definition at line 3 of file Ptot.C.

◆ Ptot() [2/2]

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

Definition at line 5 of file Ptot.C.

◆ ~Ptot()

Ptot::~Ptot ( )
inline

Definition at line 47 of file Ptot.H.

Member Function Documentation

◆ buildMO()

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

Method that computes the total power 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 Ptot.C.

Member Data Documentation

◆ _powerDens

autoPtr<volScalarField> Ptot::_powerDens

List of pointers to power density field.

Definition at line 52 of file Ptot.H.


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