xc
Public Types | Public Member Functions | Protected Member Functions | List of all members
XC::DamageModelVector Class Reference

Vector de pointers to damage models. 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 damage models to its last commited state.
 
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. More...
 
 MovableObject (int classTag)
 Constructor. More...
 
 MovableObject (const MovableObject &)
 Copy constructor. Doesn't copy the dbTag.
 
MovableObjectoperator= (const MovableObject &)
 Assignment operator. Doesn't copy the dbTag.
 
int getClassTag (void) const
 Return the class identifier.
 
int getDbTag (void) const
 Return the object identifier in the database.
 
int getDbTag (CommParameters &)
 Return the object identifier in the database.
 
void setDbTag (int dbTag)
 Sets the object identifier in the database.
 
void setDbTag (CommParameters &)
 Sets the object identifier in the database if not already set. More...
 
virtual int setParameter (const std::vector< std::string > &argv, Parameter &param)
 Sets the value param to the parameter argv.
 
virtual int updateParameter (int parameterID, Information &info)
 Updates the parameter identified by parameterID with info.
 
virtual int activateParameter (int parameterID)
 Activates the parameter identified by parameterID.
 
virtual int setVariable (const std::string &variable, Information &)
 Set the value of the variable idenfified by var.
 
virtual int getVariable (const std::string &variable, Information &)
 Return the value of the variable idenfified by var.
 
- 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 *> &)
 Copy the damage models.
 
DbTagDatagetDbTagData (void) const
 Returns a vector to store the dbTags of the class members. More...
 
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

Member Function Documentation

§ getDbTagData()

XC::DbTagData & XC::DamageModelVector::getDbTagData ( void  ) const
protectedvirtual

Returns a vector to store the dbTags of the class members.

Reimplemented from XC::DistributedBase.


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