Opus application.
This class implements the Opus application, getting the command line arguments and running the actual code.
Public Types | |
typedef boost::shared_ptr < opusmodel_type > | opusmodel_ptrtype |
typedef CRBModel< Heat1D > | opusmodel_type |
![]() | |
enum | RunStatus { RUN_CONTINUE, RUN_EXIT } |
![]() | |
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 | |
OpusAppEigs (int argc, char **argv, AboutData const &ad, po::options_description const &od) | |
void | run () |
![]() | |
ApplicationXML (int argc, char **argv, AboutData const &ad, po::options_description const &od) | |
default constructor | |
ApplicationXML (ApplicationXML const &) | |
copy constructor | |
~ApplicationXML () | |
destructor | |
ApplicationXML & | operator= (ApplicationXML const &o) |
copy operator | |
ApplicationXML & | addOutput (Output const &o) |
ApplicationXML & | addParameter (Parameter const &o) |
template<typename T > | |
ApplicationXML & | addOutputValue (T const &val) |
template<typename T > | |
ApplicationXML & | addParameterValue (T const &val) |
virtual RunStatus | preProcessing () |
virtual void | postProcessing () |
![]() | |
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) |
virtual void | run (const double *X, unsigned long P, double *Y, unsigned long N) |
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 |
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 () |
![]() | |
std::vector< std::string > | M_output_values |
output values | |
std::vector< Output > | M_outputs |
outputs | |
std::vector< std::string > | M_parameter_values |
parameter values | |
std::vector< Parameter > | M_params |
parameters | |
|
inlinevirtual |
execute the set of Simget stored in the Application
Reimplemented from Feel::Application.
References Feel::Application::end(), and Feel::Application::vm().