31 #ifndef DQUNIAXIALMATERIAL_H 32 #define DQUNIAXIALMATERIAL_H 34 #include "xc_utils/src/nucleo/EntCmd.h" 36 #include <material/uniaxial/UniaxialMaterial.h> 48 typedef std::deque<UniaxialMaterial *> lst_ptr;
49 typedef lst_ptr::const_iterator const_iterator;
50 typedef lst_ptr::iterator iterator;
51 typedef lst_ptr::reference reference;
52 typedef lst_ptr::const_reference const_reference;
53 typedef lst_ptr::size_type size_type;
71 inline iterator begin(
void)
72 {
return lst_ptr::begin(); }
73 const_iterator begin(
void)
const 74 {
return lst_ptr::begin(); }
76 {
return lst_ptr::end(); }
77 const_iterator end(
void)
const 78 {
return lst_ptr::end(); }
81 inline size_type size(
void)
const 82 {
return lst_ptr::size(); }
83 void resize(
const size_t &n);
101 inline reference operator[](
const size_t i)
102 {
return lst_ptr::operator[](i); }
103 inline const_reference operator[](
const size_t i)
const 104 {
return lst_ptr::operator[](i); }
109 void Print(std::ostream &s,
int flag =0)
const;
int setInitialStrain(const Vector &def, const size_t &offset)
Sets initial strain.
Definition: DqUniaxialMaterial.cc:217
void clear(void)
Clears the container.
Definition: DqUniaxialMaterial.cc:140
void getStrain(Vector &, const size_t &offset) const
Returns strains vector.
Definition: DqUniaxialMaterial.cc:258
DqUniaxialMaterial(EntCmd *owner=nullptr, const size_t &sz=0)
Constructor.
Definition: DqUniaxialMaterial.cc:84
void getStress(Vector &, const size_t &offset) const
Returns the tensiones.
Definition: DqUniaxialMaterial.cc:303
void getInitialTangent(Matrix &, const size_t &offset) const
Return the initial tangent stiffness matrix.
Definition: DqUniaxialMaterial.cc:276
Object that can move between processes.
Definition: MovableObject.h:91
int sendSelf(CommParameters &)
Sends object through the channel being passed as parameter.
Definition: DqUniaxialMaterial.cc:381
void getTangent(Matrix &, const size_t &offset) const
Return the tangent stiffness matrix.
Definition: DqUniaxialMaterial.cc:267
int zeroInitialStrain(void)
Zeroes initial strains.
Definition: DqUniaxialMaterial.cc:208
int setTrialStrain(const Vector &def, const size_t &offset)
Sets trial strain.
Definition: DqUniaxialMaterial.cc:228
int recvSelf(const CommParameters &)
Receives object through the channel being passed as parameter.
Definition: DqUniaxialMaterial.cc:395
void clearAll(void)
Clears the container and deletes object properties.
Definition: DqUniaxialMaterial.cc:147
int commitState(void)
Commit materials state (normally when convergence is achieved).
Definition: DqUniaxialMaterial.cc:154
void getFlexibility(Matrix &f, const size_t &offset) const
Return the matriz de flexibilidad.
Definition: DqUniaxialMaterial.cc:285
int recvData(const CommParameters &)
Receives object through the channel being passed as parameter.
Definition: DqUniaxialMaterial.cc:362
void getInitialFlexibility(Matrix &f, const size_t &offset) const
Return the initial flexibility matrix.
Definition: DqUniaxialMaterial.cc:294
Contenedor de pointers to UniaxialMaterial.
Definition: DqUniaxialMaterial.h:44
void Print(std::ostream &s, int flag=0) const
Imprime el objeto.
Definition: DqUniaxialMaterial.cc:409
DqUniaxialMaterial & operator=(const DqUniaxialMaterial &otro)
Assignment operator.
Definition: DqUniaxialMaterial.cc:127
int revertToStart(void)
Returns to the initial state.
Definition: DqUniaxialMaterial.cc:190
void copia_lista(const DqUniaxialMaterial &, SectionForceDeformation *s=nullptr)
Copia la lista being passed as parameter.
Definition: DqUniaxialMaterial.cc:38
int sendData(CommParameters &)
Sends object through the channel being passed as parameter.
Definition: DqUniaxialMaterial.cc:348
Communication parameters between processes.
Definition: CommParameters.h:65
void getInitialStrain(Vector &, const size_t &offset) const
Returns the initial strains.
Definition: DqUniaxialMaterial.cc:249
================================================================================
Definition: ContinuaReprComponent.h:34
int revertToLastCommit(void)
Returns to the last commited state.
Definition: DqUniaxialMaterial.cc:172
~DqUniaxialMaterial(void)
Destructor.
Definition: DqUniaxialMaterial.cc:136
Base class for uniaxial materials.
Definition: UniaxialMaterial.h:88