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.
update_dem_kinematics_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_UPDATE_DEM_KINEMATICS_PROCESS)
15 #define KRATOS_UPDATE_DEM_KINEMATICS_PROCESS
16 
17 
18 #include "includes/model_part.h"
19 #include "processes/process.h"
21 
22 namespace Kratos {
23 
24 typedef std::size_t SizeType;
25 typedef Node NodeType;
26 typedef ModelPart::NodesContainerType::iterator NodeIteratorType;
27 
28 class KRATOS_API(FEM_TO_DEM_APPLICATION) UpdateDemKinematicsProcess : public Process
29 {
30  public:
31 
34 
35  typedef std::size_t IndexType;
36 
37  // Constructor
39 
40  // Destructor
41  ~UpdateDemKinematicsProcess() override = default;
42 
43  void operator()() { Execute(); }
44 
45  void Execute() override;
46  void UpdateKinematics(const NodeIteratorType& rNode, NodeType& rDEMNode);
47 
48 protected:
49 
50  // Member Variables
52 
53 }; // Class
54 
55 } // namespace Kratos
56 #endif /* KRATOS_GENERATE_DEM_PROCESS defined */
This class aims to manage meshes for multi-physics simulations.
Definition: model_part.h:77
This class defines the node.
Definition: node.h:65
The base class for all processes in Kratos.
Definition: process.h:49
Definition: update_dem_kinematics_process.h:29
ModelPart & mrModelPart
Definition: update_dem_kinematics_process.h:51
void operator()()
Definition: update_dem_kinematics_process.h:43
~UpdateDemKinematicsProcess() override=default
KRATOS_CLASS_POINTER_DEFINITION(UpdateDemKinematicsProcess)
Pointer definition of ApplyMultipointConstraintsProcess.
std::size_t IndexType
Definition: update_dem_kinematics_process.h:35
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