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

Physical properties for solid mechanics. More...

#include <SolidMech2D.h>

Inheritance diagram for XC::SolidMech2D:
XC::NDMaterialPhysicalProperties XC::PhysicalProperties< NDMaterial > XC::MovableObject XC::DistributedBase

Public Member Functions

 SolidMech2D (const size_t &nMat=0, const NDMaterial *ptr_mat=nullptr, const double &t=0.0, const double &r=0.0)
 Constructor.
 
 SolidMech2D (const size_t &, NDMaterial &, const std::string &, const double &t=0.0, const double &r=0.0)
 Constructor.
 
double getThickness (void) const
 
void setThickness (const double &t)
 
double getRho (void) const
 
void setRho (const double &r)
 
Vector getRhoi (void) const
 Returns densities for each position.
 
int sendSelf (CommParameters &)
 Sends object.
 
int recvSelf (const CommParameters &)
 Receives object.
 
- Public Member Functions inherited from XC::NDMaterialPhysicalProperties
 NDMaterialPhysicalProperties (const size_t &nMat=0, const NDMaterial *ptr_mat=nullptr)
 Constructor.
 
 NDMaterialPhysicalProperties (const size_t &, NDMaterial &theMaterial, const std::string &type)
 Constructor.
 
const VectorgetCommittedStrain (const size_t &i) const
 
const VectorgetCommittedStress (const size_t &i) const
 
Vector getCommittedAvgStrain (void) const
 Return the tensión media in the element.
 
Vector getCommittedAvgStress (void) const
 Return the tensión media in the element.
 
double getCommittedAvgStrain (const size_t &iComp) const
 Return the componente iComp de la average strain in the element.
 
double getCommittedAvgStress (const size_t &iComp) const
 Return the componente iComp de la tensión media in the element.
 
Matrix getCommittedStrain (void) const
 returns commited strains at each Gauss point.
 
Matrix getCommittedStress (void) const
 returns commited stresses at each Gauss point.
 
bool haveRho (void) const
 
Vector getRhoi (const double &rhoDefault=0.0) const
 Returns densities for each position.
 
- Public Member Functions inherited from XC::PhysicalProperties< NDMaterial >
 PhysicalProperties (const size_t &nMat=0, const NDMaterial *matModel=nullptr)
 
void setMaterial (const NDMaterial *)
 
void setMaterial (const NDMaterial *, const std::string &tipo)
 
void setMaterial (size_t i, const NDMaterial *)
 
int commitState (void)
 
int revertToLastCommit (void)
 
int revertToStart (void)
 
size_t size (void) const
 
material_vectorgetMaterialsVector (void)
 
const material_vectorgetMaterialsVector (void) const
 
NDMaterialoperator[] (const size_t &i)
 
const NDMaterialoperator[] (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 object members through the channel being passed as parameter.
 
int recvData (const CommParameters &)
 Receives object members through the channel being passed as parameter.
 
- Protected Member Functions inherited from XC::NDMaterialPhysicalProperties
virtual bool check_material_type (const std::string &type) const
 Comprueba el tipo de material, DEBE redefinirse en las clases derivadas.
 
- Protected Member Functions inherited from XC::PhysicalProperties< NDMaterial >
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

double thickness
 Element thickness.
 
double rho
 Mass per unit volume (it's already defined in the material, why to repeat it here?).
 
- Protected Attributes inherited from XC::PhysicalProperties< NDMaterial >
material_vector theMaterial
 pointers to the material objects
 

Additional Inherited Members

- Public Types inherited from XC::PhysicalProperties< NDMaterial >
typedef MaterialVector< NDMaterialmaterial_vector
 
- Static Public Member Functions inherited from XC::NDMaterialPhysicalProperties
static bool check_material_elast_plana (const std::string &type)
 

Detailed Description

Physical properties for solid mechanics.


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