Loading...
Searching...
No Matches
FofM.C
Go to the documentation of this file.
1#include "FofM.H"
2
4
5FofM::FofM(int argc, char* argv[], label Nsampled)
6{
7 Npoints = Nsampled;
8 modelOutput.resize(Npoints);
9 modelOutput.setZero();
10 name = {"Base class"};
11}
12
13void FofM::buildMO(std::string dir)
14{
15 Info << "The method FofM::createfOFm() in F.C is a virtual method"
16 << endl;
17 Info << "It must be overridden, exiting the code" << endl;
18 exit(0);
19}
20
21
22
label Npoints
Number of points for which simulation is run.
Definition FofM.H:57
virtual void buildMO(std::string dir)
virtual method that computes the figure of merit it must be overriden in derived classes of FofM dir ...
Definition FofM.C:13
FofM()
Definition FofM.C:3
std::string name
Name of the figure of merit.
Definition FofM.H:59
Eigen::VectorXd modelOutput
Vector to store the desired output of the model, i.e. the figure of merit.
Definition FofM.H:49