Performs and provides configuration for Data objects from XML files.
More...
#include <DataConfiguration.hpp>
Performs and provides configuration for Data objects from XML files.
Definition at line 14 of file DataConfiguration.hpp.
◆ DataConfiguration()
| precice::mesh::DataConfiguration::DataConfiguration |
( |
xml::XMLTag & | parent | ) |
|
◆ addData()
| void precice::mesh::DataConfiguration::addData |
( |
const std::string & | name, |
|
|
const Data::typeName | typeName, |
|
|
int | waveformDegree = time::Time::DEFAULT_WAVEFORM_DEGREE, |
|
|
std::vector< std::optional< double > > | lowerBound = std::vector<std::optional<double>>(3), |
|
|
std::vector< std::optional< double > > | upperBound = std::vector<std::optional<double>>(3) ) |
Adds data manually.
- Parameters
-
| [in] | name | Unique name of the data. |
| [in] | dataDimensions | Dimensionality (1: scalar, 2,3: vector) of data. |
| [in] | waveformDegree | Degree of waveform associated with this data. |
| [in] | lowerBound | Lower bound of the data for violation check. |
| [in] | upperBound | Upper bound of the data for violation check. |
Definition at line 167 of file DataConfiguration.cpp.
◆ data()
◆ getRecentlyConfiguredData()
◆ xmlEndTagCallback()
Callback at end of XML tag and at end of subtag.
At this callback, the attributes and all subtags of callingTag are parsed. This callback is first done for the listener, and then for the parent tag listener (if existing).
Implements precice::xml::XMLTag::Listener.
Definition at line 161 of file DataConfiguration.cpp.
◆ xmlTagCallback()
◆ _data
◆ _indexLastConfigured
| int precice::mesh::DataConfiguration::_indexLastConfigured = -1 |
|
private |
◆ _log
| logging::Logger precice::mesh::DataConfiguration::_log {"mesh::DataConfiguration"} |
|
mutableprivate |
◆ ATTR_DEGREE
| const std::string precice::mesh::DataConfiguration::ATTR_DEGREE = "waveform-degree" |
|
private |
◆ ATTR_LOWER_BOUND
| const std::string precice::mesh::DataConfiguration::ATTR_LOWER_BOUND = "lower-bound" |
|
private |
◆ ATTR_LOWER_BOUND_X
| const std::string precice::mesh::DataConfiguration::ATTR_LOWER_BOUND_X = "lower-bound-x" |
|
private |
◆ ATTR_LOWER_BOUND_Y
| const std::string precice::mesh::DataConfiguration::ATTR_LOWER_BOUND_Y = "lower-bound-y" |
|
private |
◆ ATTR_LOWER_BOUND_Z
| const std::string precice::mesh::DataConfiguration::ATTR_LOWER_BOUND_Z = "lower-bound-z" |
|
private |
◆ ATTR_NAME
| const std::string precice::mesh::DataConfiguration::ATTR_NAME = "name" |
|
private |
◆ ATTR_UPPER_BOUND
| const std::string precice::mesh::DataConfiguration::ATTR_UPPER_BOUND = "upper-bound" |
|
private |
◆ ATTR_UPPER_BOUND_X
| const std::string precice::mesh::DataConfiguration::ATTR_UPPER_BOUND_X = "upper-bound-x" |
|
private |
◆ ATTR_UPPER_BOUND_Y
| const std::string precice::mesh::DataConfiguration::ATTR_UPPER_BOUND_Y = "upper-bound-y" |
|
private |
◆ ATTR_UPPER_BOUND_Z
| const std::string precice::mesh::DataConfiguration::ATTR_UPPER_BOUND_Z = "upper-bound-z" |
|
private |
◆ TAG
| const std::string precice::mesh::DataConfiguration::TAG = "data" |
|
private |
◆ VALUE_SCALAR
| const std::string precice::mesh::DataConfiguration::VALUE_SCALAR = "scalar" |
|
private |
◆ VALUE_VECTOR
| const std::string precice::mesh::DataConfiguration::VALUE_VECTOR = "vector" |
|
private |
The documentation for this class was generated from the following files: