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.
Protected Types | List of all members
Kratos::TetrahedralMesh3DMesher Class Reference

Short class definition. More...

#include <tetrahedral_mesh_3D_mesher.hpp>

Inheritance diagram for Kratos::TetrahedralMesh3DMesher:
Collaboration diagram for Kratos::TetrahedralMesh3DMesher:

Public Member Functions

Life Cycle
 TetrahedralMesh3DMesher ()
 Default constructor. More...
 
 TetrahedralMesh3DMesher (TetrahedralMesh3DMesher const &rOther)
 Copy constructor. More...
 
virtual ~TetrahedralMesh3DMesher ()
 Destructor. More...
 
Input and output
std::string Info () const override
 Turn back information as a string. More...
 
void PrintInfo (std::ostream &rOStream) const override
 Print information about this object. More...
 
void PrintData (std::ostream &rOStream) const override
 Print object's data. More...
 
- Public Member Functions inherited from Kratos::Mesher
 Mesher ()
 Default constructor. More...
 
 Mesher (Mesher const &rOther)
 Copy constructor. More...
 
virtual ~Mesher ()
 Destructor. More...
 
void Initialize ()
 
virtual void SetEchoLevel (int Level)
 
int GetEchoLevel ()
 
void SetMeshingParameters (MeshingParametersType::Pointer &rMeshingParameters)
 
void SetPreMeshingProcess (MesherProcess::Pointer pPreMeshingProcess)
 
void SetPostMeshingProcess (MesherProcess::Pointer pPostMeshingProcess)
 
void SetPreMeshingProcessVector (std::vector< MesherProcess::Pointer > &rPreMeshingProcessVector)
 
void SetPostMeshingProcessVector (std::vector< MesherProcess::Pointer > &rPostMeshingProcessVector)
 
void SetMesherUtilities (MesherUtilities::Pointer rMesherUtilities)
 
void SetDataTransferUtilities (MeshDataTransferUtilities::Pointer rDataTransferUtilities)
 
virtual void InitializeMesher (ModelPart &rModelPart)
 
virtual void ExecuteMeshing (ModelPart &rModelPart)
 
virtual void FinalizeMesher (ModelPart &rModelPart)
 
 KRATOS_CLASS_POINTER_DEFINITION (Mesher)
 Pointer definition of Mesher. More...
 

Protected Types

enum  TetgenErrors { INPUT_MEMORY_ERROR =1 , INTERNAL_ERROR =2 , INVALID_GEOMETRY_ERROR =3 }
 

Protected Member Functions

Protected Operations
void Generate (ModelPart &rModelPart, MeshingParametersType &rMeshingVariables) override
 
int GenerateTessellation (MeshingParametersType &rMeshingVariables, tetgenio &in, tetgenio &out)
 
- Protected Member Functions inherited from Kratos::Mesher
Mesheroperator= (Mesher const &rOther)
 Assignment operator. More...
 
virtual void StartEcho (ModelPart &rSubModelPart, std::string GenerationMessage)
 
virtual void EndEcho (ModelPart &rSubModelPart, std::string GenerationMessage)
 
virtual void SetNodes (ModelPart &rModelPart, MeshingParametersType &rMeshingVariables)
 
virtual void SetElements (ModelPart &rModelPart, MeshingParametersType &rMeshingVariables)
 
virtual void SetNeighbours (ModelPart &rModelPart, MeshingParametersType &rMeshingVariables)
 
virtual void ExecutePreMeshingProcesses ()
 
virtual void ExecutePostMeshingProcesses ()
 
virtual void SetElementNeighbours (ModelPart &rModelPart, MeshingParametersType &rMeshingVariables)
 
virtual void RecoverBoundaryPosition (ModelPart &rModelPart, MeshingParametersType &rMeshingVariables)
 

Type Definitions

typedef MesherUtilities::MeshingInfoParameters InfoParametersType
 
typedef MesherUtilities::MeshingParameters MeshingParametersType
 
typedef MesherUtilities::RefiningParameters RefineParametersType
 
 KRATOS_CLASS_POINTER_DEFINITION (TetrahedralMesh3DMesher)
 Pointer definition of TriGenCDT. More...
 

Additional Inherited Members

- Public Types inherited from Kratos::Mesher
typedef std::size_t SizeType
 
typedef std::size_t IndexType
 
typedef MesherUtilities::MeshingInfoParameters InfoParametersType
 
typedef MesherUtilities::MeshingParameters MeshingParametersType
 
typedef MesherUtilities::RefiningParameters RefineParametersType
 
typedef GlobalPointersVector< NodeNodeWeakPtrVectorType
 
typedef GlobalPointersVector< ElementElementWeakPtrVectorType
 
typedef GlobalPointersVector< ConditionConditionWeakPtrVectorType
 
- Protected Attributes inherited from Kratos::Mesher
MeshingParametersType::Pointer mpMeshingVariables
 
std::vector< MesherProcess::Pointer > mPreMeshingProcesses
 
std::vector< MesherProcess::Pointer > mPostMeshingProcesses
 
MesherUtilities::Pointer mpMesherUtilities
 
MeshDataTransferUtilities::Pointer mpDataTransferUtilities
 
int mEchoLevel
 

Detailed Description

Short class definition.

Detail class definition.

Member Typedef Documentation

◆ InfoParametersType

◆ MeshingParametersType

◆ RefineParametersType

Member Enumeration Documentation

◆ TetgenErrors

Enumerator
INPUT_MEMORY_ERROR 
INTERNAL_ERROR 
INVALID_GEOMETRY_ERROR 

Constructor & Destructor Documentation

◆ TetrahedralMesh3DMesher() [1/2]

Kratos::TetrahedralMesh3DMesher::TetrahedralMesh3DMesher ( )
inline

Default constructor.

◆ TetrahedralMesh3DMesher() [2/2]

Kratos::TetrahedralMesh3DMesher::TetrahedralMesh3DMesher ( TetrahedralMesh3DMesher const &  rOther)
inline

Copy constructor.

◆ ~TetrahedralMesh3DMesher()

virtual Kratos::TetrahedralMesh3DMesher::~TetrahedralMesh3DMesher ( )
inlinevirtual

Destructor.

Member Function Documentation

◆ Generate()

void Kratos::TetrahedralMesh3DMesher::Generate ( ModelPart rModelPart,
MeshingParametersType rMeshingVariables 
)
overrideprotectedvirtual

Mesher :: Delaunay Tessellation

Reimplemented from Kratos::Mesher.

◆ GenerateTessellation()

int Kratos::TetrahedralMesh3DMesher::GenerateTessellation ( MeshingParametersType rMeshingVariables,
tetgenio &  in,
tetgenio &  out 
)
protected

◆ Info()

std::string Kratos::TetrahedralMesh3DMesher::Info ( ) const
inlineoverridevirtual

Turn back information as a string.

Reimplemented from Kratos::Mesher.

◆ KRATOS_CLASS_POINTER_DEFINITION()

Kratos::TetrahedralMesh3DMesher::KRATOS_CLASS_POINTER_DEFINITION ( TetrahedralMesh3DMesher  )

Pointer definition of TriGenCDT.

◆ PrintData()

void Kratos::TetrahedralMesh3DMesher::PrintData ( std::ostream &  rOStream) const
inlineoverridevirtual

Print object's data.

Reimplemented from Kratos::Mesher.

◆ PrintInfo()

void Kratos::TetrahedralMesh3DMesher::PrintInfo ( std::ostream &  rOStream) const
inlineoverridevirtual

Print information about this object.

Reimplemented from Kratos::Mesher.


The documentation for this class was generated from the following files: