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.
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Kratos::TesselationUtilities2D Class Reference

#include <tesselation_utilities_2d.h>

Collaboration diagram for Kratos::TesselationUtilities2D:

Public Member Functions

 KRATOS_CLASS_POINTER_DEFINITION (TesselationUtilities2D)
 
 TesselationUtilities2D ()
 
 ~TesselationUtilities2D ()
 
void ExecuteInitialize (ModelPart &rModelPart, bool update_voronoi, bool update_porosity)
 
void ExecuteInitializeSolutionStep (ModelPart &rModelPart)
 

Protected Member Functions

void Triangulation (ModelPart &rModelPart)
 
void UpdateVoronoi (ModelPart &rModelPart, struct triangulateio &rOut, struct triangulateio &rVorOut)
 
void UpdatePorosity (ModelPart &rModelPart, struct triangulateio &rOut, struct triangulateio &rVorOut)
 
void ComputeAlphaRadius (ModelPart &rModelPart, struct triangulateio &rOut)
 
bool AlphaShape (std::vector< double > &coords)
 
void AddParticleArea (ModelPart &rModelPart, std::vector< int > &addedParticle, double &particle_area, const int id)
 
void ClearTriangle (struct triangulateio &rTr)
 
void FreeTriangle (struct triangulateio &rTr)
 

Protected Attributes

bool mUpdateVoronoi
 
bool mUpdatePorosiy
 
double mAlphaRadius
 
std::string mSwitches
 

Constructor & Destructor Documentation

◆ TesselationUtilities2D()

Kratos::TesselationUtilities2D::TesselationUtilities2D ( )

◆ ~TesselationUtilities2D()

Kratos::TesselationUtilities2D::~TesselationUtilities2D ( )

Member Function Documentation

◆ AddParticleArea()

void Kratos::TesselationUtilities2D::AddParticleArea ( ModelPart rModelPart,
std::vector< int > &  addedParticle,
double particle_area,
const int  id 
)
protected

◆ AlphaShape()

bool Kratos::TesselationUtilities2D::AlphaShape ( std::vector< double > &  coords)
protected

◆ ClearTriangle()

void Kratos::TesselationUtilities2D::ClearTriangle ( struct triangulateio &  rTr)
protected

◆ ComputeAlphaRadius()

void Kratos::TesselationUtilities2D::ComputeAlphaRadius ( ModelPart rModelPart,
struct triangulateio &  rOut 
)
protected

◆ ExecuteInitialize()

void Kratos::TesselationUtilities2D::ExecuteInitialize ( ModelPart rModelPart,
bool  update_voronoi,
bool  update_porosity 
)

◆ ExecuteInitializeSolutionStep()

void Kratos::TesselationUtilities2D::ExecuteInitializeSolutionStep ( ModelPart rModelPart)

◆ FreeTriangle()

void Kratos::TesselationUtilities2D::FreeTriangle ( struct triangulateio &  rTr)
protected

◆ KRATOS_CLASS_POINTER_DEFINITION()

Kratos::TesselationUtilities2D::KRATOS_CLASS_POINTER_DEFINITION ( TesselationUtilities2D  )

◆ Triangulation()

void Kratos::TesselationUtilities2D::Triangulation ( ModelPart rModelPart)
protected

◆ UpdatePorosity()

void Kratos::TesselationUtilities2D::UpdatePorosity ( ModelPart rModelPart,
struct triangulateio &  rOut,
struct triangulateio &  rVorOut 
)
protected

◆ UpdateVoronoi()

void Kratos::TesselationUtilities2D::UpdateVoronoi ( ModelPart rModelPart,
struct triangulateio &  rOut,
struct triangulateio &  rVorOut 
)
protected

Member Data Documentation

◆ mAlphaRadius

double Kratos::TesselationUtilities2D::mAlphaRadius
protected

◆ mSwitches

std::string Kratos::TesselationUtilities2D::mSwitches
protected

◆ mUpdatePorosiy

bool Kratos::TesselationUtilities2D::mUpdatePorosiy
protected

◆ mUpdateVoronoi

bool Kratos::TesselationUtilities2D::mUpdateVoronoi
protected

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