NuTo
Numerics Tool
Functions
MoistureTransport_SimulationTest.h File Reference
#include <boost/foreach.hpp>
#include "MoistureTransport_Setup.h"

Go to the source code of this file.

Functions

template<int TDim>
std::string SimulationTest_GetTestName (std::array< bool, TDim > &rBS)
 Determines the name of the test. More...
 
template<int TDim>
void CompareResultsToPaper (NuTo::Structure &rS, std::vector< int > rN, std::vector< double > rL)
 
template<int TDim>
void SimulationTest (std::vector< int > rN, std::vector< double > rL, std::array< bool, TDim > rBS, std::map< NuTo::Node::eDof, NuTo::Interpolation::eTypeOrder > rDofIPTMap, bool rTestInterpolationTypeCombi=false)
 performs a simulation in the desired dimension More...
 

Function Documentation

template<int TDim>
void CompareResultsToPaper ( NuTo::Structure &  rS,
std::vector< int >  rN,
std::vector< double >  rL 
)
template<int TDim>
void SimulationTest ( std::vector< int >  rN,
std::vector< double >  rL,
std::array< bool, TDim >  rBS,
std::map< NuTo::Node::eDof, NuTo::Interpolation::eTypeOrder >  rDofIPTMap,
bool  rTestInterpolationTypeCombi = false 
)

performs a simulation in the desired dimension

Parameters
rNarray with number of elements in each direction
rLarray with length of elements in each direction
rBSarray of bools for each direction to determine if the corresponding surfaces are boundary surfaces
rTestInterpolationTypeCombiif true the simulation does just a single timestep to check if the program works with the current interpolation type combination. Results aren't compared
template<int TDim>
std::string SimulationTest_GetTestName ( std::array< bool, TDim > &  rBS)

Determines the name of the test.