10 #if !defined(KRATOS_YIELD_SURFACE_H_INCLUDED )
11 #define KRATOS_YIELD_SURFACE_H_INCLUDED
48 template<
class THardeningRule>
86 virtual typename YieldSurface::Pointer
Clone()
const
88 return Kratos::make_shared<YieldSurface>(*
this);
112 KRATOS_ERROR <<
"calling the YieldSurface base class ... illegal operation" << std::endl;
114 return rYieldCondition;
127 KRATOS_ERROR <<
"calling the YieldSurface base class ... illegal operation" << std::endl;
129 return rDeltaYieldCondition;
143 KRATOS_ERROR <<
"calling the YieldSurface base class ... illegal operation" << std::endl;
145 return rDeltaStressYieldCondition;
159 KRATOS_ERROR <<
"calling the YieldSurface base class ... illegal operation" << std::endl;
161 return rStateFunction;
174 KRATOS_ERROR <<
"calling the YieldSurface base class ... illegal operation" << std::endl;
176 return rDeltaStateFunction;
189 KRATOS_ERROR <<
"calling the YieldSurface base class ... illegal operation" << std::endl;
191 return rPlasticDissipation;
204 KRATOS_ERROR <<
"calling the YieldSurface base class ... illegal operation" << std::endl;
206 return rDeltaPlasticDissipation;
219 KRATOS_ERROR <<
"calling the YieldSurface base class ... illegal operation" << std::endl;
221 return rPlasticDissipation;
234 KRATOS_ERROR <<
"calling the YieldSurface base class ... illegal operation" << std::endl;
236 return rDeltaPlasticDissipation;
259 virtual std::string
Info()
const
261 std::stringstream buffer;
262 buffer <<
"YieldSurface" ;
269 rOStream <<
"YieldSurface";
275 rOStream <<
"YieldSurface Data";
355 virtual void save(
Serializer& rSerializer)
const
Definition: amatrix_interface.h:41
The serialization consists in storing the state of an object into a storage format like data file or ...
Definition: serializer.h:123
void load(std::string const &rTag, TDataType &rObject)
Definition: serializer.h:207
void save(std::string const &rTag, std::array< TDataType, TDataSize > const &rObject)
Definition: serializer.h:545
Short class definition.
Definition: yield_surface.hpp:50
THardeningRule::PlasticDataType PlasticDataType
Definition: yield_surface.hpp:62
virtual double & CalculatePlasticDissipation(const PlasticDataType &rVariables, double &rPlasticDissipation)
Definition: yield_surface.hpp:185
HardeningRuleType mHardeningRule
Definition: yield_surface.hpp:295
virtual std::string Info() const
Turn back information as a string.
Definition: yield_surface.hpp:259
ConstitutiveModelData::MatrixType MatrixType
Definition: yield_surface.hpp:56
virtual double & CalculateDeltaYieldCondition(const PlasticDataType &rVariables, double &rDeltaYieldCondition)
Definition: yield_surface.hpp:123
THardeningRule::InternalVariablesType InternalVariablesType
Definition: yield_surface.hpp:63
virtual double & CalculateImplexDeltaPlasticDissipation(const PlasticDataType &rVariables, double &rDeltaPlasticDissipation)
Definition: yield_surface.hpp:230
virtual ~YieldSurface()
Destructor.
Definition: yield_surface.hpp:92
virtual void PrintInfo(std::ostream &rOStream) const
Print information about this object.
Definition: yield_surface.hpp:267
virtual double & CalculateImplexPlasticDissipation(const PlasticDataType &rVariables, double &rPlasticDissipation)
Definition: yield_surface.hpp:215
YieldSurface & operator=(YieldSurface const &rOther)
Assignment operator.
Definition: yield_surface.hpp:79
ConstitutiveModelData::VectorType VectorType
Definition: yield_surface.hpp:57
virtual VectorType & CalculateDeltaStressYieldCondition(const PlasticDataType &rVariables, VectorType &rDeltaStressYieldCondition)
Definition: yield_surface.hpp:139
YieldSurface(YieldSurface const &rOther)
Copy constructor.
Definition: yield_surface.hpp:76
HardeningRuleType & GetHardeningRule()
Definition: yield_surface.hpp:246
KRATOS_CLASS_POINTER_DEFINITION(YieldSurface)
Pointer definition of YieldSurface.
virtual double & CalculateDeltaPlasticDissipation(const PlasticDataType &rVariables, double &rDeltaPlasticDissipation)
Definition: yield_surface.hpp:200
virtual YieldSurface::Pointer Clone() const
Clone.
Definition: yield_surface.hpp:86
ConstitutiveModelData::MaterialData MaterialDataType
Definition: yield_surface.hpp:59
virtual double & CalculateYieldCondition(const PlasticDataType &rVariables, double &rYieldCondition)
Definition: yield_surface.hpp:108
virtual double & CalculateStateFunction(const PlasticDataType &rVariables, double &rStateFunction)
Definition: yield_surface.hpp:155
THardeningRule HardeningRuleType
Definition: yield_surface.hpp:61
virtual double & CalculateDeltaStateFunction(const PlasticDataType &rVariables, double &rDeltaStateFunction)
Definition: yield_surface.hpp:170
virtual void PrintData(std::ostream &rOStream) const
Print object's data.
Definition: yield_surface.hpp:273
YieldSurface()
Default constructor.
Definition: yield_surface.hpp:73
ConstitutiveModelData::ModelData ModelDataType
Definition: yield_surface.hpp:58
#define KRATOS_CATCH(MoreInfo)
Definition: define.h:110
#define KRATOS_TRY
Definition: define.h:109
#define KRATOS_ERROR
Definition: exception.h:161
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21
def load(f)
Definition: ode_solve.py:307
Definition: constitutive_model_data.hpp:92
Definition: constitutive_model_data.hpp:383