#include <Ptot_time.H>
Public Member Functions | |
Ptot_time () | |
Ptot_time (int argc, char *argv[], label Nsampled) | |
~Ptot_time () | |
void | buildMO (std::string dir, label t) |
Method that computes the total power 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 > | _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) | |
Definition at line 41 of file Ptot_time.H.
Ptot_time::Ptot_time | ( | ) |
Definition at line 3 of file Ptot_time.C.
Ptot_time::Ptot_time | ( | int | argc, |
char * | argv[], | ||
label | Nsampled ) |
Definition at line 5 of file Ptot_time.C.
|
inline |
Definition at line 47 of file Ptot_time.H.
void Ptot_time::buildMO | ( | std::string | dir, |
label | t ) |
Method that computes the total power 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 Ptot_time.C.
autoPtr<volScalarField> Ptot_time::_powerDens |
List of pointers to power density field.
Definition at line 51 of file Ptot_time.H.