65 ModelPart& rModelPart,
66 const std::string& rEntityName =
"Element2D3N",
67 const bool Initialize =
true,
68 const bool Elements =
true
85 ModelPart& rModelPart,
86 const std::string& rEntityName =
"Element2D4N",
87 const bool Initialize =
true,
88 const bool Elements =
true
98 ModelPart& rModelPart,
99 const std::string& rElementName =
"Element3D4N",
100 const bool Initialize =
true
116 ModelPart& rModelPart,
117 const std::string& rElementName =
"Element3D8N",
118 const bool Initialize =
true
128 ModelPart& rModelPart,
129 const std::string& rElementName =
"Element3D10N",
130 const bool Initialize =
true
141 ModelPart& rModelPart,
142 const std::string& rConditionName =
"SurfaceCondition3D3N",
143 const double Radius = 0.25,
144 const std::array<double, 3>& rCenter = {0.0, 0.0, 0.0}
157 Model& rCurrentModel,
158 const double HalfX = 0.6,
159 const double HalfY = 0.9,
160 const double HalfZ = 0.3,
171 Model& rCurrentModel,
#define KRATOS_API(...)
Definition: kratos_export_api.h:40
Kratos::ModelPart ModelPart
Definition: kratos_wrapper.h:31
This namespace includes utilities for simplifying the deploy of C++ tests.
Definition: cpp_tests_utilities.h:44
void CreateSphereTriangularMesh(ModelPart &rModelPart, const std::string &rConditionName, const double Radius, const std::array< double, 3 > &rCenter)
This method creates a simple geometry sphere of triangles.
Definition: cpp_tests_utilities.cpp:403
void Create2DQuadrilateralsGeometry(ModelPart &rModelPart, const std::string &rEntityName, const bool Initialize, const bool Elements)
This method creates a simple geometry in 2D (quadrilaterals)
Definition: cpp_tests_utilities.cpp:118
void Create2DGeometry(ModelPart &rModelPart, const std::string &rEntityName, const bool Initialize, const bool Elements)
This method creates a simple geometry in 2D (triangles)
Definition: cpp_tests_utilities.cpp:28
void Create3DGeometry(ModelPart &rModelPart, const std::string &rElementName, const bool Initialize)
This method creates a simple geometry in 3D (tetrahedra)
Definition: cpp_tests_utilities.cpp:161
void CreateTestModelPartTriangle2D3N(ModelPart &rModelPart)
This method creates a pure (Element) simple geometry in 2D (triangles)
Definition: cpp_tests_utilities.cpp:75
ModelPart & CreateCubeModelPart(Model &rCurrentModel, const DataCommunicator &rDataCommunicator)
Create a cube model part.
Definition: cpp_tests_utilities.cpp:736
void CreateTestModelPartTetrahedra3D4N(ModelPart &rModelPart)
This method creates a pure (Element) simple geometry in 3D (tetrahedra)
Definition: cpp_tests_utilities.cpp:208
ModelPart & CreateCubeSkinModelPart(Model &rCurrentModel, const double HalfX, const double HalfY, const double HalfZ, const DataCommunicator &rDataCommunicator)
Create a cube skin model part.
Definition: cpp_tests_utilities.cpp:625
void Create3DQuadraticGeometry(ModelPart &rModelPart, const std::string &rElementName, const bool Initialize)
This method creates a simple geometry in 3D (tetrahedra quadratic)
Definition: cpp_tests_utilities.cpp:335
void Create3DHexahedraGeometry(ModelPart &rModelPart, const std::string &rElementName, const bool Initialize)
This method creates a simple geometry in 3D (hexahedra)
Definition: cpp_tests_utilities.cpp:298
DataCommunicator & GetDefaultDataCommunicator()
Definition: testing.cpp:24
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21
dictionary Model
TODO replace this "model" for real one once available in kratos core.
Definition: script.py:94