MaMiCo 1.2
|
reads boundary force tag More...
#include <BoundaryForceConfiguration.h>
Public Types | |
enum | BoundaryForceType { ZHOU = 0 , NO_BOUNDARYFORCE = 1 } |
Public Member Functions | |
BoundaryForceConfiguration () | |
virtual | ~BoundaryForceConfiguration () |
void | parseSubtag (tinyxml2::XMLElement *node) |
std::string | getTag () const |
bool | isValid () const |
const BoundaryForceType & | getBoundaryForceType () const |
const tarch::la::Vector< 2 *dim, bool > & | getBoundary () const |
template<class LinkedCell> | |
coupling::BoundaryForceController< LinkedCell, dim > * | interpreteConfiguration (coupling::interface::MDSolverInterface< LinkedCell, dim > *const mdSolverInterface) const |
![]() | |
virtual | ~Configuration () |
Protected Member Functions | |
BoundaryForceConfiguration (BoundaryForceType insertionType, double density, double temperature, tarch::la::Vector< 2 *dim, bool > boundary) | |
Private Attributes | |
BoundaryForceType | _insertionType |
double | _density |
double | _temperature |
tarch::la::Vector< 2 *dim, bool > | _boundary |
bool | _isValid |
reads boundary force tag
boundary force configuration
dim | Number of dimensions; it can be 1, 2 or 3 |
enum coupling::configurations::BoundaryForceConfiguration::BoundaryForceType |
|
inline |
Constructor, initializes the class
|
inlinevirtual |
Destructor
|
inline |
Returns boundary ??
|
inline |
Returns boundary force type.
|
inlinevirtual |
Returns name of xml tag that is associated to the configuration.
Implements tarch::configuration::Configuration.
|
inline |
Returns boundary force configuration.
LinkedCell | type of the cell |
mdSolverInterface |
|
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 |