|
xc
|
Material pointer container. More...
#include <MaterialVector.h>
Public Member Functions | |
| MaterialVector (const size_t &nMat, const MAT *matModel=nullptr) | |
| Default constructor. | |
| MaterialVector (const MaterialVector< MAT > &) | |
| Copy constructor. | |
| MaterialVector< MAT > & | operator= (const MaterialVector< MAT > &) |
| Assignment operator. | |
| void | setMaterial (const MAT *) |
| void | setMaterial (size_t i, MAT *) |
| void | setMaterial (const MAT *, const std::string &) |
| bool | empty (void) const |
| Returns true ifno se ha asignado material. | |
| int | commitState (void) |
| Commits materials state (normally after convergence). | |
| int | revertToLastCommit (void) |
| Returns materials to its last commited state. | |
| int | revertToStart (void) |
| Return materials to its initial state. | |
| void | setInitialGeneralizedStrains (const std::vector< Vector > &) |
| Assigns initial values to materials initial strains. | |
| void | addInitialGeneralizedStrains (const std::vector< Vector > &) |
| Adds to the materials initial strains the values being passed as parameters. | |
| void | zeroInitialGeneralizedStrains (void) |
| Initialize initial strains. | |
| size_t | getGeneralizedStressSize (void) const |
| Returns the size of stress vector. | |
| size_t | getGeneralizedStrainSize (void) const |
| Returns the size of generalized strains vector. | |
| m_double | getGeneralizedStresses (void) const |
| Returns generalized stress values on each integration point. | |
| m_double | getGeneralizedStrains (void) const |
| Returns generalized strain values on each integration point. | |
| const Vector & | getMeanGeneralizedStress (void) const |
| Returns average generalized stress values on element. In a future we can enhance this by providing an extrapolation of results in gauss points as described in 28.4 IFEM chapter 28. | |
| const Vector & | getMeanGeneralizedStrain (void) const |
| Returns average generalized strain values on element.In a future we can enhance this by providing an extrapolation of results in gauss points as described in 28.4 IFEM chapter 28. | |
| double | getMeanGeneralizedStrain (const int &defID) const |
| Returns the defID component of the average strain vector. More... | |
| double | getMeanGeneralizedStress (const int &defID) const |
| Returns the defID component of the average generalized stress vector. More... | |
| double | getMeanGeneralizedStrainByName (const std::string &) const |
| Returns the component of the average strain vector which has the code being passed as parameter. More... | |
| double | getMeanGeneralizedStressByName (const std::string &) const |
| Returns the component of the average generalized stress vector which corresponds to the code being passed as parameter. More... | |
| m_double | getGeneralizedStrain (const int &defID) const |
| Returns the defID component of generalized strain vector on each integration point. More... | |
| m_double | getGeneralizedStress (const int &defID) const |
| Returns the defID component of generalized stress vector on each integration point. More... | |
| std::set< std::string > | getNames (void) const |
| Return the names of the materials. | |
| boost::python::list | getNamesPy (void) const |
| Return the names of the materials in a python list. | |
| 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. | |
| 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. | |
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 | clear_materials (void) |
| void | clearAll (void) |
| void | alloc (const std::vector< MAT *> &mats) |
| Copy materials from another vector. | |
| 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. | |
Material pointer container.
It's used by elements to store materials for each integration point.
|
protectedvirtual |
Returns a vector to store the dbTags of the class members.
Reimplemented from XC::DistributedBase.
| m_double XC::MaterialVector< MAT >::getGeneralizedStrain | ( | const int & | defID | ) | const |
Returns the defID component of generalized strain vector on each integration point.
| defID | component index. |
| m_double XC::MaterialVector< MAT >::getGeneralizedStress | ( | const int & | defID | ) | const |
Returns the defID component of generalized stress vector on each integration point.
| defID | component index. |
| double XC::MaterialVector< MAT >::getMeanGeneralizedStrain | ( | const int & | defID | ) | const |
Returns the defID component of the average strain vector.
| defID | component index. |
| double XC::MaterialVector< MAT >::getMeanGeneralizedStrainByName | ( | const std::string & | cod | ) | const |
Returns the component of the average strain vector which has the code being passed as parameter.
| cod | component code. |
| double XC::MaterialVector< MAT >::getMeanGeneralizedStress | ( | const int & | defID | ) | const |
Returns the defID component of the average generalized stress vector.
| defID | component index. |
| double XC::MaterialVector< MAT >::getMeanGeneralizedStressByName | ( | const std::string & | cod | ) | const |
Returns the component of the average generalized stress vector which corresponds to the code being passed as parameter.
| cod | component code (n1,n2,n12,m1,m2,m12,q13,q23) |
1.8.12