preCICE v3.1.1
Loading...
Searching...
No Matches
AccelerationConfiguration.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <map>
4#include <string>
5#include <vector>
10#include "logging/Logger.hpp"
13#include "xml/XMLTag.hpp"
14
15namespace precice {
16namespace acceleration {
17
19public:
21
24
26 virtual void xmlTagCallback(const xml::ConfigurationContext &context, xml::XMLTag &callingTag);
27
29 virtual void xmlEndTagCallback(const xml::ConfigurationContext &context, xml::XMLTag &callingTag);
30
32 void clear();
33
35 void connectTags(xml::XMLTag &tag);
36
41
42private:
43 logging::Logger _log{"acceleration::AccelerationConfiguration"};
44
55
68
85
87
89
90 // acceleration method
92
94
96
98
120
130
140
148
151};
152} // namespace acceleration
153} // namespace precice
virtual void xmlEndTagCallback(const xml::ConfigurationContext &context, xml::XMLTag &callingTag)
Callback method required when using xml::XMLTag.
std::set< std::pair< std::string, std::string > > _uniqueDataAndMeshNames
struct precice::acceleration::AccelerationConfiguration::UserDefinitions _userDefinitions
struct precice::acceleration::AccelerationConfiguration::ConfigurationData _config
const struct precice::acceleration::AccelerationConfiguration::DefaultValuesIMVJ _defaultValuesIQNIMVJ
PtrAcceleration getAcceleration()
Returns the configured coupling scheme.
AccelerationConfiguration(const mesh::PtrMeshConfiguration &meshConfig)
const struct precice::acceleration::AccelerationConfiguration::DefaultValuesIQN _defaultValuesIQNILS
virtual void xmlTagCallback(const xml::ConfigurationContext &context, xml::XMLTag &callingTag)
Callback method required when using xml::XMLTag.
This class provides a lightweight logger.
Definition Logger.hpp:16
Represents an XML tag to be configured automatically.
Definition XMLTag.hpp:31
Main namespace of the precice library.
Tightly coupled to the parameters of Participant()
Definition XMLTag.hpp:24
Callback interface for configuration classes using XMLTag.
Definition XMLTag.hpp:43