48 #if !defined(KRATOS_PFEM_PARTICLE_H_INCLUDED )
49 #define KRATOS_PFEM_PARTICLE_H_INCLUDED
134 this->ERASE_FLAG=
true;
139 this->OLD_PRESSURE=0.0;
140 this->PLASTIC_PRESSURE=0.0;
141 this->TEMPERATURE=0.0;
142 this->SHEAR_MODULUS=0.0;
143 this->BULK_MODULUS=0.0;
147 this->TOTAL_PLASTIC_DEFORMATION=
ZeroVector(6);
148 this->OLD_TOTAL_PLASTIC_DEFORMATION=
ZeroVector(6);
151 this->HAS_UPDATED_STRESSES=
false;
152 this->PLASTICIZED=
false;
157 this->ERASE_FLAG=
true;
162 this->OLD_PRESSURE=0.0;
163 this->PLASTIC_PRESSURE=0.0;
164 this->TEMPERATURE=0.0;
165 this->SHEAR_MODULUS=0.0;
166 this->BULK_MODULUS=0.0;
170 this->TOTAL_PLASTIC_DEFORMATION=
ZeroVector(6);
173 this->HAS_UPDATED_STRESSES=
false;
174 this->PLASTICIZED=
false;
182 return this->VELOCITY;
187 return this->VELOCITY[
i];
193 return this->ACCELERATION;
198 return this->ACCELERATION[
i];
203 return this->DISTANCE;
208 return this->SHEAR_MODULUS;
213 return this->BULK_MODULUS;
217 return this->SECANT_BULK_MODULUS;
228 return this->SIGMA[
i];
233 return this->OLD_SIGMA;
237 return this->OLD_SIGMA[
i];
242 return this->TOTAL_PLASTIC_DEFORMATION;
246 return this->TOTAL_PLASTIC_DEFORMATION[
i];
251 return this->OLD_TOTAL_PLASTIC_DEFORMATION;
255 return this->OLD_TOTAL_PLASTIC_DEFORMATION[
i];
269 return this->PRESSURE;
274 return this->OLD_PRESSURE;
279 return this->PLASTIC_PRESSURE;
284 return this->TEMPERATURE;
289 return this->DENSITY;
297 return this->COHESION;
318 return this->ERASE_FLAG;
323 return this->HAS_UPDATED_STRESSES;
328 return this->PLASTICIZED;
345 double SHEAR_MODULUS;
347 double SECANT_BULK_MODULUS;
352 double PLASTIC_PRESSURE;
362 bool HAS_UPDATED_STRESSES;
PFEM Particle class.
Definition: pfem_particle.h:103
array_1d< double, 3 > BaseType
Definition: pfem_particle.h:113
double & GetTheta()
Definition: pfem_particle.h:291
array_1d< double, 6 > & GetTotalPlasticDeformation()
Definition: pfem_particle.h:240
double & GetShearModulus()
Definition: pfem_particle.h:206
bool & IsPlasticized()
Definition: pfem_particle.h:326
std::size_t IndexType
Definition: pfem_particle.h:121
Point Type
Definition: pfem_particle.h:115
double & GetOldTotalPlasticDeformation(const unsigned int i)
Definition: pfem_particle.h:253
double & GetAcceleration(const unsigned int i)
Definition: pfem_particle.h:196
~PFEM_Particle()
Definition: pfem_particle.h:177
double & GetOldPressure()
Definition: pfem_particle.h:272
array_1d< double, 3 > & GetAcceleration()
Definition: pfem_particle.h:191
array_1d< double, 6 > & GetOldSigma()
Definition: pfem_particle.h:231
BaseType CoordinatesArrayType
Definition: pfem_particle.h:117
array_1d< double, 6 > & GetSigma()
Definition: pfem_particle.h:221
PFEM_Particle(TDataType const &NewX, TDataType const &NewY, TDataType const &NewZ)
Default constructor.
Definition: pfem_particle.h:132
double & GetSigma(const unsigned int i)
Definition: pfem_particle.h:226
double & GetSecantBulkModulus()
Definition: pfem_particle.h:215
double & GetTemperature()
Definition: pfem_particle.h:282
double TDataType
Definition: pfem_particle.h:111
double & GetDensity()
Definition: pfem_particle.h:287
PFEM_Particle()
Definition: pfem_particle.h:155
double & GetOldSigma(const unsigned int i)
Definition: pfem_particle.h:235
double & GetTotalPlasticDeformation(const unsigned int i)
Definition: pfem_particle.h:244
double & GetPlasticPressure()
Definition: pfem_particle.h:277
double & GetCohesion()
Definition: pfem_particle.h:295
double & GetDistance()
Definition: pfem_particle.h:201
double & GetBulkModulus()
Definition: pfem_particle.h:211
bool & HasUpdatedStresses()
Definition: pfem_particle.h:321
double & GetPressure()
Definition: pfem_particle.h:267
array_1d< double, 3 > & GetVelocity()
Definition: pfem_particle.h:180
bool & GetEraseFlag()
Definition: pfem_particle.h:316
double & GetVelocity(const unsigned int i)
Definition: pfem_particle.h:185
array_1d< double, 6 > & GetOldTotalPlasticDeformation()
Definition: pfem_particle.h:249
KRATOS_CLASS_POINTER_DEFINITION(PFEM_Particle)
Pointer definition of Point.
std::size_t SizeType
Definition: pfem_particle.h:119
Point class.
Definition: point.h:59
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21
KratosZeroVector< double > ZeroVector
Definition: amatrix_interface.h:561
integer i
Definition: TensorModule.f:17