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.
aalm_adapt_penalty_value_process.h
Go to the documentation of this file.
1 
2 // KRATOS ______ __ __ _____ __ __ __
3 // / ____/___ ____ / /_____ ______/ /_/ ___// /________ _______/ /___ ___________ _/ /
4 // / / / __ \/ __ \/ __/ __ `/ ___/ __/\__ \/ __/ ___/ / / / ___/ __/ / / / ___/ __ `/ /
5 // / /___/ /_/ / / / / /_/ /_/ / /__/ /_ ___/ / /_/ / / /_/ / /__/ /_/ /_/ / / / /_/ / /
6 // \____/\____/_/ /_/\__/\__,_/\___/\__//____/\__/_/ \__,_/\___/\__/\__,_/_/ \__,_/_/ MECHANICS
7 //
8 // License: BSD License
9 // license: ContactStructuralMechanicsApplication/license.txt
10 //
11 // Main authors: Vicente Mataix Ferrandiz
12 //
13 
14 #pragma once
15 
16 // System includes
17 
18 // External includes
19 
20 // Project includes
21 #include "processes/process.h"
22 #include "includes/model_part.h"
23 
24 namespace Kratos
25 {
28 
32 
36 
40 
48 class KRATOS_API(CONTACT_STRUCTURAL_MECHANICS_APPLICATION) AALMAdaptPenaltyValueProcess
49  : public Process
50 {
51 public:
54 
57 
62 
66 
68  AALMAdaptPenaltyValueProcess( ModelPart& rThisModelPart):mrThisModelPart(rThisModelPart)
69  {
70  KRATOS_TRY;
71 
72  KRATOS_CATCH("");
73  }
74 
77  = default;
78 
82 
86 
90 
94 
98 
99  void operator()()
100  {
101  Execute();
102  }
103 
107 
108  void Execute() override;
109 
113 
114 
118 
119 
123 
125  std::string Info() const override
126  {
127  return "AALMAdaptPenaltyValueProcess";
128  }
129 
131  void PrintInfo(std::ostream& rOStream) const override
132  {
133  rOStream << "AALMAdaptPenaltyValueProcess";
134  }
135 
137  void PrintData(std::ostream& rOStream) const override
138  {
139  }
140 
144 
145 
147 
148 protected:
151 
152 
156 
157 
161 
162 
166 
167 
171 
172 
176 
177 
181 
182 
184 
185 private:
188 
189 
193 
194  ModelPart& mrThisModelPart;
195 
199 
203 
204 
208 
209 
213 
214 
218 
221 
223  //AALMAdaptPenaltyValueProcess(AALMAdaptPenaltyValueProcess const& rOther);
224 
225 
227 
228 }; // Class AALMAdaptPenaltyValueProcess
229 
231 
234 
235 
239 
241 // inline std::istream& operator >> (std::istream& rIStream,
242 // AALMAdaptPenaltyValueProcess& rThis);
243 //
244 // /// output stream function
245 // inline std::ostream& operator << (std::ostream& rOStream,
246 // const AALMAdaptPenaltyValueProcess& rThis)
247 // {
248 // rThis.PrintInfo(rOStream);
249 // rOStream << std::endl;
250 // rThis.PrintData(rOStream);
251 //
252 // return rOStream;
253 // }
254 
255 }
PeriodicInterfaceProcess & operator=(const PeriodicInterfaceProcess &)=delete
This process is used in order to adapt the penalty in the ALM formulation.
Definition: aalm_adapt_penalty_value_process.h:50
void operator()()
Definition: aalm_adapt_penalty_value_process.h:99
ModelPart::ConditionsContainerType ConditionsArrayType
Definition: aalm_adapt_penalty_value_process.h:61
void PrintInfo(std::ostream &rOStream) const override
Print information about this object.
Definition: aalm_adapt_penalty_value_process.h:131
~AALMAdaptPenaltyValueProcess() override=default
Destructor.
void PrintData(std::ostream &rOStream) const override
Print object's data.
Definition: aalm_adapt_penalty_value_process.h:137
AALMAdaptPenaltyValueProcess(ModelPart &rThisModelPart)
Default constructor.
Definition: aalm_adapt_penalty_value_process.h:68
KRATOS_CLASS_POINTER_DEFINITION(AALMAdaptPenaltyValueProcess)
Pointer definition of AALMAdaptPenaltyValueProcess.
std::string Info() const override
Turn back information as a string.
Definition: aalm_adapt_penalty_value_process.h:125
ModelPart::NodesContainerType NodesArrayType
Definition: aalm_adapt_penalty_value_process.h:60
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::NodesContainerType NodesContainerType
Nodes container. Which is a vector set of nodes with their Id's as key.
Definition: model_part.h:128
The base class for all processes in Kratos.
Definition: process.h:49
#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