class Element : public DomainComponent


Inheritance:


Public Methods

Element(int tag, int classTag)
virtual ~Element()
virtual int getNumExternalNodes(void) const
virtual const ID& getExternalNodes(void)
virtual int getNumDOF(void)
virtual int commitState(void)
virtual int revertToLastCommit(void)
virtual int revertToStart(void)
virtual int update(void)
virtual bool isSubdomain(void)
virtual const Matrix& getTangentStiff(void)
virtual const Matrix& getSecantStiff(void)
virtual const Matrix& getDamp(void)
virtual const Matrix& getMass(void)
virtual void zeroLoad(void)
virtual int addLoad(const Vector &addP)
virtual int addInertiaLoadToUnbalance(const Vector &accel)
virtual const Vector& getResistingForce(void)
virtual const Vector& getResistingForceIncInertia(void)
virtual int setResponse(char **argv, int argc, Information &eleInformation)
virtual int getResponse(int responseID, Information &eleInformation)

Inherited from DomainComponent:

Public Methods

virtual void setDomain(Domain *theDomain)
virtual Domain* getDomain(void) const
virtual int displaySelf(Renderer &, int displayMode, float fact)
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
virtual void Print(ostream &s, int flag =0)
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)
virtual int sendSelf(int commitTag, Channel &theChannel)
virtual int recvSelf(int commitTag, Channel &theChannel, FEM_ObjectBroker &theBroker)

Documentation

Element is an abstract class, i.e. no instances of Element will exist. The element class provides the interface that all element writers must provide when introducing new element classes.

Element(int tag, int classTag)

To construct an element whose unique integer among elements in the domain is given by tag, and whose class identifier is given by classTag. Both of these integers are passed to the DomainComponent constructor.

virtual ~Element()

The destructor. Declared as virtual to allow subclass destructors to be invoked.

virtual int getNumExternalNodes(void) const

To return the number of external nodes associated with the element

virtual const ID& getExternalNodes(void)

To return an ID containing the tags of the external nodes for the element

virtual int getNumDOF(void)

To return the number of dof associated with the element. This should equal the sum of the dofs at each of the external nodes. To ensure this, each subclass can overwrite the DomainComponent classes setDomain() method.

virtual int commitState(void)

The element is to commit its current state. To return 0 if sucessfull, a negative number if not.

virtual int revertToLastCommit(void)

The element is to set it's current state to the last committed state. To return 0 if sucessfull, a negative number if not.

virtual int revertToStart(void)

The element is to set it's current state to the state it was at before the analysis started. To return 0 if sucessfull, a negative number if not.

virtual int update(void)

This method is invoked after the response quantities have been updated in the Domain, but not necessarily committed, e.g. during a non-linear Newton-Raphson solution algorithm. To return 0 if successful, a negative number if not. This base class implementation returns 0.

virtual bool isSubdomain(void)

The element is to return true if the element is of type (or subtype) Subdomain, else the element should return false. This base class implementation returns false.

virtual const Matrix& getTangentStiff(void)

To return the tangent stiffness matrix. The element is to compute its stiffness matrix based on the original location of the nodes and the current trial displacement at the nodes.

virtual const Matrix& getSecantStiff(void)

To return the elements secant stiffness matrix. The element is to compute its stiffness matrix based on the original location of the nodes and the current trial displacement at the nodes. THIS SECANT MAY BE REMOVED.

virtual const Matrix& getDamp(void)

To return the damping matrix. The element is to compute its damping matrix based on the original location of the nodes and the current trial response quantities at the nodes.

virtual const Matrix& getMass(void)

To return the mass matrix. The element is to compute its mass matrix based on the original location of the nodes and the current trial response quantities at the nodes.

virtual void zeroLoad(void)

This is a method invoked to zero the element load contributions to the residual, i.e. \P_e = \zero

virtual int addLoad(const Vector &addP)

To add additional the additional load, addLoad, to the Elemental load

virtual int addInertiaLoadToUnbalance(const Vector &accel)

virtual const Vector& getResistingForce(void)

virtual const Vector& getResistingForceIncInertia(void)

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

virtual int getResponse(int responseID, Information &eleInformation)


Direct child classes:
ZeroLength
Truss
NLBeamColumn3d
NLBeamColumn2d
FourNodeQuad
ElasticBeam3d
BeamWithHinges3d
BeamWithHinges2d

alphabetic index Contents

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

Copyright Contact Us