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.
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 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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
void Print(ostream &s, int flag =0) int setResponse(char **argv, int argc, Information &eleInformation) int getResponse(int responseID, Information &eleInformation)
int setResponse(char **argv, int argc, Information &eleInformation) int getResponse(int responseID, Information &eleInformation)
int getResponse(int responseID, Information &eleInformation)
alphabetic index Contents
this page has been generated automatically by a slightly modified version of doc++ for OpenSees