10 #if !defined(KRATOS_MESHER_H_INCLUDED )
11 #define KRATOS_MESHER_H_INCLUDED
59 class KRATOS_API(DELAUNAY_MESHING_APPLICATION)
Mesher
88 :mpMeshingVariables(rOther.mpMeshingVariables)
89 ,mPreMeshingProcesses(rOther.mPreMeshingProcesses)
90 ,mPostMeshingProcesses(rOther.mPostMeshingProcesses)
91 ,mpMesherUtilities(rOther.mpMesherUtilities)
92 ,mpDataTransferUtilities(rOther.mpDataTransferUtilities)
93 ,mEchoLevel(rOther.mEchoLevel)
135 void SetMeshingParameters( MeshingParametersType::Pointer& rMeshingParameters );
140 void SetPreMeshingProcess( MesherProcess::Pointer pPreMeshingProcess );
142 void SetPostMeshingProcess( MesherProcess::Pointer pPostMeshingProcess );
145 void SetPreMeshingProcessVector( std::vector<MesherProcess::Pointer>& rPreMeshingProcessVector );
147 void SetPostMeshingProcessVector( std::vector<MesherProcess::Pointer>& rPostMeshingProcessVector );
153 void SetMesherUtilities( MesherUtilities::Pointer rMesherUtilities );
158 void SetDataTransferUtilities( MeshDataTransferUtilities::Pointer rDataTransferUtilities );
167 virtual void InitializeMesher(
ModelPart& rModelPart);
173 virtual void ExecuteMeshing(
ModelPart& rModelPart);
178 virtual void FinalizeMesher(
ModelPart& rModelPart);
195 virtual std::string
Info()
const
253 virtual void StartEcho(
ModelPart& rSubModelPart,
254 std::string GenerationMessage);
260 virtual void EndEcho(
ModelPart& rSubModelPart,
261 std::string GenerationMessage);
268 virtual void SetNodes(
ModelPart& rModelPart,
274 virtual void SetElements(
ModelPart& rModelPart,
280 virtual void SetNeighbours(
ModelPart& rModelPart,
287 virtual void ExecutePreMeshingProcesses();
293 virtual void ExecutePostMeshingProcesses();
307 virtual void SetElementNeighbours(
ModelPart& rModelPart,
308 MeshingParametersType& rMeshingVariables);
313 virtual void RecoverBoundaryPosition(
ModelPart& rModelPart,
314 MeshingParametersType& rMeshingVariables);
392 rOStream << std::endl;
std::string Info() const override
Turn back information as a string.
Definition: periodic_interface_process.hpp:93
This class is a vector which stores global pointers.
Definition: global_pointers_vector.h:61
Short class definition.
Definition: mesher.hpp:60
virtual ~Mesher()
Destructor.
Definition: mesher.hpp:97
MeshDataTransferUtilities::Pointer mpDataTransferUtilities
Definition: mesher.hpp:235
virtual void PrintData(std::ostream &rOStream) const
Print object's data.
Definition: mesher.hpp:207
int GetEchoLevel()
Definition: mesher.hpp:127
std::size_t IndexType
Definition: mesher.hpp:70
virtual void SetEchoLevel(int Level)
Definition: mesher.hpp:122
std::size_t SizeType
Definition: mesher.hpp:69
int mEchoLevel
Definition: mesher.hpp:237
KRATOS_CLASS_POINTER_DEFINITION(Mesher)
Pointer definition of Mesher.
GlobalPointersVector< Element > ElementWeakPtrVectorType
Definition: mesher.hpp:77
Mesher(Mesher const &rOther)
Copy constructor.
Definition: mesher.hpp:87
virtual std::string Info() const
Turn back information as a string.
Definition: mesher.hpp:195
std::vector< MesherProcess::Pointer > mPostMeshingProcesses
Definition: mesher.hpp:231
Mesher()
Default constructor.
Definition: mesher.hpp:84
virtual void PrintInfo(std::ostream &rOStream) const
Print information about this object.
Definition: mesher.hpp:201
std::vector< MesherProcess::Pointer > mPreMeshingProcesses
Definition: mesher.hpp:230
GlobalPointersVector< Condition > ConditionWeakPtrVectorType
Definition: mesher.hpp:78
MesherUtilities::MeshingInfoParameters InfoParametersType
Definition: mesher.hpp:72
GlobalPointersVector< Node > NodeWeakPtrVectorType
Definition: mesher.hpp:76
MesherUtilities::MeshingParameters MeshingParametersType
Definition: mesher.hpp:73
MeshingParametersType::Pointer mpMeshingVariables
Definition: mesher.hpp:228
MesherUtilities::RefiningParameters RefineParametersType
Definition: mesher.hpp:74
virtual void Generate(ModelPart &rModelPart, MeshingParametersType &rMeshingVariables)
Definition: mesher.hpp:300
MesherUtilities::Pointer mpMesherUtilities
Definition: mesher.hpp:233
Mesher & operator=(Mesher const &rOther)
Assignment operator.
This class aims to manage meshes for multi-physics simulations.
Definition: model_part.h:77
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
Definition: mesher_utilities.hpp:269
Definition: mesher_utilities.hpp:631
Definition: mesher_utilities.hpp:479