|
Feel++
0.92.0
|
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
whitout any outputs or inputs run( double* X, int P, double* Y, int N ) which simulates a blackbox with input/output relationship
with
and
.| Feel::Simget::Simget | ( | po::variables_map const & | _vm | ) |
constructor with a variables_map
| Feel::Simget::Simget | ( | AboutData const & | _about | ) | [inline] |
constructor with an AboutData that describes the simget
| Feel::Simget::Simget | ( | po::variables_map const & | _vm, |
| AboutData const & | _about | ||
| ) | [inline] |
constructor with a variables_map and an AboutData that describes the top application
| AboutData const& Feel::Simget::about | ( | ) | const [inline] |
AboutData object | Simget & Feel::Simget::changeRepository | ( | boost::format | fmt | ) | [protected] |
change repository.
| mpi::communicator Feel::Simget::comm | ( | ) | const [inline] |
| void Feel::Simget::print | ( | std::ostream & | out, |
| std::vector< ptree::ptree > & | stats | ||
| ) |
print statistics from simget
References Feel::AboutData::appName().
| virtual void Feel::Simget::run | ( | ) | [pure virtual] |
simply execute the simget
| virtual void Feel::Simget::run | ( | const double * | X, |
| unsigned long | P, | ||
| double * | Y, | ||
| unsigned long | N | ||
| ) | [pure virtual] |
models the input/output relation
| po::variables_map const& Feel::Simget::vm | ( | ) | const [inline] |
variables_map
1.7.6.1