class Truss : public Element


Inheritance:


Public Methods

Truss(int tag, int dimension, int Nd1, int Nd2, UniaxialMaterial &theMaterial, double A, double rho=0.0, double a0 = 0.0, double aK = 0.0, double bK = 0.0)
Truss()
~Truss()
int getNumExternalNodes(void) const
const ID& getExternalNodes(void)
int getNumDOF(void)
void setDomain(Domain *theDomain)
int commitState(void)
int revertToLastCommit(void)
int revertToStart(void)
const Matrix& getTangentStiff(void)
const Matrix& getSecantStiff(void)
const Matrix& getDamp(void)
const Matrix& getMass(void)
void zeroLoad(void)
int addLoad(const Vector &addP)
int addInertiaLoadToUnbalance(const Vector &accel)
const Vector& getResistingForce(void)
const Vector& getResistingForceIncInertia(void)
int sendSelf(int commitTag, Channel &theChannel)
int recvSelf(int commitTag, Channel &theChannel, FEM_ObjectBroker &theBroker)
int displaySelf(Renderer &theViewer, int displayMode, float fact)
void Print(ostream &s, int flag =0)
int setResponse(char **argv, int argc, Information &eleInformation)
int getResponse(int responseID, Information &eleInformation)

Inherited from Element:

Public Methods

virtual int update(void)
virtual bool isSubdomain(void)

Inherited from DomainComponent:

Public Methods

virtual Domain* getDomain(void) const
virtual int setParameter(char **argv, int argc, Information &eleInformation)
virtual int updateParameter(int responseID, Information &eleInformation)

Inherited from TaggedObject:

Public Methods

inline int getTag(void) const
friend ostream& operator<<(ostream &s, TaggedObject &m)
inline int TaggedObject::getTag(void) const

Protected Methods

void setTag(int newTag)

Inherited from MovableObject:

Public Methods

int getClassTag(void) const
int getDbTag(void) const
void setDbTag(int dbTag)

Documentation

The Truss class provides the truss abstraction. The Truss object can exist in one, two or three-dimesional problems. Each Truss object is associated with two Node objects and a UniaxialMaterial object.

Truss(int tag, int dimension, int Nd1, int Nd2, UniaxialMaterial &theMaterial, double A, double rho=0.0, double a0 = 0.0, double aK = 0.0, double bK = 0.0)

int dimension,

Truss()

This is the constructor invoked by an FEM_ObjectBroker object. It constructs an empty Truss element. The recvSelf() method must be invoked on the object for it to set the internal data.

~Truss()

Public Methods

int getNumExternalNodes(void) const

Returns 2;

const ID& getExternalNodes(void)

Returns an ID object of size 2 containing the two node identifiers Nd1 and Nd2

int getNumDOF(void)

To return the number of dof associated with the Truss. This depends on the dimension of the problem and the number of dof associated with the nodes.

void setDomain(Domain *theDomain)

int commitState(void)

int revertToLastCommit(void)

int revertToStart(void)

const Matrix& getTangentStiff(void)

const Matrix& getSecantStiff(void)

const Matrix& getDamp(void)

const Matrix& getMass(void)

void zeroLoad(void)

int addLoad(const Vector &addP)

int addInertiaLoadToUnbalance(const Vector &accel)

const Vector& getResistingForce(void)

const Vector& getResistingForceIncInertia(void)

int sendSelf(int commitTag, Channel &theChannel)

int recvSelf(int commitTag, Channel &theChannel, FEM_ObjectBroker &theBroker)

int displaySelf(Renderer &theViewer, int displayMode, float fact)

void Print(ostream &s, int flag =0)

int setResponse(char **argv, int argc, Information &eleInformation)

int getResponse(int responseID, Information &eleInformation)


This class has no child classes.

alphabetic index Contents

this page has been generated automatically by a slightly modified version of doc++ for OpenSees

Copyright Contact Us