Feel++
0.91.4
|
Simulation Object. More...
#include <simget.hpp>
Public Member Functions | |
Constructors, destructor | |
Simget (po::variables_map const &_vm) | |
Simget (AboutData const &_about) | |
Simget (po::variables_map const &_vm, AboutData const &_about) | |
virtual | ~Simget () |
destructor | |
Operator overloads | |
Simget & | operator= (Simget const &o) |
copy operator | |
Accessors | |
virtual std::string | name () const |
return the name of the simget | |
mpi::communicator | comm () const |
po::variables_map const & | vm () const |
AboutData const & | about () const |
double | meshSize () const |
return the mesh size | |
ptree::ptree const & | stats () const |
return the statistics associated to the simget after calling run | |
Mutators | |
void | setMeshSize (double h) |
set the mesh size | |
Methods | |
virtual void | run ()=0 |
virtual void | run (const double *X, unsigned long P, double *Y, unsigned long N)=0 |
void | print (std::ostream &out, std::vector< ptree::ptree > &stats) |
Protected Member Functions | |
Simget & | changeRepository (boost::format fmt) |
Protected Attributes | |
double | M_meshSize |
ptree::ptree | M_stats |
Friends | |
class | Application |
Simulation Object.
A Simget is an object that provides two flavors of run()
member function
run()
without any argument which simulates a blackbox run( double* X, int P, double* Y, int N )
which simulates a blackbox with input/output relationship Feel::Simget::Simget | ( | po::variables_map const & | _vm | ) |
constructor with a variables_map
|
inline |
constructor with an AboutData
that describes the simget
|
inline |
constructor with a variables_map
and an AboutData
that describes the top application
|
protected |
change repository.
References Feel::Environment::changeRepository().
|
inline |
void Feel::Simget::print | ( | std::ostream & | out, |
std::vector< ptree::ptree > & | stats | ||
) |
print statistics from simget
References Feel::AboutData::appName().
|
pure virtual |
simply execute the simget
|
pure virtual |
models the input/output relation
|
inline |
variables_map