Feel++ 0.111.0-preview.14
Finite Element Embedded Library in C++
Feel::ApplicationXML Class Reference

XML application. More...

+ Inheritance diagram for Feel::ApplicationXML:
+ Collaboration diagram for Feel::ApplicationXML:

Constants

enum  RunStatus { RUN_CONTINUE , RUN_EXIT }
 

Methods

std::vector< Parameter > M_params
 parameters
 
std::vector< Output > M_outputs
 outputs
 
std::vector< std::string > M_parameter_values
 parameter values
 
std::vector< std::string > M_output_values
 output values
 
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 ()
 

Constructors, destructor

 ApplicationXML (int argc, char **argv, AboutData const &ad, po::options_description const &od)
 default constructor
 
 ApplicationXML (ApplicationXML const &)
 copy constructor
 
 ~ApplicationXML ()
 destructor
 

Operator overloads

ApplicationXML & operator= (ApplicationXML const &o)
 copy operator
 

Additional Inherited Members

- Public Types inherited from Feel::Application
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
}
 
typedef boost::ptr_list< Simget > simgets_type
 Simget collection type.
 
typedef simgets_type::iterator simget_iterator
 Simget iterator over the collection.
 
- Public Member Functions inherited from Feel::Application
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
 
 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 ()
 
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
 
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
 
- Static Public Member Functions inherited from Feel::Application
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 ()
 
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...
 
- Protected Member Functions inherited from Feel::Application
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...
 

Detailed Description

XML application.

Author
Christophe Prud'homme
See also