#include <crbapp.hpp>
Certified Reduced Basis application.
Public Types | |
typedef boost::shared_ptr < crb_type > | crb_ptrtype |
typedef CRB< crbmodel_type > | crb_type |
typedef boost::shared_ptr < crbmodel_type > | crbmodel_ptrtype |
typedef CRBModel< ModelType > | crbmodel_type |
![]() | |
typedef boost::ptr_list< Simget > | simgets_type |
Simget collection type. | |
typedef simgets_type::iterator | simget_iterator |
Simget iterator over the collection. | |
enum | Stats { FLAT = 1<<1, HEADER = 1<<2, ERRORS = 1<<3, TIME = 1<<4, DATA = 1<<5, NUMBERS = 1<<6, ALL = ERRORS | TIME | DATA | NUMBERS } |
Public Member Functions | |
CRBApp (AboutData const &ad, po::options_description const &od) | |
CRBApp (int argc, char **argv, AboutData const &ad, po::options_description const &od) | |
void | init () |
void | run () |
void | run (const double *X, unsigned long N, double *Y, unsigned long P) |
void | setOutput (int i=0, CRBErrorType error_type=(int) CRB_RESIDUAL, int maxiter=10) |
![]() | |
Application () | |
Application (AboutData const &ad) | |
Application (AboutData const &ad, po::options_description const &od) | |
Application (int argc, char **argv, AboutData const &ad) | |
Application (int argc, char **argv, AboutData const &ad, po::options_description const &od) | |
Application (Application const &app) | |
virtual | ~Application () |
Application (int argc, char **argv, AboutData const &ad) | |
Application (int argc, char **argv, AboutData const &ad, po::options_description const &od) | |
~Application () | |
Application (int argc, char **argv, AboutData const &ad) | |
Application (int argc, char **argv, AboutData const &ad, po::options_description const &od) | |
Application (Application const &) | |
~Application () | |
void | setName1 (std::string const &name1) |
void | setName2 (std::string const &name2) |
void | setH (double h, int precision=4) |
void | setDimension (int dim) |
po::options_description const & | optionsDescription () const |
po::variables_map const & | vm () const |
AboutData const & | about () const |
int | unknownArgc () const |
char ** | unknownArgv () const |
uint16_type | nProcess () |
uint16_type | processId () |
bool | isMPIInitialized () const |
std::string | rootRepository () const |
simget_iterator | begin () |
simget_iterator | end () |
size_type | nSimgets () const |
bool | verbose () const |
bool | isMPIInitialized () const |
Application & | changeRepository (boost::format) |
WorldComm & | comm () |
WorldComm const & | comm () const |
void | barrier () |
void | add (Simget *simget) |
void | setStats (std::vector< std::string > const &keys) |
void | printStats (std::ostream &out, size_type stats=ALL) const |
void | printStats (std::ostream &out, std::vector< std::string > const &keys, size_type stats=ALL) const |
std::string | resultFileName () const |
Public Attributes | |
crb_ptrtype | crb |
crbmodel_ptrtype | opus |
Additional Inherited Members | |
![]() | |
static void | barrier () |
static mpi::communicator const & | comm () |
static bool | initialized () |
static bool | finalized () |
static std::string | processorName () |
static bool | initialized () |
static bool | finalized () |
static std::string | processorName () |
template<class T > | |
static void | Send (const T &obj, int proc, int tag) |
template<class T > | |
static void | Broadcast (T &obj) |
template<class T > | |
static void | Recv (T &obj, int proc, int tag) |
template<class T > | |
static void | Broadcast (T &, int=0) |
static void | barrier () |
![]() | |
void | doOptions (int argc, char **argv) |
void | parseAndStoreOptions (po::command_line_parser parser, bool extra_parser=false) |
void | processGenericOptions () |
void | setLogs () |
|
inlinevirtual |
execute the set of Simget stored in the Application
Reimplemented from Feel::Application.
References Feel::Application::optionsDescription(), and Feel::Application::vm().
|
inlinevirtual |
execute the set of Simget stored in the Application following the input/output model .
is the number of inputs and
the number of outputs. Denote
(
nSimgets()
) the number of simgets stored in the Application. and
must be of size
and
respectively.
Reimplemented from Feel::Application.