NuTo
Numerics Tool
Classes | Macros | Typedefs | Functions
MultipleConstitutiveLaws.cpp File Reference
#include "nuto/mechanics/MechanicsEnums.h"
#include "nuto/mechanics/structures/unstructured/Structure.h"
#include "nuto/mechanics/timeIntegration/NewmarkDirect.h"
#include "nuto/mechanics/groups/Group.h"
#include "nuto/mechanics/mesh/MeshGenerator.h"
#include <array>
#include <boost/foreach.hpp>
#include "nuto/mechanics/constitutive/laws/MoistureTransport.h"
#include "nuto/mechanics/constitutive/staticData/DataMoistureTransport.h"
#include "nuto/mechanics/constitutive/laws/AdditiveOutput.h"
#include "nuto/mechanics/constitutive/laws/AdditiveInputExplicit.h"
#include "nuto/mechanics/elements/ElementBase.h"
#include "nuto/mechanics/nodes/NodeBase.h"
#include "nuto/mechanics/sections/SectionPlane.h"
#include "nuto/mechanics/sections/SectionTruss.h"
#include "nuto/mechanics/constraints/ConstraintCompanion.h"
#include "nuto/visualize/VisualizeEnum.h"
#include "nuto/mechanics/timeIntegration/postProcessing/PostProcessor.h"

Classes

struct  TimeControl
 
struct  MechanicsControl
 
struct  MoistureTransportControl
 

Macros

#define RES_TOLERANCE_MECHANICS   1e-4
 
#define RES_TOLERANCE_MOISTURE_TRANSPORT   1e-18
 
#define MAX_ITERATION   40
 
#define TESTNUM_PROC   1
 

Typedefs

typedef boost::ptr_map< int, NuTo::NodeBase > NodeMap
 

Functions

template<int TDim>
void SetupConstrainedNodeBoundaryElements (NuTo::Structure &rS, std::function< bool(NuTo::NodeBase *)> rFunctionGetBoundaryNode, std::function< double(double)> rBoundaryConstraintFunction)
 
template<int TDim>
void SetupIntegrationType (NuTo::Structure &rS, int rIPT)
 
void SetupMultiProcessor (NuTo::Structure &rS)
 
template<int TDim>
std::shared_ptr< NuTo::Section > SetupSection (NuTo::Structure &rS, double rAreaThickness=1.0)
 
void SetupStructure (NuTo::Structure &rS, std::string rTestName)
 
void SetupTimeIntegration (NuTo::NewmarkDirect &rTI, const TimeControl &rTC, const std::string &rResultDir, bool rStaggered)
 
void SetupVisualize (NuTo::Structure &rS)
 
void CheckMechanicsResultsAdditiveOutput (NuTo::Structure &rS)
 
template<int TDim>
void CheckMoistureTransportResults (NuTo::Structure &rS, std::vector< int > rN, std::vector< double > rL)
 
template<int TDim>
void AdditiveOutputTest (std::vector< int > rN, std::vector< double > rL, std::map< NuTo::Node::eDof, NuTo::Interpolation::eTypeOrder > rDofIPTMap, bool rStaggered=false)
 performs a simulation in the desired dimension More...
 
template<int TDim>
void AdditiveInputImplicitTest (std::vector< int > rN, std::vector< double > rL, std::map< NuTo::Node::eDof, NuTo::Interpolation::eTypeOrder > rDofIPTMap, bool rStaggered=false)
 
int main ()
 

Macro Definition Documentation

#define MAX_ITERATION   40
#define RES_TOLERANCE_MECHANICS   1e-4
#define RES_TOLERANCE_MOISTURE_TRANSPORT   1e-18
#define TESTNUM_PROC   1

Typedef Documentation

typedef boost::ptr_map<int, NuTo::NodeBase> NodeMap

Function Documentation

template<int TDim>
void AdditiveInputImplicitTest ( std::vector< int >  rN,
std::vector< double >  rL,
std::map< NuTo::Node::eDof, NuTo::Interpolation::eTypeOrder >  rDofIPTMap,
bool  rStaggered = false 
)
template<int TDim>
void AdditiveOutputTest ( std::vector< int >  rN,
std::vector< double >  rL,
std::map< NuTo::Node::eDof, NuTo::Interpolation::eTypeOrder >  rDofIPTMap,
bool  rStaggered = 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
void CheckMechanicsResultsAdditiveOutput ( NuTo::Structure &  rS)
template<int TDim>
void CheckMoistureTransportResults ( NuTo::Structure &  rS,
std::vector< int >  rN,
std::vector< double >  rL 
)
int main ( )
template<int TDim>
void SetupConstrainedNodeBoundaryElements ( NuTo::Structure &  rS,
std::function< bool(NuTo::NodeBase *)>  rFunctionGetBoundaryNode,
std::function< double(double)>  rBoundaryConstraintFunction 
)
template<int TDim>
void SetupIntegrationType ( NuTo::Structure &  rS,
int  rIPT 
)
void SetupMultiProcessor ( NuTo::Structure &  rS)
inline
template<int TDim>
std::shared_ptr<NuTo::Section> SetupSection ( NuTo::Structure &  rS,
double  rAreaThickness = 1.0 
)
void SetupStructure ( NuTo::Structure &  rS,
std::string  rTestName 
)
void SetupTimeIntegration ( NuTo::NewmarkDirect &  rTI,
const TimeControl rTC,
const std::string &  rResultDir,
bool  rStaggered 
)
inline
void SetupVisualize ( NuTo::Structure &  rS)
inline