37 #ifndef SOLIDMECHANICSPROBLEMDEFINITION_HPP_
38 #define SOLIDMECHANICSPROBLEMDEFINITION_HPP_
40 #include "ContinuumMechanicsProblemDefinition.hpp"
41 #include "QuadraticMesh.hpp"
49 template<
unsigned DIM>
167 void SetFixedNodes(std::vector<unsigned>& rFixedNodes, std::vector<c_vector<double,DIM> >& rFixedNodeLocation);
bool IsHomogeneousMaterial()
void SetFixedNodes(std::vector< unsigned > &rFixedNodes, std::vector< c_vector< double, DIM > > &rFixedNodeLocation)
virtual ~SolidMechanicsProblemDefinition()
std::vector< AbstractCompressibleMaterialLaw< DIM > * > mCompressibleMaterialLaws
CompressibilityType mCompressibilityType
std::vector< AbstractIncompressibleMaterialLaw< DIM > * > mIncompressibleMaterialLaws
void SetZeroDirichletNodes(std::vector< unsigned > &rZeroDirichletNodes)
AbstractIncompressibleMaterialLaw< DIM > * GetIncompressibleMaterialLaw(unsigned elementIndex)
void SetMaterialLaw(CompressibilityType compressibilityType, AbstractMaterialLaw< DIM > *pMaterialLaw)
void SetZeroDisplacementNodes(std::vector< unsigned > &rFixedNodes)
CompressibilityType GetCompressibilityType()
void SetSolveUsingSnes(bool solveUsingSnes=true)
AbstractCompressibleMaterialLaw< DIM > * GetCompressibleMaterialLaw(unsigned elementIndex)
void CheckCastSuccess(CompressibilityType compressibilityType, AbstractMaterialLaw< DIM > *pMaterialLaw)
SolidMechanicsProblemDefinition(AbstractTetrahedralMesh< DIM, DIM > &rMesh)
bool mIsHomogeneousMaterial