XC Open source finite element analysis program
Public Types | Public Member Functions | Protected Member Functions | List of all members
XC::DamageModelVector Class Reference

Vector de pointers to damage models. se emplea en Joint2D. More...

#include <DamageModelVector.h>

Inheritance diagram for XC::DamageModelVector:
XC::MovableObject XC::DistributedBase

Public Types

typedef MaterialVector< UniaxialMaterialmaterial_vector
 
typedef std::vector< DamageModel * > dmg_model_vector
 
typedef dmg_model_vector::iterator iterator
 
typedef dmg_model_vector::reference reference
 
typedef dmg_model_vector::const_reference const_reference
 

Public Member Functions

 DamageModelVector (const size_t &nDamageModels, const DamageModel *dmgModel=nullptr)
 Default constructor.
 
 DamageModelVector (const DamageModelVector &)
 Copy constructor.
 
DamageModelVectoroperator= (const DamageModelVector &)
 Assignment operator.
 
void setDamageModel (const DamageModel *)
 
void setDamageModel (size_t i, DamageModel *)
 
bool empty (void) const
 Returns true ifno se ha asignado damage model.
 
int commitState (const material_vector &)
 Consuma el estado de los dmg_models.
 
int revertToLastCommit (void)
 Returns the estado de los dmg_models al del último commit.
 
int revertToStart (void)
 Returns the estado de los dmg_models al inicial.
 
int sendSelf (CommParameters &)
 Sends object through the channel being passed as parameter.
 
int recvSelf (const CommParameters &)
 Receives object through the channel being passed as parameter.
 
- Public Member Functions inherited from XC::MovableObject
 MovableObject (int classTag, int dbTag)
 Constructor.
 
 MovableObject (int classTag)
 Constructor.
 
 MovableObject (const MovableObject &otro)
 Copy constructor.
 
MovableObjectoperator= (const MovableObject &otro)
 Operacdor asignación.
 
int getClassTag (void) const
 Returns the tag de la clase.
 
int getDbTag (void) const
 Returns the tag para la database.
 
int getDbTag (CommParameters &)
 Returns the tag para la database.
 
void setDbTag (int dbTag)
 Asigna el tag para la database.
 
void setDbTag (CommParameters &)
 Asigna, sólo si es preciso, el tag para la database.
 
virtual int setParameter (const std::vector< std::string > &argv, Parameter &param)
 
virtual int updateParameter (int parameterID, Information &info)
 
virtual int activateParameter (int parameterID)
 
virtual int setVariable (const std::string &variable, Information &)
 Returns the identificador de la variable cuyo nombre being passed as parameter.
 
virtual int getVariable (const std::string &variable, Information &)
 
- Public Member Functions inherited from XC::DistributedBase
 DistributedBase (void)
 Constructor.
 
const int & getDbTagDataPos (const int &i) const
 Returns the data at the i-th position.
 
void setDbTagDataPos (const int &i, const int &v)
 Sets the data at the i-th position.
 
void inicComm (const int &dataSize) const
 Initializes communication.
 

Protected Member Functions

void borra_dmg_models (void)
 
void clearAll (void)
 
void alloc (const std::vector< DamageModel * > &)
 Copia los dmg_models.
 
DbTagDatagetDbTagData (void) const
 Returns a vector para almacenar los dbTags de los miembros de la clase.
 
int sendData (CommParameters &)
 Send object members through the channel being passed as parameter.
 
int recvData (const CommParameters &)
 Receives object through the channel being passed as parameter.
 

Detailed Description

Vector de pointers to damage models. se emplea en Joint2D.


The documentation for this class was generated from the following files: