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.
remove_alone_DEM_elements_process.h
Go to the documentation of this file.
1 // | / |
2 // ' / __| _` | __| _ \ __|
3 // . \ | ( | | ( |\__ \.
4 // _|\_\_| \__,_|\__|\___/ ____/
5 // Multi-Physics FemDem Application
6 //
7 // License: BSD License
8 // Kratos default license:
9 // kratos/license.txt
10 //
11 // Main authors: Alejandro Cornejo Velazquez
12 //
13 
14 #if !defined(KRATOS_REMOVE_ALONE_DEM_ELEMENTS_PROCESS)
15 #define KRATOS_REMOVE_ALONE_DEM_ELEMENTS_PROCESS
16 
17 #include "processes/process.h"
19 #include "includes/variables.h"
20 
21 namespace Kratos {
22 
23 typedef std::size_t SizeType;
24 typedef Node NodeType;
25 typedef ModelPart::NodesContainerType::iterator NodeIteratorType;
26 
27 class KRATOS_API(FEM_TO_DEM_APPLICATION) RemoveAloneDEMElementsProcess : public Process
28 {
29  public:
30 
33 
34  typedef std::size_t IndexType;
35 
36  // Constructor
37  RemoveAloneDEMElementsProcess(ModelPart& rModelPart, ModelPart& rDemModelPart);
38 
39  // Destructor
40  ~RemoveAloneDEMElementsProcess() override = default;
41 
42  void operator()() { Execute(); }
43 
44  void Execute() override;
45 
46 protected:
47 
48  // Member Variables
51 
52 }; // Class
53 
54 } // namespace Kratos
55 #endif /* KRATOS_REMOVE_ALONE_DEM_ELEMENTS_PROCESS defined */
This class aims to manage meshes for multi-physics simulations.
Definition: model_part.h:77
The base class for all processes in Kratos.
Definition: process.h:49
Definition: remove_alone_DEM_elements_process.h:28
~RemoveAloneDEMElementsProcess() override=default
void operator()()
Definition: remove_alone_DEM_elements_process.h:42
KRATOS_CLASS_POINTER_DEFINITION(RemoveAloneDEMElementsProcess)
Pointer definition of ApplyMultipointConstraintsProcess.
ModelPart & mrDEMModelPart
Definition: remove_alone_DEM_elements_process.h:50
ModelPart & mrModelPart
Definition: remove_alone_DEM_elements_process.h:49
std::size_t IndexType
Definition: remove_alone_DEM_elements_process.h:34
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21
ModelPart::NodesContainerType::iterator NodeIteratorType
Definition: fix_free_velocity_on_nodes_process.h:25
Node NodeType
The definition of the node.
Definition: tetrahedral_mesh_orientation_check.h:34
std::size_t SizeType
The definition of the size type.
Definition: mortar_classes.h:43