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

#include <local_refine_tetrahedra_mesh_parallel_to_boundaries.hpp>

Inheritance diagram for Kratos::LocalRefineTetrahedraMeshParallelToBoundaries:
Collaboration diagram for Kratos::LocalRefineTetrahedraMeshParallelToBoundaries:

Public Member Functions

Life Cycle
 LocalRefineTetrahedraMeshParallelToBoundaries (ModelPart &rModelPart)
 Default constructors. More...
 
 ~LocalRefineTetrahedraMeshParallelToBoundaries ()=default
 Destructor. More...
 
Operators
void LocalRefineMesh (bool RefineOnReference, bool InterpolateInternalVariables) override
 
Operations
void ResetFatherNodes (ModelPart &rModelPart) override
 
void SearchEdgeToBeRefined (ModelPart &rThisModelPart, compressed_matrix< int > &rCoord) override
 
void UpdateSubModelPartNodes (ModelPart &rModelPart) override
 
- Public Member Functions inherited from Kratos::LocalRefineTetrahedraMesh
 LocalRefineTetrahedraMesh (ModelPart &rModelPart)
 Default constructors. More...
 
 ~LocalRefineTetrahedraMesh ()=default
 Destructor. More...
 
unsigned int CreateCenterNode (Geometry< Node > &geom, ModelPart &model_part)
 
void EraseOldElementAndCreateNewElement (ModelPart &this_model_part, const compressed_matrix< int > &Coord, PointerVector< Element > &NewElements, bool interpolate_internal_variables) override
 
void UpdateSubModelPartElements (ModelPart &this_model_part, PointerVector< Element > &NewElements)
 
void EraseOldConditionsAndCreateNew (ModelPart &this_model_part, const compressed_matrix< int > &Coord) override
 
void UpdateSubModelPartConditions (ModelPart &rModelPart, PointerVector< Condition > &rNewConditions)
 
void CalculateEdges (Element::GeometryType &geom, const compressed_matrix< int > &Coord, int *edge_ids, std::vector< int > &aux) override
 
void CalculateEdgesFaces (Element::GeometryType &geom, const compressed_matrix< int > &Coord, int *edge_ids, array_1d< int, 6 > &aux)
 
- Public Member Functions inherited from Kratos::LocalRefineGeometryMesh
 LocalRefineGeometryMesh (ModelPart &model_part)
 Default constructors. More...
 
virtual ~LocalRefineGeometryMesh ()=default
 Destructor. More...
 
virtual void CSRRowMatrix (ModelPart &this_model_part, compressed_matrix< int > &Coord)
 
virtual void CreateListOfNewNodes (ModelPart &this_model_part, compressed_matrix< int > &Coord, std::vector< int > &List_New_Nodes, std::vector< array_1d< int, 2 > > &Position_Node)
 
virtual void CalculateCoordinateAndInsertNewNodes (ModelPart &this_model_part, const std::vector< array_1d< int, 2 > > &Position_Node, const std::vector< int > &List_New_Nodes)
 
void CreatePartition (unsigned int number_of_threads, const int number_of_rows, vector< unsigned int > &partitions)
 
template<typename TGeometricalObjectPointerType >
void InterpolateInteralVariables (const int &number_elem, const TGeometricalObjectPointerType father_elem, TGeometricalObjectPointerType child_elem, const ProcessInfo &rCurrentProcessInfo)
 

Additional Inherited Members

- Public Types inherited from Kratos::LocalRefineGeometryMesh
typedef ModelPart::NodesContainerType NodesArrayType
 
typedef ModelPart::ElementsContainerType ElementsArrayType
 
typedef ModelPart::ConditionsContainerType ConditionsArrayType
 
typedef std::vector< MatrixMatrix_Order_Tensor
 
typedef std::vector< VectorVector_Order_Tensor
 
typedef std::vector< Vector_Order_TensorNode_Vector_Order_Tensor
 
typedef Node PointType
 
typedef Node ::Pointer PointPointerType
 
typedef std::vector< PointType::Pointer > PointVector
 
typedef PointVector::iterator PointIterator
 
- Protected Member Functions inherited from Kratos::LocalRefineGeometryMesh
template<typename TIteratorType >
void SearchEdgeToBeRefinedGeneric (TIteratorType GeometricalObjectsBegin, TIteratorType GeometricalObjectsEnd, compressed_matrix< int > &rCoord)
 
- Protected Attributes inherited from Kratos::LocalRefineGeometryMesh
ModelPartmModelPart
 
int mCurrentRefinementLevel
 The model part to be refined. More...
 
std::unordered_map< std::size_t, unsigned intmMapNodeIdToPos
 The current refinement level. More...
 
std::vector< std::size_t > mMapPosToNodeId
 

Constructor & Destructor Documentation

◆ LocalRefineTetrahedraMeshParallelToBoundaries()

Kratos::LocalRefineTetrahedraMeshParallelToBoundaries::LocalRefineTetrahedraMeshParallelToBoundaries ( ModelPart rModelPart)
inlineexplicit

Default constructors.

◆ ~LocalRefineTetrahedraMeshParallelToBoundaries()

Kratos::LocalRefineTetrahedraMeshParallelToBoundaries::~LocalRefineTetrahedraMeshParallelToBoundaries ( )
default

Destructor.

Member Function Documentation

◆ LocalRefineMesh()

void Kratos::LocalRefineTetrahedraMeshParallelToBoundaries::LocalRefineMesh ( bool  refine_on_reference,
bool  interpolate_internal_variables 
)
inlineoverridevirtual

Refine the mesh locally, call all the commands necessaries to compute the remeshing

Parameters
refine_on_referenceBoolean that defines if refine or not the mesh according to the reference
interpolate_internal_variablesBoolean that defines if to interpolate or not the internal variables

Reimplemented from Kratos::LocalRefineGeometryMesh.

◆ ResetFatherNodes()

void Kratos::LocalRefineTetrahedraMeshParallelToBoundaries::ResetFatherNodes ( ModelPart rModelPart)
inlineoverridevirtual

Reimplemented from Kratos::LocalRefineGeometryMesh.

◆ SearchEdgeToBeRefined()

void Kratos::LocalRefineTetrahedraMeshParallelToBoundaries::SearchEdgeToBeRefined ( ModelPart this_model_part,
compressed_matrix< int > &  Coord 
)
inlineoverridevirtual

This functions looks for potential edges that could be refined

Returns
Coord: The matrix that stores all the index of the geometry
this_model_part: The model part of the model (it is the input too)

Reimplemented from Kratos::LocalRefineGeometryMesh.

◆ UpdateSubModelPartNodes()

void Kratos::LocalRefineTetrahedraMeshParallelToBoundaries::UpdateSubModelPartNodes ( ModelPart rModelPart)
inlineoverridevirtual

Reimplemented from Kratos::LocalRefineGeometryMesh.


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