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.
Classes | List of all members
Kratos::TetGenCDT Class Reference

Short class definition. More...

#include <tetgen_cdt.h>

Collaboration diagram for Kratos::TetGenCDT:

Public Member Functions

Type Definitions
 KRATOS_CLASS_POINTER_DEFINITION (TetGenCDT)
 Pointer definition of TetGenCDT. More...
 
Life Cycle
 TetGenCDT ()
 Default constructor. More...
 
virtual ~TetGenCDT ()=default
 Destructor. More...
 
Input and output
virtual std::string Info () const
 Turn back information as a string. More...
 
virtual void PrintInfo (std::ostream &rOStream) const
 Print information about this object. More...
 
virtual void PrintData (std::ostream &rOStream) const
 Print object's data. More...
 

Operations

tetgenio out
 
tetgenio outnew
 
void addNodes (ModelPart &ThisModelPart, Element const &rReferenceElement, bool apply_volume_constraints, unsigned int property_id, BinBasedFastPointLocator< 3 > element_finder)
 
void GenerateCDT (ModelPart &ThisModelPart, Element const &rReferenceElement, bool apply_volume_constraints, unsigned int property_id)
 

Detailed Description

Short class definition.

Detail class definition.

Constructor & Destructor Documentation

◆ TetGenCDT()

Kratos::TetGenCDT::TetGenCDT ( )
inline

Default constructor.

◆ ~TetGenCDT()

virtual Kratos::TetGenCDT::~TetGenCDT ( )
virtualdefault

Destructor.

Member Function Documentation

◆ addNodes()

void Kratos::TetGenCDT::addNodes ( ModelPart ThisModelPart,
Element const &  rReferenceElement,
bool  apply_volume_constraints,
unsigned int  property_id,
BinBasedFastPointLocator< 3 >  element_finder 
)
inline

◆ GenerateCDT()

void Kratos::TetGenCDT::GenerateCDT ( ModelPart ThisModelPart,
Element const &  rReferenceElement,
bool  apply_volume_constraints,
unsigned int  property_id 
)
inline

◆ Info()

virtual std::string Kratos::TetGenCDT::Info ( ) const
inlinevirtual

Turn back information as a string.

◆ KRATOS_CLASS_POINTER_DEFINITION()

Kratos::TetGenCDT::KRATOS_CLASS_POINTER_DEFINITION ( TetGenCDT  )

Pointer definition of TetGenCDT.

◆ PrintData()

virtual void Kratos::TetGenCDT::PrintData ( std::ostream &  rOStream) const
inlinevirtual

Print object's data.

◆ PrintInfo()

virtual void Kratos::TetGenCDT::PrintInfo ( std::ostream &  rOStream) const
inlinevirtual

Print information about this object.

Member Data Documentation

◆ out

tetgenio Kratos::TetGenCDT::out

This function performs a Constrained Delaunay Triangulation once given "the skin" of a solid and eventually the list of internal nodes to be included in the triangulation. if required this will read the variable NODAL_H and use it to prescribe the output element size.

Parameters
ThisModelPart--> this variable contains the "skin" and the previous model part to be used for interpolation
rReferenceElement--> this is a prototype element to be used in the generation of the new elements
apply_volume_constraints--> if this parameter is set to true NODAL_H will be read and used
property_id--> this is the id of the property to be assigned to the newly created elements

variables needed NODAL_H it is used to assign the size we wish to have around a given node" IS_BOUNDARY --> this is an output flag which is assigned to all of the nodes on the boundary. Note that boundary nodes are not allowed to be removed

the faces are stored in the "Conditions" of the model which will not be modified the nodes marked for erase will be removed here

WARNING: nodes will be renumbered within this function

◆ outnew

tetgenio Kratos::TetGenCDT::outnew

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