preCICE v3.1.2
|
Main class for preCICE XML configuration tree. More...
#include <Configuration.hpp>
Public Member Functions | |
Configuration () | |
virtual | ~Configuration () |
Destructor, empty. | |
xml::XMLTag & | getXMLTag () |
Returns root xml tag to start the automatic configuration process. | |
virtual void | xmlTagCallback (const xml::ConfigurationContext &context, xml::XMLTag &tag) |
Callback function required for use of automatic configuration. | |
virtual void | xmlEndTagCallback (const xml::ConfigurationContext &context, xml::XMLTag &tag) |
Callback function required for use of automatic configuration. | |
bool | allowsExperimental () const |
Returns whether experimental features are allowed or not. | |
bool | waitInFinalize () const |
Returns whether participants wait for each other in finalize. | |
const mesh::PtrDataConfiguration | getDataConfiguration () const |
const mesh::PtrMeshConfiguration | getMeshConfiguration () const |
const m2n::M2NConfiguration::SharedPointer | getM2NConfiguration () const |
const PtrParticipantConfiguration & | getParticipantConfiguration () const |
const cplscheme::PtrCouplingSchemeConfiguration | getCouplingSchemeConfiguration () const |
void | setDataConfiguration (mesh::PtrDataConfiguration config) |
For manual configuration in test cases. | |
void | setMeshConfiguration (mesh::PtrMeshConfiguration config) |
For manual configuration in test cases. | |
void | setParticipantConfiguration (PtrParticipantConfiguration config) |
For manual configuration in test cases. | |
Public Member Functions inherited from precice::xml::XMLTag::Listener | |
Listener & | operator= (Listener &&)=delete |
virtual | ~Listener () |
Private Attributes | |
logging::Logger | _log {"config::Configuration"} |
bool | _experimental = false |
Allow the use of experimental features. | |
bool | _waitInFinalize = false |
Synchronize participants in finalize. | |
xml::XMLTag | _tag |
LogConfiguration | _logConfig |
precice::profiling::ProfilingConfiguration | _profilingConfig |
mesh::PtrDataConfiguration | _dataConfiguration |
mesh::PtrMeshConfiguration | _meshConfiguration |
m2n::M2NConfiguration::SharedPointer | _m2nConfiguration |
PtrParticipantConfiguration | _participantConfiguration |
cplscheme::PtrCouplingSchemeConfiguration | _couplingSchemeConfiguration |
Main class for preCICE XML configuration tree.
The configuration process is triggered by fetching the root tag with method getXMLTag() and calling its parse() method.
Definition at line 25 of file Configuration.hpp.
precice::config::Configuration::Configuration | ( | ) |
|
inlinevirtual |
Destructor, empty.
Definition at line 32 of file Configuration.hpp.
|
inline |
Returns whether experimental features are allowed or not.
Definition at line 54 of file Configuration.hpp.
|
inline |
Definition at line 82 of file Configuration.hpp.
|
inline |
Definition at line 65 of file Configuration.hpp.
|
inline |
Definition at line 75 of file Configuration.hpp.
|
inline |
Definition at line 70 of file Configuration.hpp.
const PtrParticipantConfiguration & precice::config::Configuration::getParticipantConfiguration | ( | ) | const |
Definition at line 113 of file Configuration.cpp.
xml::XMLTag & precice::config::Configuration::getXMLTag | ( | ) |
Returns root xml tag to start the automatic configuration process.
Definition at line 57 of file Configuration.cpp.
|
inline |
For manual configuration in test cases.
Definition at line 90 of file Configuration.hpp.
|
inline |
For manual configuration in test cases.
Definition at line 98 of file Configuration.hpp.
|
inline |
For manual configuration in test cases.
Definition at line 106 of file Configuration.hpp.
|
inline |
Returns whether participants wait for each other in finalize.
Definition at line 60 of file Configuration.hpp.
|
virtual |
Callback function required for use of automatic configuration.
Implements precice::xml::XMLTag::Listener.
Definition at line 74 of file Configuration.cpp.
|
virtual |
Callback function required for use of automatic configuration.
Implements precice::xml::XMLTag::Listener.
Definition at line 62 of file Configuration.cpp.
|
private |
Definition at line 137 of file Configuration.hpp.
|
private |
Definition at line 129 of file Configuration.hpp.
|
private |
Allow the use of experimental features.
Definition at line 115 of file Configuration.hpp.
|
private |
Definition at line 112 of file Configuration.hpp.
|
private |
Definition at line 124 of file Configuration.hpp.
|
private |
Definition at line 133 of file Configuration.hpp.
|
private |
Definition at line 131 of file Configuration.hpp.
|
private |
Definition at line 135 of file Configuration.hpp.
|
private |
Definition at line 127 of file Configuration.hpp.
|
private |
Definition at line 121 of file Configuration.hpp.
|
private |
Synchronize participants in finalize.
Definition at line 118 of file Configuration.hpp.