xc
|
Vector de pointers to damage models. More...
#include <DamageModelVector.h>
Public Types | |
typedef MaterialVector< UniaxialMaterial > | material_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. | |
DamageModelVector & | operator= (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. | |
![]() | |
MovableObject (int classTag, int dbTag) | |
Constructor. More... | |
MovableObject (int classTag) | |
Constructor. More... | |
MovableObject (const MovableObject &) | |
Copy constructor. Doesn't copy the dbTag. | |
MovableObject & | operator= (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 ¶m) |
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 . | |
![]() | |
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. | |
DbTagData & | getDbTagData (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. | |
|
protectedvirtual |
Returns a vector to store the dbTags of the class members.
Reimplemented from XC::DistributedBase.