15 #if !defined(KRATOS_MPM_HARDENING_LAW_H_INCLUDED)
16 #define KRATOS_MPM_HARDENING_LAW_H_INCLUDED
67 const double* mpDeltaTime;
73 void SetDeltaTime (
const double& rDeltaTime) { mpDeltaTime = &rDeltaTime; };
81 KRATOS_INFO(
"ParticleHardeningLaw.Parameters") <<
" RateFactor " << mRateFactor << std::endl;
82 KRATOS_INFO(
"ParticleHardeningLaw.Parameters") <<
" DeltaTime " << *mpDeltaTime << std::endl;
125 virtual ParticleHardeningLaw::Pointer
Clone()
const
127 return Kratos::make_shared<ParticleHardeningLaw>(*
this);
142 virtual double&
CalculateHardening(
double &rHardening,
const double& rAlpha,
const double& rBeta,
const Properties& rProperties) {
return rHardening; };
237 virtual void save(
Serializer& rSerializer)
const
Short class definition.
Definition: particle_hardening_law.hpp:58
virtual double & CalculateHardening(double &rHardening, const double &rAlpha, const Variable< double > &rThisVariable, const Properties &rProperties)
Definition: particle_hardening_law.hpp:144
PropertiesPointer mpProperties
Definition: particle_hardening_law.hpp:177
ParticleHardeningLaw & operator=(ParticleHardeningLaw const &rOther)
Assignment operator.
Definition: particle_hardening_law.hpp:108
const Properties * PropertiesPointer
Definition: particle_hardening_law.hpp:90
KRATOS_CLASS_POINTER_DEFINITION(ParticleHardeningLaw)
Pointer definition of ParticleHardeningLaw.
ParticleHardeningLaw(ParticleHardeningLaw const &rOther)
Copy constructor.
Definition: particle_hardening_law.hpp:104
virtual ParticleHardeningLaw::Pointer Clone() const
Definition: particle_hardening_law.hpp:125
virtual double & CalculateHardening(double &rHardening, const double &rAlpha, const double &rBeta, const Properties &rProperties)
Definition: particle_hardening_law.hpp:142
virtual ~ParticleHardeningLaw()
Destructor.
Definition: particle_hardening_law.hpp:114
ParticleHardeningLaw()
Default constructor.
Definition: particle_hardening_law.hpp:101
virtual double & CalculateHardening(double &rHardening, const Parameters &rValues, const Properties &rProperties)
Definition: particle_hardening_law.hpp:140
Properties encapsulates data shared by different Elements or Conditions. It can store any type of dat...
Definition: properties.h:69
The serialization consists in storing the state of an object into a storage format like data file or ...
Definition: serializer.h:123
#define KRATOS_INFO(label)
Definition: logger.h:250
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21
def load(f)
Definition: ode_solve.py:307
Definition: particle_hardening_law.hpp:62
void SetRateFactor(double rRateFactor)
Definition: particle_hardening_law.hpp:72
void SetDeltaTime(const double &rDeltaTime)
Definition: particle_hardening_law.hpp:73
const double & GetDeltaTime() const
Definition: particle_hardening_law.hpp:77
const double & GetRateFactor() const
Definition: particle_hardening_law.hpp:76
void print() const
Definition: particle_hardening_law.hpp:79