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.
transfer_nodal_forces_to_fem.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_TRANSFER_NODAL_FORCES_TO_FEM_PROCESS)
15 #define KRATOS_TRANSFER_NODAL_FORCES_TO_FEM_PROCESS
16 
17 
18 #include "includes/model_part.h"
19 #include "processes/process.h"
23 #include "includes/variables.h"
24 
25 namespace Kratos {
26 
27 typedef std::size_t SizeType;
28 typedef Node NodeType;
29 typedef ModelPart::NodesContainerType::iterator NodeIteratorType;
30 
31 class KRATOS_API(FEM_TO_DEM_APPLICATION) TransferNodalForcesToFem : public Process
32 {
33  public:
34 
37 
38  typedef std::size_t IndexType;
39 
40  // Constructor
41  TransferNodalForcesToFem(ModelPart& rModelPart, const bool DampenSolution = false);
42 
43  // Destructor
44  ~TransferNodalForcesToFem() override = default;
45 
46  void operator()() { Execute(); }
47 
48  void Execute() override;
49 
50 protected:
51 
52  // Member Variables
54  bool mDampenSolution = false;
55 
56 }; // Class
57 
58 } // namespace Kratos
59 #endif /* KRATOS_TRANSFER_NODAL_FORCES_TO_FEM_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: transfer_nodal_forces_to_fem.h:32
std::size_t IndexType
Definition: transfer_nodal_forces_to_fem.h:38
KRATOS_CLASS_POINTER_DEFINITION(TransferNodalForcesToFem)
Pointer definition of ApplyMultipointConstraintsProcess.
void operator()()
Definition: transfer_nodal_forces_to_fem.h:46
~TransferNodalForcesToFem() override=default
ModelPart & mrModelPart
Definition: transfer_nodal_forces_to_fem.h:53
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