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.
|
This utility tests the geometries. More...
#include <geometry_tester.h>
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< NodeType > | GeometryType |
Geometry type. More... | |
typedef GeometryType::ShapeFunctionsSecondDerivativesType | ShapeFunctionsSecondDerivativesType |
KRATOS_CLASS_POINTER_DEFINITION (GeometryTesterUtility) | |
Pointer definition of GeometryTesterUtility. More... | |
This utility tests the geometries.
Geometry type.
Node type.
typedef GeometryType::ShapeFunctionsSecondDerivativesType Kratos::GeometryTesterUtility::ShapeFunctionsSecondDerivativesType |
|
inline |
Default constructor.
|
inlinevirtual |
Destructor.
|
protected |
This function generates the nodes of the model part.
rModelPart | Model part containing nodes |
|
inlinevirtual |
Turn back information as a string.
Kratos::GeometryTesterUtility::KRATOS_CLASS_POINTER_DEFINITION | ( | GeometryTesterUtility | ) |
Pointer definition of GeometryTesterUtility.
|
inlinevirtual |
Print object's data.
|
inlinevirtual |
Print information about this object.
This function tests the geometries.
rModel | A model containing a model part |
bool Kratos::GeometryTesterUtility::StreamTestHexahedra3D20N | ( | ModelPart & | rModelPart, |
std::stringstream & | rErrorMessage | ||
) |
This function tests the Hexahedra3D20N.
rModelPart | Model part containing nodes |
rErrorMessage | The error message |
bool Kratos::GeometryTesterUtility::StreamTestHexahedra3D27N | ( | ModelPart & | rModelPart, |
std::stringstream & | rErrorMessage | ||
) |
This function tests the Hexahedra3D27N.
rModelPart | Model part containing nodes |
rErrorMessage | The error message |
bool Kratos::GeometryTesterUtility::StreamTestHexahedra3D8N | ( | ModelPart & | rModelPart, |
std::stringstream & | rErrorMessage | ||
) |
This function tests the Hexahedra3D8N.
rModelPart | Model part containing nodes |
rErrorMessage | The error message |
bool Kratos::GeometryTesterUtility::StreamTestHexahedraInterface3D8N | ( | ModelPart & | rModelPart, |
std::stringstream & | rErrorMessage | ||
) |
This function tests the Hexahedra3D8N (interface)
rModelPart | Model part containing nodes |
rErrorMessage | The error message |
bool Kratos::GeometryTesterUtility::StreamTestPrism3D15N | ( | ModelPart & | rModelPart, |
std::stringstream & | rErrorMessage | ||
) |
This function tests the Prism3D15N.
rModelPart | Model part containing nodes |
rErrorMessage | The error message |
bool Kratos::GeometryTesterUtility::StreamTestPrism3D6N | ( | ModelPart & | rModelPart, |
std::stringstream & | rErrorMessage | ||
) |
This function tests the Prism3D6N.
rModelPart | Model part containing nodes |
rErrorMessage | The error message |
bool Kratos::GeometryTesterUtility::StreamTestPrismInterface3D6N | ( | ModelPart & | rModelPart, |
std::stringstream & | rErrorMessage | ||
) |
This function tests the Prism3D6N (interface)
rModelPart | Model part containing nodes |
rErrorMessage | The error message |
bool Kratos::GeometryTesterUtility::StreamTestQuadrilateral2D4N | ( | ModelPart & | rModelPart, |
std::stringstream & | rErrorMessage | ||
) |
This function tests the Quadrilateral2D4N.
rModelPart | Model part containing nodes |
rErrorMessage | The error message |
bool Kratos::GeometryTesterUtility::StreamTestQuadrilateral2D9N | ( | ModelPart & | rModelPart, |
std::stringstream & | rErrorMessage | ||
) |
This function tests the Quadrilateral2D9N.
rModelPart | Model part containing nodes |
rErrorMessage | The error message |
bool Kratos::GeometryTesterUtility::StreamTestQuadrilateralInterface2D4N | ( | ModelPart & | rModelPart, |
std::stringstream & | rErrorMessage | ||
) |
This function tests the Quadrilateral2D4N (interface)
rModelPart | Model part containing nodes |
rErrorMessage | The error message |
bool Kratos::GeometryTesterUtility::StreamTestTetrahedra3D10N | ( | ModelPart & | rModelPart, |
std::stringstream & | rErrorMessage | ||
) |
This function tests the Tetrahedra3D10N.
rModelPart | Model part containing nodes |
rErrorMessage | The error message |
bool Kratos::GeometryTesterUtility::StreamTestTetrahedra3D4N | ( | ModelPart & | rModelPart, |
std::stringstream & | rErrorMessage | ||
) |
This function tests the Tetrahedra3D4N.
rModelPart | Model part containing nodes |
rErrorMessage | The error message |
bool Kratos::GeometryTesterUtility::StreamTestTriangle2D3N | ( | ModelPart & | rModelPart, |
std::stringstream & | rErrorMessage | ||
) |
This function tests the Triangle2D3N.
rModelPart | Model part containing nodes |
rErrorMessage | The error message |
bool Kratos::GeometryTesterUtility::StreamTestTriangle2D6N | ( | ModelPart & | rModelPart, |
std::stringstream & | rErrorMessage | ||
) |
This function tests the Triangle2D6N.
rModelPart | Model part containing nodes |
rErrorMessage | The error message |
This function tests the Hexahedra3D20N.
rModelPart | Model part containing nodes |
This function tests the Hexahedra3D27N.
rModelPart | Model part containing nodes |
This function tests the Hexahedra3D8N.
rModelPart | Model part containing nodes |
This function tests the Hexahedra3D8N (interface)
rModelPart | Model part containing nodes |
This function tests the Prism3D15N.
rModelPart | Model part containing nodes |
This function tests the Prism3D6N.
rModelPart | Model part containing nodes |
This function tests the Prism3D6N (interface)
rModelPart | Model part containing nodes |
This function tests the Quadrilateral2D4N.
rModelPart | Model part containing nodes |
This function tests the Quadrilateral2D9N.
rModelPart | Model part containing nodes |
This function tests the Quadrilateral2D4N (interface)
rModelPart | Model part containing nodes |
This function tests the Tetrahedra3D10N.
rModelPart | Model part containing nodes |
This function tests the Tetrahedra3D4N.
rModelPart | Model part containing nodes |
This function tests the Triangle2D3N.
rModelPart | Model part containing nodes |
This function tests the Triangle2D6N.
rModelPart | Model part containing nodes |