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_pressure_volume_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_PRESSURE_VOLUME_PROCESS)
15 #define KRATOS_UPDATE_PRESSURE_VOLUME_PROCESS
16 
17 #include "processes/process.h"
19 
20 namespace Kratos {
21 
22 typedef std::size_t SizeType;
23 
30 class KRATOS_API(FEM_TO_DEM_APPLICATION) UpdatePressureVolumeProcess : public Process
31 {
32  public:
33 
36 
37  typedef std::size_t IndexType;
38 
39  // Constructor
41 
42  // Destructor
43  ~UpdatePressureVolumeProcess() override = default;
44 
45  void operator()() { Execute(); }
46 
50  void Execute() override;
51 
55  int GetPressureId(ModelPart::ElementIterator itElem);
56 
57 protected:
58 
59  // Member Variables
61  std::size_t mDimension;
62  std::string mPressureName;
63 
64 }; // Class
65 
66 } // namespace Kratos
67 #endif /* KRATOS_UPDATE_PRESSURE_VOLUME_PROCESS defined */
This class aims to manage meshes for multi-physics simulations.
Definition: model_part.h:77
MeshType::ElementIterator ElementIterator
Definition: model_part.h:174
The base class for all processes in Kratos.
Definition: process.h:49
updates the volume according to a pressure load
Definition: update_pressure_volume_process.h:31
ModelPart & mrModelPart
Definition: update_pressure_volume_process.h:60
~UpdatePressureVolumeProcess() override=default
KRATOS_CLASS_POINTER_DEFINITION(UpdatePressureVolumeProcess)
Pointer definition of ApplyMultipointConstraintsProcess.
std::string mPressureName
Definition: update_pressure_volume_process.h:62
void operator()()
Definition: update_pressure_volume_process.h:45
std::size_t mDimension
Definition: update_pressure_volume_process.h:61
std::size_t IndexType
Definition: update_pressure_volume_process.h:37
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