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.
baker_johnson_cook_thermal_hardening_rule.hpp
Go to the documentation of this file.
1 //
2 // Project Name: KratosConstitutiveModelsApplication $
3 // Created by: $Author: JMCarbonell $
4 // Last modified by: $Co-Author: $
5 // Date: $Date: April 2017 $
6 // Revision: $Revision: 0.0 $
7 //
8 //
9 
10 #if !defined(KRATOS_BAKER_JOHNSON_COOK_THERMAL_HARDENING_RULE_H_INCLUDED )
11 #define KRATOS_BAKER_JOHNSON_COOK_THERMAL_HARDENING_RULE_H_INCLUDED
12 
13 // System includes
14 
15 // External includes
16 
17 // Project includes
19 
20 namespace Kratos
21 {
24 
27 
31 
35 
39 
43 
45 
47  class KRATOS_API(CONSTITUTIVE_MODELS_APPLICATION) BakerJohnsonCookThermalHardeningRule
48  : public HardeningRule
49  {
50  public:
53 
56 
60 
63 
66 
69 
71  HardeningRule::Pointer Clone() const override;
72 
75 
79 
80 
84 
85 
90  double& CalculateHardening(const PlasticDataType& rVariables, double& rHardening) override;
91 
96  double& CalculateDeltaHardening(const PlasticDataType& rVariables, double& rDeltaHardening) override;
97 
98  double& CalculateDeltaThermalHardening(const PlasticDataType& rVariables, double& rDeltaThermalHardening) override;
99 
103 
104 
108 
109 
113 
115  std::string Info() const override
116  {
117  std::stringstream buffer;
118  buffer << "BakerJohnsonCookThermalHardeningRule" ;
119  return buffer.str();
120  }
121 
123  void PrintInfo(std::ostream& rOStream) const override
124  {
125  rOStream << "BakerJohnsonCookThermalHardeningRule";
126  }
127 
129  void PrintData(std::ostream& rOStream) const override
130  {
131  rOStream << "BakerJohnsonCookThermalHardeningRule Data";
132  }
133 
134 
138 
139 
141 
142  protected:
145 
146 
150 
151 
155 
156 
160 
161 
165 
166 
170 
171 
175 
176 
178 
179  private:
182 
183 
187 
191 
192 
196 
197 
201 
205  friend class Serializer;
206 
207 
208  void save(Serializer& rSerializer) const override
209  {
211  }
212 
213  void load(Serializer& rSerializer) override
214  {
216  }
217 
221 
222 
226 
227 
229 
230  }; // Class BakerJohnsonCookThermalHardeningRule
231 
233 
236 
237 
241 
242 
244 
246 
247 } // namespace Kratos.
248 
249 #endif // KRATOS_BAKER_JOHNSON_COOK_THERMAL_HARDENING_RULE_H_INCLUDED defined
250 
251 
PeriodicInterfaceProcess & operator=(const PeriodicInterfaceProcess &)=delete
Short class definition.
Definition: baker_johnson_cook_thermal_hardening_rule.hpp:49
void PrintData(std::ostream &rOStream) const override
Print object's data.
Definition: baker_johnson_cook_thermal_hardening_rule.hpp:129
std::string Info() const override
Turn back information as a string.
Definition: baker_johnson_cook_thermal_hardening_rule.hpp:115
KRATOS_CLASS_POINTER_DEFINITION(BakerJohnsonCookThermalHardeningRule)
Pointer definition of BakerJohnsonCookThermalHardeningRule.
void PrintInfo(std::ostream &rOStream) const override
Print information about this object.
Definition: baker_johnson_cook_thermal_hardening_rule.hpp:123
Short class definition.
Definition: hardening_rule.hpp:55
The serialization consists in storing the state of an object into a storage format like data file or ...
Definition: serializer.h:123
#define KRATOS_SERIALIZE_SAVE_BASE_CLASS(Serializer, BaseType)
Definition: define.h:812
#define KRATOS_SERIALIZE_LOAD_BASE_CLASS(Serializer, BaseType)
Definition: define.h:815
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21
def load(f)
Definition: ode_solve.py:307
Definition: hardening_rule.hpp:104