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.
meshing_utilities.h
Go to the documentation of this file.
1 // KRATOS __ __ _____ ____ _ _ ___ _ _ ____
2 // | \/ | ____/ ___|| | | |_ _| \ | |/ ___|
3 // | |\/| | _| \___ \| |_| || || \| | | _
4 // | | | | |___ ___) | _ || || |\ | |_| |
5 // |_| |_|_____|____/|_| |_|___|_| \_|\____| APPLICATION
6 //
7 // License: BSD License
8 // license: MeshingApplication/license.txt
9 //
10 // Main authors: Vicente Mataix Ferrandiz
11 //
12 
13 #if !defined(KRATOS_MESHING_UTILITIES_H)
14 #define KRATOS_MESHING_UTILITIES_H
15 
16 // System includes
17 
18 // External includes
19 
20 // Project includes
21 #include "includes/model_part.h"
22 
23 namespace Kratos
24 {
27 
31 
35 
39 
43 
49 namespace MeshingUtilities
50 {
52  typedef std::size_t SizeType;
53 
55  typedef std::size_t IndexType;
56 
62  void KRATOS_API(MESHING_APPLICATION) BlockThresholdSizeElements(
63  ModelPart& rModelPart,
64  Parameters ThisParameters = Parameters(R"({})")
65  );
66 
71  void KRATOS_API(MESHING_APPLICATION) ComputeElementsSize(ModelPart& rModelPart);
72 
77  void KRATOS_API(MESHING_APPLICATION) ComputeElementSize(Element& rElement);
78 
79 }; // namespace MeshingUtilities
80 } // namespace Kratos
81 #endif /* KRATOS_MESHING_UTILITIES_H defined */
Base class for all Elements.
Definition: element.h:60
This class aims to manage meshes for multi-physics simulations.
Definition: model_part.h:77
This class provides to Kratos a data structure for I/O based on the standard of JSON.
Definition: kratos_parameters.h:59
#define KRATOS_API(...)
Definition: kratos_export_api.h:40
std::size_t IndexType
The index type definition.
Definition: meshing_utilities.h:55
void ComputeElementsSize(ModelPart &rModelPart)
This computes the element size depending of a whole model part and it assigns to the ELEMENT_H variab...
Definition: meshing_utilities.cpp:66
std::size_t SizeType
The size type definition.
Definition: meshing_utilities.h:52
void BlockThresholdSizeElements(ModelPart &rModelPart, Parameters ThisParameters)
This computes the element size depending of a whole model part and it assigns to the ELEMENT_H variab...
Definition: meshing_utilities.cpp:27
void ComputeElementSize(Element &rElement)
This computes the element size depending of the geometry and it assigns to the ELEMENT_H variable.
Definition: meshing_utilities.cpp:78
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21
This namespace includes several utilities necessaries for the computation of the meshing techniques.