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.
assign_pressure_id_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_ASSIGN_PRESSURE_ID_PROCESS)
15 #define KRATOS_ASSIGN_PRESSURE_ID_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 
26 class KRATOS_API(FEM_TO_DEM_APPLICATION) AssignPressureIdProcess : public Process
27 {
28  public:
29 
32 
33  typedef std::size_t IndexType;
34 
35  // Constructor
37 
38  // Destructor
39  ~AssignPressureIdProcess() override = default;
40 
41  void operator()() { Execute(); }
42 
43  void Execute() override;
44 
45  void AssignPressureIdToNodes(std::string rSubModelPartName, const int PressureId);
46 
47 protected:
48 
49  // Member Variables
51  std::string mPressureName;
52 
53 }; // Class
54 
55 } // namespace Kratos
56 #endif /* KRATOS_EXTEND_PRESSURE_PROCESS defined */
Definition: assign_pressure_id_process.h:27
~AssignPressureIdProcess() override=default
ModelPart & mrModelPart
Definition: assign_pressure_id_process.h:50
KRATOS_CLASS_POINTER_DEFINITION(AssignPressureIdProcess)
Pointer definition of ApplyMultipointConstraintsProcess.
std::size_t IndexType
Definition: assign_pressure_id_process.h:33
std::string mPressureName
Definition: assign_pressure_id_process.h:51
void operator()()
Definition: assign_pressure_id_process.h:41
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
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21
std::size_t SizeType
The definition of the size type.
Definition: mortar_classes.h:43