KratosMultiphysics
KRATOS Multiphysics (Kratos) is a framework for building parallel, multi-disciplinary simulation software, aiming at modularity, extensibility, and high performance. Kratos is written in C++, and counts with an extensive Python interface.
List of all members
Kratos::GeometryTesterUtility Class Reference

This utility tests the geometries. More...

#include <geometry_tester.h>

Collaboration diagram for Kratos::GeometryTesterUtility:

Public Member Functions

Life Cycle
 GeometryTesterUtility ()
 Default constructor. More...
 
virtual ~GeometryTesterUtility ()
 Destructor. More...
 
Operations
bool RunTest (Model &rModel)
 This function tests the geometries. More...
 
bool TestTetrahedra3D4N (ModelPart &rModelPart)
 This function tests the Tetrahedra3D4N. More...
 
bool StreamTestTetrahedra3D4N (ModelPart &rModelPart, std::stringstream &rErrorMessage)
 This function tests the Tetrahedra3D4N. More...
 
bool TestTetrahedra3D10N (ModelPart &rModelPart)
 This function tests the Tetrahedra3D10N. More...
 
bool StreamTestTetrahedra3D10N (ModelPart &rModelPart, std::stringstream &rErrorMessage)
 This function tests the Tetrahedra3D10N. More...
 
bool TestTriangle2D3N (ModelPart &rModelPart)
 This function tests the Triangle2D3N. More...
 
bool StreamTestTriangle2D3N (ModelPart &rModelPart, std::stringstream &rErrorMessage)
 This function tests the Triangle2D3N. More...
 
bool TestTriangle2D6N (ModelPart &rModelPart)
 This function tests the Triangle2D6N. More...
 
bool StreamTestTriangle2D6N (ModelPart &rModelPart, std::stringstream &rErrorMessage)
 This function tests the Triangle2D6N. More...
 
bool TestQuadrilateral2D4N (ModelPart &rModelPart)
 This function tests the Quadrilateral2D4N. More...
 
bool StreamTestQuadrilateral2D4N (ModelPart &rModelPart, std::stringstream &rErrorMessage)
 This function tests the Quadrilateral2D4N. More...
 
bool TestQuadrilateral2D9N (ModelPart &rModelPart)
 This function tests the Quadrilateral2D9N. More...
 
bool StreamTestQuadrilateral2D9N (ModelPart &rModelPart, std::stringstream &rErrorMessage)
 This function tests the Quadrilateral2D9N. More...
 
bool TestQuadrilateralInterface2D4N (ModelPart &rModelPart)
 This function tests the Quadrilateral2D4N (interface) More...
 
bool StreamTestQuadrilateralInterface2D4N (ModelPart &rModelPart, std::stringstream &rErrorMessage)
 This function tests the Quadrilateral2D4N (interface) More...
 
bool TestHexahedra3D8N (ModelPart &rModelPart)
 This function tests the Hexahedra3D8N. More...
 
bool StreamTestHexahedra3D8N (ModelPart &rModelPart, std::stringstream &rErrorMessage)
 This function tests the Hexahedra3D8N. More...
 
bool TestHexahedra3D20N (ModelPart &rModelPart)
 This function tests the Hexahedra3D20N. More...
 
bool StreamTestHexahedra3D20N (ModelPart &rModelPart, std::stringstream &rErrorMessage)
 This function tests the Hexahedra3D20N. More...
 
bool TestHexahedra3D27N (ModelPart &rModelPart)
 This function tests the Hexahedra3D27N. More...
 
bool StreamTestHexahedra3D27N (ModelPart &rModelPart, std::stringstream &rErrorMessage)
 This function tests the Hexahedra3D27N. More...
 
bool TestHexahedraInterface3D8N (ModelPart &rModelPart)
 This function tests the Hexahedra3D8N (interface) More...
 
bool StreamTestHexahedraInterface3D8N (ModelPart &rModelPart, std::stringstream &rErrorMessage)
 This function tests the Hexahedra3D8N (interface) More...
 
bool TestPrism3D6N (ModelPart &rModelPart)
 This function tests the Prism3D6N. More...
 
bool StreamTestPrism3D6N (ModelPart &rModelPart, std::stringstream &rErrorMessage)
 This function tests the Prism3D6N. More...
 
bool TestPrism3D15N (ModelPart &rModelPart)
 This function tests the Prism3D15N. More...
 
bool StreamTestPrism3D15N (ModelPart &rModelPart, std::stringstream &rErrorMessage)
 This function tests the Prism3D15N. More...
 
bool TestPrismInterface3D6N (ModelPart &rModelPart)
 This function tests the Prism3D6N (interface) More...
 
bool StreamTestPrismInterface3D6N (ModelPart &rModelPart, std::stringstream &rErrorMessage)
 This function tests the Prism3D6N (interface) More...
 
Input and output
virtual std::string Info () const
 Turn back information as a string. More...
 
virtual void PrintInfo (std::ostream &rOStream) const
 Print information about this object. More...
 
virtual void PrintData (std::ostream &rOStream) const
 Print object's data. More...
 

Protected Member Functions

Protected Operations
void GenerateNodes (ModelPart &rModelPart)
 This function generates the nodes of the model part. More...
 

Type Definitions

typedef Node NodeType
 Node type. More...
 
typedef Geometry< NodeTypeGeometryType
 Geometry type. More...
 
typedef GeometryType::ShapeFunctionsSecondDerivativesType ShapeFunctionsSecondDerivativesType
 
 KRATOS_CLASS_POINTER_DEFINITION (GeometryTesterUtility)
 Pointer definition of GeometryTesterUtility. More...
 

Detailed Description

This utility tests the geometries.

Author
Riccardo Rossi
Vicente Mataix Ferrandiz

Member Typedef Documentation

◆ GeometryType

Geometry type.

◆ NodeType

Node type.

◆ ShapeFunctionsSecondDerivativesType

Constructor & Destructor Documentation

◆ GeometryTesterUtility()

Kratos::GeometryTesterUtility::GeometryTesterUtility ( )
inline

Default constructor.

◆ ~GeometryTesterUtility()

virtual Kratos::GeometryTesterUtility::~GeometryTesterUtility ( )
inlinevirtual

Destructor.

Member Function Documentation

◆ GenerateNodes()

void Kratos::GeometryTesterUtility::GenerateNodes ( ModelPart rModelPart)
protected

This function generates the nodes of the model part.

Parameters
rModelPartModel part containing nodes

◆ Info()

virtual std::string Kratos::GeometryTesterUtility::Info ( ) const
inlinevirtual

Turn back information as a string.

◆ KRATOS_CLASS_POINTER_DEFINITION()

Kratos::GeometryTesterUtility::KRATOS_CLASS_POINTER_DEFINITION ( GeometryTesterUtility  )

Pointer definition of GeometryTesterUtility.

◆ PrintData()

virtual void Kratos::GeometryTesterUtility::PrintData ( std::ostream &  rOStream) const
inlinevirtual

Print object's data.

◆ PrintInfo()

virtual void Kratos::GeometryTesterUtility::PrintInfo ( std::ostream &  rOStream) const
inlinevirtual

Print information about this object.

◆ RunTest()

bool Kratos::GeometryTesterUtility::RunTest ( Model rModel)

This function tests the geometries.

Parameters
rModelA model containing a model part
Returns
true If teh test fails, true otherwise¡

◆ StreamTestHexahedra3D20N()

bool Kratos::GeometryTesterUtility::StreamTestHexahedra3D20N ( ModelPart rModelPart,
std::stringstream &  rErrorMessage 
)

This function tests the Hexahedra3D20N.

Parameters
rModelPartModel part containing nodes
rErrorMessageThe error message
Returns
true If teh test fails, true otherwise¡

◆ StreamTestHexahedra3D27N()

bool Kratos::GeometryTesterUtility::StreamTestHexahedra3D27N ( ModelPart rModelPart,
std::stringstream &  rErrorMessage 
)

This function tests the Hexahedra3D27N.

Parameters
rModelPartModel part containing nodes
rErrorMessageThe error message
Returns
true If teh test fails, true otherwise¡

◆ StreamTestHexahedra3D8N()

bool Kratos::GeometryTesterUtility::StreamTestHexahedra3D8N ( ModelPart rModelPart,
std::stringstream &  rErrorMessage 
)

This function tests the Hexahedra3D8N.

Parameters
rModelPartModel part containing nodes
rErrorMessageThe error message
Returns
true If teh test fails, true otherwise¡

◆ StreamTestHexahedraInterface3D8N()

bool Kratos::GeometryTesterUtility::StreamTestHexahedraInterface3D8N ( ModelPart rModelPart,
std::stringstream &  rErrorMessage 
)

This function tests the Hexahedra3D8N (interface)

Parameters
rModelPartModel part containing nodes
rErrorMessageThe error message
Returns
true If teh test fails, true otherwise¡

◆ StreamTestPrism3D15N()

bool Kratos::GeometryTesterUtility::StreamTestPrism3D15N ( ModelPart rModelPart,
std::stringstream &  rErrorMessage 
)

This function tests the Prism3D15N.

Parameters
rModelPartModel part containing nodes
rErrorMessageThe error message
Returns
true If teh test fails, true otherwise¡

◆ StreamTestPrism3D6N()

bool Kratos::GeometryTesterUtility::StreamTestPrism3D6N ( ModelPart rModelPart,
std::stringstream &  rErrorMessage 
)

This function tests the Prism3D6N.

Parameters
rModelPartModel part containing nodes
rErrorMessageThe error message
Returns
true If teh test fails, true otherwise¡

◆ StreamTestPrismInterface3D6N()

bool Kratos::GeometryTesterUtility::StreamTestPrismInterface3D6N ( ModelPart rModelPart,
std::stringstream &  rErrorMessage 
)

This function tests the Prism3D6N (interface)

Parameters
rModelPartModel part containing nodes
rErrorMessageThe error message
Returns
true If teh test fails, true otherwise¡

◆ StreamTestQuadrilateral2D4N()

bool Kratos::GeometryTesterUtility::StreamTestQuadrilateral2D4N ( ModelPart rModelPart,
std::stringstream &  rErrorMessage 
)

This function tests the Quadrilateral2D4N.

Parameters
rModelPartModel part containing nodes
rErrorMessageThe error message
Returns
true If teh test fails, true otherwise¡

◆ StreamTestQuadrilateral2D9N()

bool Kratos::GeometryTesterUtility::StreamTestQuadrilateral2D9N ( ModelPart rModelPart,
std::stringstream &  rErrorMessage 
)

This function tests the Quadrilateral2D9N.

Parameters
rModelPartModel part containing nodes
rErrorMessageThe error message
Returns
true If teh test fails, true otherwise¡

◆ StreamTestQuadrilateralInterface2D4N()

bool Kratos::GeometryTesterUtility::StreamTestQuadrilateralInterface2D4N ( ModelPart rModelPart,
std::stringstream &  rErrorMessage 
)

This function tests the Quadrilateral2D4N (interface)

Parameters
rModelPartModel part containing nodes
rErrorMessageThe error message
Returns
true If teh test fails, true otherwise¡

◆ StreamTestTetrahedra3D10N()

bool Kratos::GeometryTesterUtility::StreamTestTetrahedra3D10N ( ModelPart rModelPart,
std::stringstream &  rErrorMessage 
)

This function tests the Tetrahedra3D10N.

Parameters
rModelPartModel part containing nodes
rErrorMessageThe error message
Returns
true If teh test fails, true otherwise¡

◆ StreamTestTetrahedra3D4N()

bool Kratos::GeometryTesterUtility::StreamTestTetrahedra3D4N ( ModelPart rModelPart,
std::stringstream &  rErrorMessage 
)

This function tests the Tetrahedra3D4N.

Parameters
rModelPartModel part containing nodes
rErrorMessageThe error message
Returns
true If teh test fails, true otherwise¡

◆ StreamTestTriangle2D3N()

bool Kratos::GeometryTesterUtility::StreamTestTriangle2D3N ( ModelPart rModelPart,
std::stringstream &  rErrorMessage 
)

This function tests the Triangle2D3N.

Parameters
rModelPartModel part containing nodes
rErrorMessageThe error message
Returns
true If teh test fails, true otherwise¡

◆ StreamTestTriangle2D6N()

bool Kratos::GeometryTesterUtility::StreamTestTriangle2D6N ( ModelPart rModelPart,
std::stringstream &  rErrorMessage 
)

This function tests the Triangle2D6N.

Parameters
rModelPartModel part containing nodes
rErrorMessageThe error message
Returns
true If teh test fails, true otherwise¡

◆ TestHexahedra3D20N()

bool Kratos::GeometryTesterUtility::TestHexahedra3D20N ( ModelPart rModelPart)
inline

This function tests the Hexahedra3D20N.

Parameters
rModelPartModel part containing nodes
Returns
true If teh test fails, true otherwise¡

◆ TestHexahedra3D27N()

bool Kratos::GeometryTesterUtility::TestHexahedra3D27N ( ModelPart rModelPart)
inline

This function tests the Hexahedra3D27N.

Parameters
rModelPartModel part containing nodes
Returns
true If teh test fails, true otherwise¡

◆ TestHexahedra3D8N()

bool Kratos::GeometryTesterUtility::TestHexahedra3D8N ( ModelPart rModelPart)
inline

This function tests the Hexahedra3D8N.

Parameters
rModelPartModel part containing nodes
Returns
true If teh test fails, true otherwise¡

◆ TestHexahedraInterface3D8N()

bool Kratos::GeometryTesterUtility::TestHexahedraInterface3D8N ( ModelPart rModelPart)
inline

This function tests the Hexahedra3D8N (interface)

Parameters
rModelPartModel part containing nodes
Returns
true If teh test fails, true otherwise¡

◆ TestPrism3D15N()

bool Kratos::GeometryTesterUtility::TestPrism3D15N ( ModelPart rModelPart)
inline

This function tests the Prism3D15N.

Parameters
rModelPartModel part containing nodes
Returns
true If teh test fails, true otherwise¡

◆ TestPrism3D6N()

bool Kratos::GeometryTesterUtility::TestPrism3D6N ( ModelPart rModelPart)
inline

This function tests the Prism3D6N.

Parameters
rModelPartModel part containing nodes
Returns
true If teh test fails, true otherwise¡

◆ TestPrismInterface3D6N()

bool Kratos::GeometryTesterUtility::TestPrismInterface3D6N ( ModelPart rModelPart)
inline

This function tests the Prism3D6N (interface)

Parameters
rModelPartModel part containing nodes
Returns
true If teh test fails, true otherwise¡

◆ TestQuadrilateral2D4N()

bool Kratos::GeometryTesterUtility::TestQuadrilateral2D4N ( ModelPart rModelPart)
inline

This function tests the Quadrilateral2D4N.

Parameters
rModelPartModel part containing nodes
Returns
true If teh test fails, true otherwise¡

◆ TestQuadrilateral2D9N()

bool Kratos::GeometryTesterUtility::TestQuadrilateral2D9N ( ModelPart rModelPart)
inline

This function tests the Quadrilateral2D9N.

Parameters
rModelPartModel part containing nodes
Returns
true If teh test fails, true otherwise¡

◆ TestQuadrilateralInterface2D4N()

bool Kratos::GeometryTesterUtility::TestQuadrilateralInterface2D4N ( ModelPart rModelPart)
inline

This function tests the Quadrilateral2D4N (interface)

Parameters
rModelPartModel part containing nodes
Returns
true If teh test fails, true otherwise¡

◆ TestTetrahedra3D10N()

bool Kratos::GeometryTesterUtility::TestTetrahedra3D10N ( ModelPart rModelPart)
inline

This function tests the Tetrahedra3D10N.

Parameters
rModelPartModel part containing nodes
Returns
true If teh test fails, true otherwise¡

◆ TestTetrahedra3D4N()

bool Kratos::GeometryTesterUtility::TestTetrahedra3D4N ( ModelPart rModelPart)
inline

This function tests the Tetrahedra3D4N.

Parameters
rModelPartModel part containing nodes
Returns
true If teh test fails, true otherwise¡

◆ TestTriangle2D3N()

bool Kratos::GeometryTesterUtility::TestTriangle2D3N ( ModelPart rModelPart)
inline

This function tests the Triangle2D3N.

Parameters
rModelPartModel part containing nodes
Returns
true If teh test fails, true otherwise¡

◆ TestTriangle2D6N()

bool Kratos::GeometryTesterUtility::TestTriangle2D6N ( ModelPart rModelPart)
inline

This function tests the Triangle2D6N.

Parameters
rModelPartModel part containing nodes
Returns
true If teh test fails, true otherwise¡

The documentation for this class was generated from the following files: