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.
distribute_load_on_surface_process.h
Go to the documentation of this file.
1 // KRATOS ___| | | |
2 // \___ \ __| __| | | __| __| | | __| _` | |
3 // | | | | | ( | | | | ( | |
4 // _____/ \__|_| \__,_|\___|\__|\__,_|_| \__,_|_| MECHANICS
5 //
6 // License: BSD License
7 // license: StructuralMechanicsApplication/license.txt
8 //
9 // Main authors: Armin Geiser
10 //
11 
12 #pragma once
13 
14 // System includes
15 
16 // External includes
17 
18 // Project includes
19 #include "includes/define.h"
20 #include "processes/process.h"
21 #include "includes/model_part.h"
23 
24 namespace Kratos {
25 
28 
31 
38 class KRATOS_API(STRUCTURAL_MECHANICS_APPLICATION) DistributeLoadOnSurfaceProcess
39  : public Process
40 {
41 public:
44 
49 
50  typedef std::size_t SizeType;
51 
55 
58 
62 
63  void ExecuteInitializeSolutionStep() override;
64 
68 
70  virtual std::string Info() const override {
71  return "DistributeLoadOnSurfaceProcess";
72  }
73 
75  void PrintInfo(std::ostream& rOStream) const override {
76  rOStream << "DistributeLoadOnSurfaceProcess";
77  }
78 
80  void PrintData(std::ostream& rOStream) const override {
81  }
82 
84 
85 private:
88 
89  ModelPart& mrModelPart;
90  Parameters mParameters;
91 
95 
97 
98 }; // Class DistributeLoadOnSurfaceProcess
99 
101 
102 } // namespace Kratos.
This process distributes a load on surface load conditions belonging to a modelpart.
Definition: distribute_load_on_surface_process.h:40
KRATOS_CLASS_POINTER_DEFINITION(DistributeLoadOnSurfaceProcess)
void PrintInfo(std::ostream &rOStream) const override
Print information about this object.
Definition: distribute_load_on_surface_process.h:75
std::size_t SizeType
Definition: distribute_load_on_surface_process.h:50
void PrintData(std::ostream &rOStream) const override
Print object's data.
Definition: distribute_load_on_surface_process.h:80
virtual std::string Info() const override
Turn back information as a string.
Definition: distribute_load_on_surface_process.h:70
This class aims to manage meshes for multi-physics simulations.
Definition: model_part.h:77
This class provides to Kratos a data structure for I/O based on the standard of JSON.
Definition: kratos_parameters.h:59
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