provides information about the Application
More...
#include <applicationserial.hpp>
|
|
| 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) |
|
|
static mpi::communicator const & | comm () |
|
static void | barrier () |
|
|
void | doOptions (int argc, char **argv) |
|
void | processGenericOptions () |
|
void | parseAndStoreOptions (po::command_line_parser parser, bool extra_parser=false) |
|
void | setLogs () |
|
|
Application & | changeRepository (boost::format) |
|
mpi::communicator & | comm () |
|
mpi::communicator const & | comm () const |
|
void | barrier () |
|
void | add (Simget *simget) |
|
virtual void | run () |
|
virtual void | run (const double *X, unsigned long P, double *Y, unsigned long N) |
|
void | printStats (std::ostream &out, std::vector< std::string > const &keys) const |
|
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 () |
|
provides information about the Application
SERIAL Application.
MPI Application.
- Author
- Christophe Prud'homme
-
Christophe Prud'homme
- See Also
Feel::Application::Application |
( |
AboutData const & |
ad | ) |
|
Feel::Application::Application |
( |
AboutData const & |
ad, |
|
|
po::options_description const & |
od |
|
) |
| |
Feel::Application::Application |
( |
int |
argc, |
|
|
char ** |
argv, |
|
|
AboutData const & |
ad |
|
) |
| |
Construct an MPI Application
- Parameters
-
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
- Parameters
-
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
- Parameters
-
Feel::Application::Application |
( |
int |
argc, |
|
|
char ** |
argv, |
|
|
AboutData const & |
ad |
|
) |
| |
Construct an MPI Application
- Parameters
-
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
- Parameters
-
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 |
( |
int |
argc, |
|
|
char ** |
argv, |
|
|
AboutData const & |
ad |
|
) |
| |
Construct an SERIAL Application
- Parameters
-
argc | number of arguments on the command line |
argv | arguments in the command line |
ad | AboutData structure for this Application |
Feel::Application::Application |
( |
int |
argc, |
|
|
char ** |
argv, |
|
|
AboutData const & |
ad, |
|
|
po::options_description const & |
od |
|
) |
| |
Construct an SERIAL Application
- Parameters
-
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 |
AboutData const& Feel::Application::about |
( |
| ) |
const |
|
inline |
void Feel::Application::add |
( |
Simget * |
simget | ) |
|
add a new simget to the application
static void Feel::Application::barrier |
( |
| ) |
|
|
inlinestatic |
static void Feel::Application::barrier |
( |
| ) |
|
|
inlinestatic |
void Feel::Application::barrier |
( |
| ) |
|
|
inline |
Application & Feel::Application::changeRepository |
( |
boost::format |
fmt | ) |
|
static mpi::communicator const& Feel::Application::comm |
( |
| ) |
|
|
inlinestatic |
mpi::communicator& Feel::Application::comm |
( |
| ) |
|
|
inline |
mpi::communicator const& Feel::Application::comm |
( |
| ) |
const |
|
inline |
void Feel::Application::doOptions |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
|
protected |
static bool Feel::Application::finalized |
( |
| ) |
|
|
inlinestatic |
Determine if the MPI environment has already been finalized.
The routine is equivalent to a call to MPI_Finalized
.
- Returns
true
if the MPI environment has been finalized.
static bool Feel::Application::finalized |
( |
| ) |
|
|
inlinestatic |
Determine if the MPI environment has already been finalized.
The routine is equivalent to a call to MPI_Finalized
.
- Returns
true
if the MPI environment has been finalized.
static bool Feel::Application::initialized |
( |
| ) |
|
|
inlinestatic |
Determine if the MPI environment has already been initialized.
This routine is equivalent to a call to MPI_Initialized
.
- Returns
true
if the MPI environment has been initialized.
static bool Feel::Application::initialized |
( |
| ) |
|
|
inlinestatic |
Determine if the MPI environment has already been initialized.
This routine is equivalent to a call to MPI_Initialized
.
- Returns
true
if the MPI environment has been initialized.
bool Feel::Application::isMPIInitialized |
( |
| ) |
const |
|
inline |
- Returns
true
if MPI is initialized, false
otherwise
bool Feel::Application::isMPIInitialized |
( |
| ) |
const |
|
inline |
- Returns
true
if MPI is initialized, false
otherwise
uint16_type Feel::Application::nProcess |
( |
| ) |
|
|
inline |
- Returns
- the number of processes
Referenced by setLogs().
size_type Feel::Application::nSimgets |
( |
| ) |
const |
|
inline |
- Returns
- the number of simgets
po::options_description const& Feel::Application::optionsDescription |
( |
| ) |
const |
|
inline |
get the options description
- Returns
- the options description
void Feel::Application::printStats |
( |
std::ostream & |
out, |
|
|
std::vector< std::string > const & |
keys |
|
) |
| const |
print statistics from applications
References end().
uint16_type Feel::Application::processId |
( |
| ) |
|
|
inline |
- Returns
- the id of the current process
Referenced by setLogs().
static std::string Feel::Application::processorName |
( |
| ) |
|
|
inlinestatic |
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
.
- Returns
- the name of this processor.
static std::string Feel::Application::processorName |
( |
| ) |
|
|
inlinestatic |
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
.
- Returns
- the name of this processor.
std::string Feel::Application::rootRepository |
( |
| ) |
const |
void Feel::Application::run |
( |
| ) |
|
|
virtual |
void Feel::Application::run |
( |
const double * |
X, |
|
|
unsigned long |
P, |
|
|
double * |
Y, |
|
|
unsigned long |
N |
|
) |
| |
|
virtual |
void Feel::Application::setDimension |
( |
int |
dim | ) |
|
set the dimension of the problem
void Feel::Application::setH |
( |
double |
h, |
|
|
int |
precision = 4 |
|
) |
| |
void Feel::Application::setLogs |
( |
| ) |
|
|
protected |
void Feel::Application::setName1 |
( |
std::string const & |
name1 | ) |
|
name1 represents the first level name
void Feel::Application::setName2 |
( |
std::string const & |
name2 | ) |
|
name2 represents the second level name
int Feel::Application::unknownArgc |
( |
| ) |
const |
|
inline |
- Returns
- the number of options unrecognized by
boost::program_options
char ** Feel::Application::unknownArgv |
( |
| ) |
const |
- Returns
- the
char**
of unrecognized options
References about().
bool Feel::Application::verbose |
( |
| ) |
const |
|
inline |
- Returns
- true if the verbose command line/config option is used, false otherwise
po::variables_map const& Feel::Application::vm |
( |
| ) |
const |
|
inline |
get the variable map
- Returns
- the variable map