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.
solid_shell_thickness_compute_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: Vicente Mataix Ferrandiz
10 //
11 
12 #pragma once
13 
14 // System includes
15 
16 // External includes
17 
18 // Project includes
19 #include "processes/process.h"
20 #include "includes/model_part.h"
21 
22 namespace Kratos
23 {
26 
30 
34 
38 
46 class KRATOS_API(STRUCTURAL_MECHANICS_APPLICATION) SolidShellThickComputeProcess
47  : public Process
48 {
49 public:
52 
55 
56  // General type definitions
57  typedef Node NodeType;
62 
63  // Definitions of the integers
64  typedef std::size_t IndexType;
65  typedef std::size_t SizeType;
66 
70 
73  ModelPart& rThisModelPart
74  ):mrThisModelPart(rThisModelPart)
75  {
77 
78  KRATOS_CATCH("")
79  }
80 
83  = default;
84 
88 
92 
96 
100 
104 
105  void operator()()
106  {
107  Execute();
108  }
109 
113 
114  void Execute() override;
115 
119 
120 
124 
125 
129 
131  std::string Info() const override
132  {
133  return "SolidShellThickComputeProcess";
134  }
135 
137  void PrintInfo(std::ostream& rOStream) const override
138  {
139  rOStream << "SolidShellThickComputeProcess";
140  }
141 
143  void PrintData(std::ostream& rOStream) const override
144  {
145  }
146 
150 
151 
153 
154 protected:
157 
158 
162 
163 
167 
168 
172 
176 
177 
181 
182 
186 
187 
189 
190 private:
193 
194 
198 
199  ModelPart& mrThisModelPart;
200 
204 
208 
209 
213 
214 
218 
219 
223 
226 
228  //SolidShellThickComputeProcess(SolidShellThickComputeProcess const& rOther);
229 
230 
232 
233 }; // Class SolidShellThickComputeProcess
234 
236 
239 
240 
244 
246 // inline std::istream& operator >> (std::istream& rIStream,
247 // SolidShellThickComputeProcess& rThis);
248 //
249 // /// output stream function
250 // inline std::ostream& operator << (std::ostream& rOStream,
251 // const SolidShellThickComputeProcess& rThis)
252 // {
253 // rThis.PrintInfo(rOStream);
254 // rOStream << std::endl;
255 // rThis.PrintData(rOStream);
256 //
257 // return rOStream;
258 // }
259 
260 }
PeriodicInterfaceProcess & operator=(const PeriodicInterfaceProcess &)=delete
Geometry base class.
Definition: geometry.h:71
This class aims to manage meshes for multi-physics simulations.
Definition: model_part.h:77
MeshType::ConditionsContainerType ConditionsContainerType
Condintions container. A vector set of Conditions with their Id's as key.
Definition: model_part.h:183
MeshType::ElementsContainerType ElementsContainerType
Element container. A vector set of Elements with their Id's as key.
Definition: model_part.h:168
MeshType::NodesContainerType NodesContainerType
Nodes container. Which is a vector set of nodes with their Id's as key.
Definition: model_part.h:128
This class defines the node.
Definition: node.h:65
The base class for all processes in Kratos.
Definition: process.h:49
This method computes the current thickness in a node of a solid-shell.
Definition: solid_shell_thickness_compute_process.h:48
Geometry< NodeType > GeometryType
Definition: solid_shell_thickness_compute_process.h:58
SolidShellThickComputeProcess(ModelPart &rThisModelPart)
Default constructor.
Definition: solid_shell_thickness_compute_process.h:72
void operator()()
Definition: solid_shell_thickness_compute_process.h:105
ModelPart::ElementsContainerType ElementsArrayType
Definition: solid_shell_thickness_compute_process.h:61
std::string Info() const override
Turn back information as a string.
Definition: solid_shell_thickness_compute_process.h:131
void PrintInfo(std::ostream &rOStream) const override
Print information about this object.
Definition: solid_shell_thickness_compute_process.h:137
KRATOS_CLASS_POINTER_DEFINITION(SolidShellThickComputeProcess)
Pointer definition of SolidShellThickComputeProcess.
ModelPart::ConditionsContainerType ConditionsArrayType
Definition: solid_shell_thickness_compute_process.h:60
~SolidShellThickComputeProcess() override=default
Destructor.
std::size_t IndexType
Definition: solid_shell_thickness_compute_process.h:64
void PrintData(std::ostream &rOStream) const override
Print object's data.
Definition: solid_shell_thickness_compute_process.h:143
std::size_t SizeType
Definition: solid_shell_thickness_compute_process.h:65
Node NodeType
Definition: solid_shell_thickness_compute_process.h:57
ModelPart::NodesContainerType NodesArrayType
Definition: solid_shell_thickness_compute_process.h:59
#define KRATOS_CATCH(MoreInfo)
Definition: define.h:110
#define KRATOS_TRY
Definition: define.h:109
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21