|
MaMiCo 1.2
|
transfer strategy configuration, i.e. algorithm/combin. of quantity transfer steps and quantity interpretation (e.g. momentum vs. velocity). More...
#include <TransferStrategyConfiguration.h>


Public Types | |
| enum | StrategyType { DirectTransferStrategy = 0 , DifferenceTransferStrategy = 1 , TransferStrategy4FluxCoupling = 2 , TransferStrategy4SchwarzCoupling = 3 , AveragingTransferStrategy = 4 , TransferStrategy4NieCoupling = 5 } |
Public Member Functions | |
| TransferStrategyConfiguration () | |
| virtual | ~TransferStrategyConfiguration () |
| void | parseSubtag (tinyxml2::XMLElement *node) |
| std::string | getTag () const |
| bool | isValid () const |
| template<class LinkedCell> | |
| coupling::transferstrategies::TransferStrategy< LinkedCell, dim > * | interpreteConfiguration (coupling::interface::MDSolverInterface< LinkedCell, dim > *const mdSolverInterface, unsigned int numberOfMDTimesteps) const |
| StrategyType | getStrategyType () const |
Public Member Functions inherited from tarch::configuration::Configuration | |
| virtual | ~Configuration () |
Protected Member Functions | |
| TransferStrategyConfiguration (StrategyType type, tarch::la::Vector< 2 *dim, bool > massFluxBoundary, double shiftTimestep) | |
Private Attributes | |
| StrategyType | _type |
| tarch::la::Vector< 2 *dim, bool > | _massFluxBoundary |
| double | _shiftTimestep |
| bool | _isValid |
transfer strategy configuration, i.e. algorithm/combin. of quantity transfer steps and quantity interpretation (e.g. momentum vs. velocity).
transfer strategy configuration, i.e. algorithm/combin. of quantity transfer steps and quantity interpretation (e.g. momentum vs. velocity). Derive from the class tarch::configuration::Configuration
| dim | Number of dimensions; it can be 1, 2 or 3 |
| enum coupling::configurations::TransferStrategyConfiguration::StrategyType |
transfer strategy types that are implemented.
|
inline |
Constructor, initializes the class
|
inlinevirtual |
Destructor
|
inline |
Returns the transfer strategy type.
|
inlinevirtual |
Returns name of xml tag that is associated to the configuration.
Implements tarch::configuration::Configuration.
|
inline |
Returns transfer strategy configuration.
| LinkedCell | type of the cell |
| mdSolverInterface | |
| numberOfMDTimesteps |
|
inlinevirtual |
checks if the configuration is valid. This operation usually fails, if e.g. 1. parseSubtag() hasn't been called, i.e. configuration has not been used, or 2. parseSubtag() failed due to a wrong file. 3. If a tag ain't optional and parseSubtag() was not called (first case)
Implements tarch::configuration::Configuration.
|
inlinevirtual |