Feel++ 0.91.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 | |
mpi::communicator | comm () const |
po::variables_map const & | vm () const |
AboutData const & | about () const |
Methods | |
virtual void | run ()=0 |
virtual void | run (const double *X, unsigned long P, double *Y, unsigned long N)=0 |
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 | ) | [inline] |
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
mpi::communicator Feel::Simget::comm | ( | ) | const [inline] |
virtual void Feel::Simget::run | ( | ) | [pure virtual] |
simply execute the simget
Implemented in Laplacian< Dim >, Laplacian< Dim >, MyFunctionSpace< Dim, Order >, MyIntegrals< Dim >, MyMesh< Dim >, and ResidualEstimator< Dim, Order >.
virtual void Feel::Simget::run | ( | const double * | X, |
unsigned long | P, | ||
double * | Y, | ||
unsigned long | N | ||
) | [pure virtual] |
models the input/output relation
Implemented in Laplacian< Dim >, Laplacian< Dim >, MyFunctionSpace< Dim, Order >, MyIntegrals< Dim >, MyMesh< Dim >, and ResidualEstimator< Dim, Order >.
po::variables_map const& Feel::Simget::vm | ( | ) | const [inline] |
variables_map