15 #if !defined(KRATOS_GEOMETRY_TEST_H_INCLUDED )
16 #define KRATOS_GEOMETRY_TEST_H_INCLUDED
98 bool RunTest(
Model& rModel);
113 bool StreamTestTetrahedra3D4N(
115 std::stringstream& rErrorMessage
131 bool StreamTestTetrahedra3D10N(
133 std::stringstream& rErrorMessage
149 bool StreamTestTriangle2D3N(
151 std::stringstream& rErrorMessage
167 bool StreamTestTriangle2D6N(
169 std::stringstream& rErrorMessage
185 bool StreamTestQuadrilateral2D4N(
187 std::stringstream& rErrorMessage
203 bool StreamTestQuadrilateral2D9N(
205 std::stringstream& rErrorMessage
221 bool StreamTestQuadrilateralInterface2D4N(
223 std::stringstream& rErrorMessage
239 bool StreamTestHexahedra3D8N(
241 std::stringstream& rErrorMessage
257 bool StreamTestHexahedra3D20N(
259 std::stringstream& rErrorMessage
275 bool StreamTestHexahedra3D27N(
277 std::stringstream& rErrorMessage
293 bool StreamTestHexahedraInterface3D8N(
295 std::stringstream& rErrorMessage
311 bool StreamTestPrism3D6N(
313 std::stringstream& rErrorMessage
329 bool StreamTestPrism3D15N(
331 std::stringstream& rErrorMessage
347 bool StreamTestPrismInterface3D6N(
349 std::stringstream& rErrorMessage
367 virtual std::string
Info()
const
369 std::stringstream buffer;
370 buffer <<
"GeometryTesterUtility" ;
377 rOStream <<
"GeometryTesterUtility";
411 void GenerateNodes(
ModelPart& rModelPart);
449 bool VerifyAreaByIntegration(
452 const double ReferanceArea,
453 std::stringstream& rErrorMessage
463 void VerifyStrainExactness(
466 std::stringstream& rErrorMessage
479 const std::size_t NumberOfNodes,
480 const std::size_t Dimension
494 const bool ExpectedResult,
495 std::stringstream& rErrorMessage
505 bool VerfiyShapeFunctionsValues(
508 std::stringstream& rErrorMessage
518 bool VerifyShapeFunctionsSecondDerivativesValues(
521 std::stringstream& rErrorMessage
530 bool VerifyShapeFunctionsSecondDerivativesInterpolation(
532 std::stringstream& rErrorMessage
541 std::string GetIntegrationName(
569 GeometryTesterUtility(GeometryTesterUtility
const& rOther) {}
597 rOStream << std::endl;
PeriodicInterfaceProcess & operator=(const PeriodicInterfaceProcess &)=delete
IntegrationMethod
Definition: geometry_data.h:76
Geometry base class.
Definition: geometry.h:71
This utility tests the geometries.
Definition: geometry_tester.h:59
GeometryTesterUtility()
Default constructor.
Definition: geometry_tester.h:80
bool TestHexahedra3D20N(ModelPart &rModelPart)
This function tests the Hexahedra3D20N.
Definition: geometry_tester.h:249
bool TestPrism3D15N(ModelPart &rModelPart)
This function tests the Prism3D15N.
Definition: geometry_tester.h:321
virtual void PrintData(std::ostream &rOStream) const
Print object's data.
Definition: geometry_tester.h:381
Node NodeType
Node type.
Definition: geometry_tester.h:68
bool TestHexahedraInterface3D8N(ModelPart &rModelPart)
This function tests the Hexahedra3D8N (interface)
Definition: geometry_tester.h:285
virtual void PrintInfo(std::ostream &rOStream) const
Print information about this object.
Definition: geometry_tester.h:375
bool TestTetrahedra3D10N(ModelPart &rModelPart)
This function tests the Tetrahedra3D10N.
Definition: geometry_tester.h:123
bool TestQuadrilateral2D4N(ModelPart &rModelPart)
This function tests the Quadrilateral2D4N.
Definition: geometry_tester.h:177
Geometry< NodeType > GeometryType
Geometry type.
Definition: geometry_tester.h:71
bool TestPrismInterface3D6N(ModelPart &rModelPart)
This function tests the Prism3D6N (interface)
Definition: geometry_tester.h:339
virtual ~GeometryTesterUtility()
Destructor.
Definition: geometry_tester.h:83
virtual std::string Info() const
Turn back information as a string.
Definition: geometry_tester.h:367
bool TestHexahedra3D8N(ModelPart &rModelPart)
This function tests the Hexahedra3D8N.
Definition: geometry_tester.h:231
KRATOS_CLASS_POINTER_DEFINITION(GeometryTesterUtility)
Pointer definition of GeometryTesterUtility.
bool TestTriangle2D6N(ModelPart &rModelPart)
This function tests the Triangle2D6N.
Definition: geometry_tester.h:159
bool TestQuadrilateral2D9N(ModelPart &rModelPart)
This function tests the Quadrilateral2D9N.
Definition: geometry_tester.h:195
bool TestQuadrilateralInterface2D4N(ModelPart &rModelPart)
This function tests the Quadrilateral2D4N (interface)
Definition: geometry_tester.h:213
bool TestHexahedra3D27N(ModelPart &rModelPart)
This function tests the Hexahedra3D27N.
Definition: geometry_tester.h:267
bool TestTetrahedra3D4N(ModelPart &rModelPart)
This function tests the Tetrahedra3D4N.
Definition: geometry_tester.h:105
GeometryType::ShapeFunctionsSecondDerivativesType ShapeFunctionsSecondDerivativesType
Definition: geometry_tester.h:73
bool TestTriangle2D3N(ModelPart &rModelPart)
This function tests the Triangle2D3N.
Definition: geometry_tester.h:141
bool TestPrism3D6N(ModelPart &rModelPart)
This function tests the Prism3D6N.
Definition: geometry_tester.h:303
Definition: amatrix_interface.h:41
This class aims to manage different model parts across multi-physics simulations.
Definition: model.h:60
This class aims to manage meshes for multi-physics simulations.
Definition: model_part.h:77
This class defines the node.
Definition: node.h:65
Short class definition.
Definition: array_1d.h:61
void CalculateB(const GeometricalObject &rElement, const TMatrixType1 &rDN_DX, TMatrixType2 &rB)
This method computes the deformation tensor B (for small deformation solid elements)
Definition: structural_mechanics_element_utilities.h:105
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21
std::istream & operator>>(std::istream &rIStream, LinearMasterSlaveConstraint &rThis)
input stream function
std::ostream & operator<<(std::ostream &rOStream, const LinearMasterSlaveConstraint &rThis)
output stream function
Definition: linear_master_slave_constraint.h:432