XC Open source finite element analysis program
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
XC::PhysicalProperties< MAT > Class Template Reference

Base class for element's physical properties. More...

#include <PhysicalProperties.h>

Inheritance diagram for XC::PhysicalProperties< MAT >:
XC::MovableObject XC::DistributedBase

Public Types

typedef MaterialVector< MAT > material_vector
 

Public Member Functions

 PhysicalProperties (const size_t &nMat=0, const MAT *matModel=nullptr)
 
void setMaterial (const MAT *)
 
void setMaterial (const MAT *, const std::string &tipo)
 
void setMaterial (size_t i, const MAT *)
 
int commitState (void)
 
int revertToLastCommit (void)
 
int revertToStart (void)
 
size_t size (void) const
 
material_vectorgetMaterialsVector (void)
 
const material_vectorgetMaterialsVector (void) const
 
MAT * operator[] (const size_t &i)
 
const MAT * operator[] (const size_t &i) const
 
int sendSelf (CommParameters &)
 Sends object.
 
int recvSelf (const CommParameters &)
 Receives object.
 
virtual void Print (std::ostream &s, int)
 Sends object.
 
- 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

DbTagDatagetDbTagData (void) const
 Returns a vector para almacenar los dbTags de los miembros de la clase.
 
int sendData (CommParameters &)
 Send members through the channel being passed as parameter.
 
int recvData (const CommParameters &)
 Receives members through the channel being passed as parameter.
 

Protected Attributes

material_vector theMaterial
 pointers to the material objects
 

Detailed Description

template<class MAT>
class XC::PhysicalProperties< MAT >

Base class for element's physical properties.


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