MaMiCo 1.2
|
configuration for output of coupling cell data to vtk files. More...
#include <CouplingCellConfiguration.h>
Public Member Functions | |
CouplingCellConfiguration () | |
~CouplingCellConfiguration () | |
void | parseSubtag (tinyxml2::XMLElement *node) |
std::string | getTag () const |
bool | isValid () const |
tarch::la::Vector< dim, double > | getCouplingCellSize () const |
tarch::la::Vector< dim, unsigned int > | getNumberLinkedCellsPerCouplingCell () const |
unsigned int | getWriteEveryMicroscopicTimestep () const |
std::string | getMicroscopicFilename () const |
unsigned int | getWriteEveryMacroscopicTimestep () const |
std::string | getMacroscopicFilename () const |
![]() | |
virtual | ~Configuration () |
Protected Member Functions | |
CouplingCellConfiguration (tarch::la::Vector< dim, double > couplingCellSize, tarch::la::Vector< dim, unsigned int > linkedCellsPerCouplingCell, unsigned int writeEveryMicroscopicTimestep, std::string microscopicFilename, unsigned int writeEveryMacroscopicTimestep, std::string macroscopicFilename) | |
Private Attributes | |
bool | _isValid |
tarch::la::Vector< dim, double > | _couplingCellSize |
tarch::la::Vector< dim, unsigned int > | _linkedCellsPerCouplingCell |
unsigned int | _writeEveryMicroscopicTimestep |
std::string | _microscopicFilename |
unsigned int | _writeEveryMacroscopicTimestep |
std::string | _macroscopicFilename |
configuration for output of coupling cell data to vtk files.
configuration for output of coupling cell data to vtk files. Derive from the class tarch::configuration::Configuration
dim | Number of dimensions; it can be 1, 2 or 3 |
|
inline |
Constructor, initializes the class
|
inline |
Destructor
|
inline |
Returns the coupling cell size
|
inline |
Returns the macroscopic file name
|
inline |
Returns the microscopic file name
|
inline |
Returns the number of linked cell encapsulated within a coupling cell
|
virtual |
Returns name of xml tag that is associated to the configuration.
Implements tarch::configuration::Configuration.
|
inline |
Returns step interval, at which the macro infos is to be written out
|
inline |
Returns step interval, at which the micro infos is to be written out
|
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.
Implements tarch::configuration::Configuration.
|
virtual |