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.
Namespaces | Functions
cpp_tests_utilities.cpp File Reference
#include "containers/model.h"
#include "geometries/triangle_2d_3.h"
#include "geometries/tetrahedra_3d_4.h"
#include "utilities/parallel_utilities.h"
#include "utilities/cpp_tests_utilities.h"
Include dependency graph for cpp_tests_utilities.cpp:

Namespaces

 Kratos
 REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
 
 Kratos::CppTestsUtilities
 

Functions

void Kratos::CppTestsUtilities::Create2DGeometry (ModelPart &rModelPart, const std::string &rEntityName="Element2D3N", const bool Initialize=true, const bool Elements=true)
 This method creates a simple geometry in 2D (triangles) More...
 
void Kratos::CppTestsUtilities::CreateTestModelPartTriangle2D3N (ModelPart &rModelPart)
 This method creates a pure (Element) simple geometry in 2D (triangles) More...
 
void Kratos::CppTestsUtilities::Create2DQuadrilateralsGeometry (ModelPart &rModelPart, const std::string &rEntityName="Element2D4N", const bool Initialize=true, const bool Elements=true)
 This method creates a simple geometry in 2D (quadrilaterals) More...
 
void Kratos::CppTestsUtilities::Create3DGeometry (ModelPart &rModelPart, const std::string &rElementName="Element3D4N", const bool Initialize=true)
 This method creates a simple geometry in 3D (tetrahedra) More...
 
void Kratos::CppTestsUtilities::CreateTestModelPartTetrahedra3D4N (ModelPart &rModelPart)
 This method creates a pure (Element) simple geometry in 3D (tetrahedra) More...
 
void Kratos::CppTestsUtilities::Create3DHexahedraGeometry (ModelPart &rModelPart, const std::string &rElementName="Element3D8N", const bool Initialize=true)
 This method creates a simple geometry in 3D (hexahedra) More...
 
void Kratos::CppTestsUtilities::Create3DQuadraticGeometry (ModelPart &rModelPart, const std::string &rElementName="Element3D10N", const bool Initialize=true)
 This method creates a simple geometry in 3D (tetrahedra quadratic) More...
 
void Kratos::CppTestsUtilities::CreateSphereTriangularMesh (ModelPart &rModelPart, const std::string &rConditionName="SurfaceCondition3D3N", const double Radius=0.25, const std::array< double, 3 > &rCenter={0.0, 0.0, 0.0})
 This method creates a simple geometry sphere of triangles. More...
 
ModelPart & Kratos::CppTestsUtilities::CreateCubeSkinModelPart (Model &rCurrentModel, const double HalfX=0.6, const double HalfY=0.9, const double HalfZ=0.3, const DataCommunicator &rDataCommunicator=Testing::GetDefaultDataCommunicator())
 Create a cube skin model part. More...
 
ModelPart & Kratos::CppTestsUtilities::CreateCubeModelPart (Model &rCurrentModel, const DataCommunicator &rDataCommunicator=Testing::GetDefaultDataCommunicator())
 Create a cube model part. More...