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.
J2_yield_criterion.hpp
Go to the documentation of this file.
1 //
2 // Project Name: KratosPfemSolidMechanicsApplication $
3 // Created by: $Author: LMonforte $
4 // Last modified by: $Co-Author: $
5 // Date: $Date: July 2015 $
6 // Revision: $Revision: 0.0 $
7 //
8 //
9 
10 #if !defined(KRATOS_J2_YIELD_CRITERION_H_INCLUDED )
11 #define KRATOS_J2_YIELD_CRITERION_H_INCLUDED
12 
13 
14 
15 // System includes
16 
17 // External includes
18 
19 // Project includes
20 #include "custom_constitutive/custom_yield_criteria/yield_criterion.hpp"
22 namespace Kratos
23 {
26 
29 
33 
37 
41 
45 
47 
49 class KRATOS_API(PFEM_SOLID_MECHANICS_APPLICATION) J2YieldCriterion
50  : public YieldCriterion
51 {
52  public:
55 
58 
62 
65 
68 
70  J2YieldCriterion(J2YieldCriterion const& rOther);
71 
74 
75 
77  virtual ~J2YieldCriterion();
78 
79 
83 
84 
88 
89  double& CalculateYieldCondition(double & rStateFunction, const Vector& rStressVector, const double& rAlpha) override;
90 
91  void CalculateYieldFunctionDerivative(const Vector& rStressVector, Vector& rFirstDerivative, const double& rAlpha) override;
95 
96 
100 
101 
105 
106  // /// Turn back information as a string.
107  // std::string Info() const override;
108 
109  // /// Print information about this object.
110  // void PrintInfo(std::ostream& rOStream) const override;
111 
112  // /// Print object's data.
113  // void PrintData(std::ostream& rOStream) const override;
114 
115 
119 
120 
122 
123  protected:
126 
127 
131 
132 
136 
137 
141 
142 
146 
147 
151 
152 
156 
157 
159 
160  private:
163 
164 
168 
169 
173 
174 
178 
182 
183 
187  friend class Serializer;
188 
189  // A private default constructor necessary for serialization
190 
191  void save(Serializer& rSerializer) const override;
192 
193  void load(Serializer& rSerializer) override;
194 
198 
199 
203 
205 
206  }; // Class MisesHuberYieldCriterion
207 
209 
212 
213 
217 
218 
219  // /// input stream function
220  // inline std::istream& operator >> (std::istream& rIStream,
221  // MisesHuberYieldCriterion& rThis);
222 
223  // /// output stream function
224  // inline std::ostream& operator << (std::ostream& rOStream,
225  // const MisesHuberYieldCriterion& rThis)
226  // {
227  // rThis.PrintInfo(rOStream);
228  // rOStream << std::endl;
229  // rThis.PrintData(rOStream);
230 
231  // return rOStream;
232  // }
234 
236 
237 } // namespace Kratos.
238 
239 #endif // KRATOS_CAM_CLAY_YIELD_CRITERION_H_INCLUDED defined
240 
241 
PeriodicInterfaceProcess & operator=(const PeriodicInterfaceProcess &)=delete
Short class definition.
Definition: J2_yield_criterion.hpp:51
KRATOS_CLASS_POINTER_DEFINITION(J2YieldCriterion)
Pointer definition of MisesHuberYieldCriterion.
The serialization consists in storing the state of an object into a storage format like data file or ...
Definition: serializer.h:123
Short class definition.
Definition: yield_criterion.hpp:49
HardeningLaw::Pointer HardeningLawPointer
Definition: yield_criterion.hpp:103
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21
def load(f)
Definition: ode_solve.py:307