#include <simget.hpp>
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
.
Inheritance diagram for Feel::Simget:Public Member Functions | |
Constructors, destructor | |
| Simget () | |
| 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 | |
| double | meshSizeInit () const |
| return the mesh size | |
| int | level () const |
| return the refinement level | |
| ptree::ptree const & | stats () const |
| return the statistics associated to the simget after calling run | |
| ptree::ptree & | stats () |
| return the statistics associated to the simget after calling run | |
Mutators | |
| void | setMeshSize (double h) |
| set the mesh size | |
| void | setMeshSizeInit (double h) |
| set the initial mesh size | |
| void | setLevel (int level) |
| set the refinment level if applicable | |
Methods | |
| virtual void | run ()=0 |
| virtual void | run (const double *X, unsigned long P, double *Y, unsigned long N) |
| void | print (std::ostream &out, std::vector< ptree::ptree > &stats) |
Protected Member Functions | |
| Simget & | changeRepository (boost::format fmt) |
Protected Attributes | |
| int | M_level |
| double | M_meshSize |
| double | M_meshSizeInit |
| ptree::ptree | M_stats |
Friends | |
| class | Application |
| Feel::Simget::Simget | ( | ) |
constructor with a variables_map
|
protected |
change repository.
|
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
Implemented in Diode, Laplacian< Dim >, ResidualEstimator< Dim, Order >, ThreeFieldsLaplacian< Dim, Order1, Order2, Order3 >, LShape< Dim >, MortarLaplacian< Dim, Order1, Order2 >, Feel::Sound< Dim, Order >, Feel::Stokes, Feel::DAR< Dim >, Laplacian_parabolic< Dim, Order >, Laplacian< Dim >, and Feel::PeriodicStokes< Dim, Order >.
|
inlinevirtual |
models the input/output relation
Reimplemented in Diode, Laplacian< Dim >, ResidualEstimator< Dim, Order >, and LShape< Dim >.
References run().
|
inline |
variables_map
1.8.5