76 GeometryType::Pointer pGeometry,
102 void Execute()
override;
104 int Check()
override;
109 const Parameters GetDefaultParameters()
const override;
126 std::string
Info()
const override;
129 void PrintInfo(std::ostream& rOStream)
const override;
132 void PrintData(std::ostream& rOStream)
const override;
152 std::size_t mNumberOfDivisions;
153 std::size_t mStartNodeId;
154 std::size_t mStartElementId;
155 std::size_t mStartConditionId;
156 std::size_t mElementPropertiesId;
157 std::size_t mConditiongPropertiesId;
158 std::string mElementName;
159 std::string mConditionName;
160 std::string mBodySubModelPartName;
161 std::string mSkinSubModelPartName;
162 bool mCreateSkinSubModelPart;
163 bool mCreateBodySubModelPart;
170 void Generate2DMesh();
172 void Generate3DMesh();
174 void GenerateNodes2D(
Point const& rMinPoint,
Point const& rMaxPoint);
176 void GenerateNodes3D(
Point const& rMinPoint,
Point const& rMaxPoint);
178 void GenerateTriangularElements();
180 void GenerateTetrahedraElements();
182 void CreateCellTetrahedra(std::size_t I, std::size_t
J, std::size_t
K, Properties::Pointer pProperties);
184 std::size_t GetNodeId(std::size_t I, std::size_t
J, std::size_t
K);
186 void GetLocalCoordinatesRange(
Point& rMinPoint,
Point& rMaxPoint);
188 bool CheckDomainGeometry();
190 bool CheckDomainGeometryConnectivityForQuadrilateral2D4();
192 bool CheckDomainGeometryConnectivityForHexahedra3D8();
231 rOStream << std::endl;
std::string Info() const override
Turn back information as a string.
Definition: periodic_interface_process.hpp:93
Geometry base class.
Definition: geometry.h:71
This class aims to manage meshes for multi-physics simulations.
Definition: model_part.h:77
This class provides to Kratos a data structure for I/O based on the standard of JSON.
Definition: kratos_parameters.h:59
Point class.
Definition: point.h:59
The base class for all processes in Kratos.
Definition: process.h:49
Short class definition.
Definition: structured_mesh_generator_process.h:50
StructuredMeshGeneratorProcess(StructuredMeshGeneratorProcess const &rOther)=delete
The object is not copyable.
void PrintInfo(std::ostream &rOStream) const override
Print information about this object.
Definition: structured_mesh_generator_process.cpp:139
StructuredMeshGeneratorProcess(GeometryType::Pointer pGeometry, ModelPart &rOutputModelPart, Parameters TheParameters)
Definition: structured_mesh_generator_process.h:75
StructuredMeshGeneratorProcess & operator=(StructuredMeshGeneratorProcess const &rOther)=delete
It is not assignable.
void PrintData(std::ostream &rOStream) const override
Print object's data.
Definition: structured_mesh_generator_process.cpp:144
KRATOS_CLASS_POINTER_DEFINITION(StructuredMeshGeneratorProcess)
Pointer definition of StructuredMeshGeneratorProcess.
StructuredMeshGeneratorProcess()=delete
Default constructor is deleted.
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
J
Definition: sensitivityMatrix.py:58
K
Definition: sensitivityMatrix.py:73