provides information about the Application More...
Inheritance diagram for Feel::Application:
Collaboration diagram for Feel::Application:Methods | |
| 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 } |
| Application & | changeRepository (boost::format) |
| change to Simulation Repository | |
| WorldComm & | comm () |
| WorldComm const & | comm () const |
| void | barrier () |
| void | add (Simget *simget) |
| add a new simget to the application | |
| virtual void | run () |
| execute the set of Simget stored in the Application | |
| virtual void | run (const double *X, unsigned long P, double *Y, unsigned long N) |
| execute the set of Simget stored in the Application following the input/output model \( Y=F(X) \). More... | |
| void | setStats (std::vector< std::string > const &keys) |
| set statistics to be printed | |
| void | storeStats (std::string const &n, ptree::ptree const &s) |
store statistics s in statistics map entry with key n | |
| void | printStats (std::ostream &out, size_type stats=ALL) const |
| print statistics from applications | |
| void | printStats (std::ostream &out, std::vector< std::string > const &keys, size_type stats=ALL) const |
| print statistics from applications | |
| std::string | resultFileName () const |
| result file name | |
| 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) |
| static mpi::communicator const & | comm () |
| static void | barrier () |
| void | doOptions (int argc, char **argv) |
| parse and store application options from cmdline More... | |
| void | processGenericOptions () |
| void | parseAndStoreOptions (po::command_line_parser parser, bool extra_parser=false) |
| void | setLogs () |
| set log files More... | |
Typedefs | |
| typedef boost::ptr_list< Simget > | simgets_type |
| Simget collection type. | |
| typedef simgets_type::iterator | simget_iterator |
| Simget iterator over the collection. | |
Constructors, destructor | |
| Application () | |
| Application (AboutData const &ad) | |
| Construct an MPI Application. More... | |
| Application (AboutData const &ad, po::options_description const &od) | |
| Construct an MPI Application. More... | |
| Application (int argc, char **argv, AboutData const &ad) FEELPP_DEPRECATED | |
| Construct an MPI Application. More... | |
| Application (int argc, char **argv, AboutData const &ad, po::options_description const &od) FEELPP_DEPRECATED | |
| Construct an MPI Application. More... | |
| Application (Application const &app) | |
| copy constructor More... | |
| virtual | ~Application () |
| Application (int argc, char **argv, AboutData const &ad) | |
| Construct an MPI Application. More... | |
| Application (int argc, char **argv, AboutData const &ad, po::options_description const &od) | |
| Construct an MPI Application. More... | |
| ~Application () | |
Accessors | |
| po::options_description const & | optionsDescription () const |
| get the options description More... | |
| po::variables_map const & | vm () const |
| get the variable map More... | |
| AboutData const & | about () const |
| get the about data of the application More... | |
| 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 |
| static bool | initialized () |
| Determine if the MPI environment has already been initialized. More... | |
| static bool | finalized () |
| Determine if the MPI environment has already been finalized. More... | |
| static std::string | processorName () |
| Retrieve the name of this processor. More... | |
| static bool | initialized () |
| Determine if the MPI environment has already been initialized. More... | |
| static bool | finalized () |
| Determine if the MPI environment has already been finalized. More... | |
| static std::string | processorName () |
| Retrieve the name of this processor. More... | |
Mutators | |
| void | setName1 (std::string const &name1) |
| name1 represents the first level name | |
| void | setName2 (std::string const &name2) |
| name2 represents the second level name | |
| void | setH (double h, int precision=4) |
| h is the mesh size | |
| void | setDimension (int dim) |
| set the dimension of the problem | |
| Feel::Application::Application | ( | AboutData const & | ad | ) |
Construct an MPI Application.
| ad | AboutData structure for this Application |
| Comm | MPI communicator |
| Feel::Application::Application | ( | AboutData const & | ad, |
| po::options_description const & | od | ||
| ) |
Construct an MPI Application.
| ad | AboutData structure for this Application |
| od | po::options_description structure for this Application |
| Comm | MPI communicator |
Construct an MPI Application.
| argc | number of arguments on the command line |
| argv | arguments in the command line |
| ad | AboutData structure for this Application |
| Comm | MPI communicator |
| Feel::Application::Application | ( | int | argc, |
| char ** | argv, | ||
| AboutData const & | ad, | ||
| po::options_description const & | od | ||
| ) |
Construct an MPI Application.
| argc | number of arguments on the command line |
| argv | arguments in the command line |
| ad | AboutData structure for this Application |
| od | po::options_description structure for this Application |
| Comm | MPI communicator |
| Feel::Application::Application | ( | Application const & | app | ) |
copy constructor
| app | Application to be copy constructed |
Construct an MPI Application.
| argc | number of arguments on the command line |
| argv | arguments in the command line |
| ad | AboutData structure for this Application |
| Comm | MPI communicator |
| Feel::Application::Application | ( | int | argc, |
| char ** | argv, | ||
| AboutData const & | ad, | ||
| po::options_description const & | od | ||
| ) |
Construct an MPI Application.
| argc | number of arguments on the command line |
| argv | arguments in the command line |
| ad | AboutData structure for this Application |
| od | po::options_description structure for this Application |
| Comm | MPI communicator |
| AboutData const & Feel::Application::about | ( | ) | const |
| void Feel::Application::barrier | ( | ) |
|
static |
| simget_iterator Feel::Application::begin | ( | ) |
begin() iterator | WorldComm & Feel::Application::comm | ( | ) |
|
static |
| WorldComm const & Feel::Application::comm | ( | ) | const |
|
protected |
parse and store application options from cmdline
| argc | number of arguments |
| argv | arguments |
| simget_iterator Feel::Application::end | ( | ) |
end() iterator Referenced by printStats().
|
static |
Determine if the MPI environment has already been finalized.
The routine is equivalent to a call to MPI_Finalized.
true if the MPI environment has been finalized.
|
static |
Determine if the MPI environment has already been finalized.
The routine is equivalent to a call to MPI_Finalized.
true if the MPI environment has been finalized.
|
static |
Determine if the MPI environment has already been initialized.
This routine is equivalent to a call to MPI_Initialized.
true if the MPI environment has been initialized.
|
static |
Determine if the MPI environment has already been initialized.
This routine is equivalent to a call to MPI_Initialized.
true if the MPI environment has been initialized. | bool Feel::Application::isMPIInitialized | ( | ) | const |
true if MPI is initialized, false otherwise | bool Feel::Application::isMPIInitialized | ( | ) | const |
true if MPI is initialized, false otherwise | uint16_type Feel::Application::nProcess | ( | ) |
| size_type Feel::Application::nSimgets | ( | ) | const |
| po::options_description const & Feel::Application::optionsDescription | ( | ) | const |
get the options description
| uint16_type Feel::Application::processId | ( | ) |
|
static |
Retrieve the name of this processor.
This routine returns the name of this processor. The actual form of the name is unspecified, but may be documented by the underlying MPI implementation. This routine is implemented as a call to MPI_Get_processor_name.
|
static |
Retrieve the name of this processor.
This routine returns the name of this processor. The actual form of the name is unspecified, but may be documented by the underlying MPI implementation. This routine is implemented as a call to MPI_Get_processor_name.
| std::string Feel::Application::rootRepository | ( | ) | const |
References Feel::Environment::rootRepository().
|
virtual |
execute the set of Simget stored in the Application following the input/output model \( Y=F(X) \).
\( P\) is the number of inputs and \( N\) the number of outputs. Denote \( S \) (nSimgets()) the number of simgets stored in the Application. \( X \) and \( Y\) must be of size \( S P\) and \( S N \) respectively.
|
protected |
set log files
| prefix | prefix for log filenames |
| int Feel::Application::unknownArgc | ( | ) | const |
boost::program_options | char ** Feel::Application::unknownArgv | ( | ) | const |
char** of unrecognized options | bool Feel::Application::verbose | ( | ) | const |
| po::variables_map const & Feel::Application::vm | ( | ) | const |