Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members
Element Class Reference#include <Element.h>
Inheritance diagram for Element::
List of all members.
Detailed Description
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. \
}
Definition at line 66 of file Element.h.
Constructor & Destructor Documentation
Element::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.
Definition at line 50 of file Element.cpp. |
Element::~Element (
|
) [virtual]
|
|
|
The destructor. Declared as virtual to allow subclass destructors to be invoked.
Definition at line 57 of file Element.cpp. |
Member Function Documentation
int Element::addInertiaLoadToUnbalance (
|
const Vector & accel ) [virtual]
|
|
|
Reimplemented in BeamWithHinges2d, BeamWithHinges3d, CorotTruss, DispBeamColumn2d, DispBeamColumn3d, EightNodeBrick, ElasticBeam2d, ElasticBeam3d, FourNodeQuad, Truss, TrussSection, ZeroLength, ZeroLengthND, and ZeroLengthSection.
Definition at line 104 of file Element.cpp.
Referenced by EarthquakePattern::applyLoad().
|
int Element::addLoad (
|
const Vector & addP ) [pure virtual]
|
|
|
Reimplemented in BbarBrick, BeamWithHinges2d, BeamWithHinges3d, Brick, ConstantPressureVolumeQuad, CorotTruss, DispBeamColumn2d, DispBeamColumn3d, EightNodeBrick, ElasticBeam2d, ElasticBeam3d, EnhancedQuad, FourNodeQuad, NLBeamColumn2d, NLBeamColumn3d, Truss, TrussSection, ZeroLength, ZeroLengthND, and ZeroLengthSection.
Referenced by addInertiaLoadToUnbalance().
|
int Element::commitState (
|
void ) [pure virtual]
|
|
|
methods dealing with committed state and update.
Reimplemented in BbarBrick, BeamWithHinges2d, BeamWithHinges3d, Brick, ConstantPressureVolumeQuad, CorotTruss, DispBeamColumn2d, DispBeamColumn3d, EightNodeBrick, ElasticBeam2d, ElasticBeam3d, EnhancedQuad, FourNodeQuad, NLBeamColumn2d, NLBeamColumn3d, Truss, TrussSection, ZeroLength, ZeroLengthND, and ZeroLengthSection.
Referenced by Domain::commit().
|
const Matrix & Element::getDamp (
|
void ) [pure virtual]
|
|
|
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.
Reimplemented in BbarBrick, BeamWithHinges2d, BeamWithHinges3d, Brick, ConstantPressureVolumeQuad, CorotTruss, DispBeamColumn2d, DispBeamColumn3d, EightNodeBrick, ElasticBeam2d, ElasticBeam3d, EnhancedQuad, FourNodeQuad, NLBeamColumn2d, NLBeamColumn3d, Truss, TrussSection, ZeroLength, ZeroLengthND, and ZeroLengthSection.
Referenced by FE_Element::addCtoTang(), FE_Element::addD_Force(), FE_Element::addLocalD_Force(), and FE_Element::getD_Force().
|
const ID & Element::getExternalNodes (
|
void ) [pure virtual]
|
|
|
To return an ID containing the tags of the external nodes for the element.
Reimplemented in BbarBrick, BeamWithHinges2d, BeamWithHinges3d, Brick, ConstantPressureVolumeQuad, CorotTruss, DispBeamColumn2d, DispBeamColumn3d, EightNodeBrick, ElasticBeam2d, ElasticBeam3d, EnhancedQuad, FourNodeQuad, NLBeamColumn2d, NLBeamColumn3d, Truss, TrussSection, ZeroLength, ZeroLengthND, and ZeroLengthSection.
Referenced by TransformationFE::TransformationFE(), Domain::addElement(), addInertiaLoadToUnbalance(), Domain::buildEleGraph(), Domain::buildNodeGraph(), and TransformationConstraintHandler::handle().
|
const Matrix & Element::getKi (
|
void ) [virtual]
|
|
const Matrix & Element::getMass (
|
void ) [pure virtual]
|
|
|
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.
Reimplemented in BbarBrick, BeamWithHinges2d, BeamWithHinges3d, Brick, ConstantPressureVolumeQuad, CorotTruss, DispBeamColumn2d, DispBeamColumn3d, EightNodeBrick, ElasticBeam2d, ElasticBeam3d, EnhancedQuad, FourNodeQuad, NLBeamColumn2d, NLBeamColumn3d, Truss, TrussSection, ZeroLength, ZeroLengthND, and ZeroLengthSection.
Referenced by addInertiaLoadToUnbalance(), FE_Element::addLocalM_Force(), FE_Element::addM_Force(), FE_Element::addMtoTang(), and FE_Element::getM_Force().
|
int Element::getNumDOF (
|
void ) [pure virtual]
|
|
|
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.
Reimplemented in BbarBrick, BeamWithHinges2d, BeamWithHinges3d, Brick, ConstantPressureVolumeQuad, CorotTruss, DispBeamColumn2d, DispBeamColumn3d, EightNodeBrick, ElasticBeam2d, ElasticBeam3d, EnhancedQuad, FourNodeQuad, NLBeamColumn2d, NLBeamColumn3d, Truss, TrussSection, ZeroLength, ZeroLengthND, and ZeroLengthSection.
Referenced by TransformationFE::TransformationFE(), Domain::addElement(), and addInertiaLoadToUnbalance().
|
int Element::getNumExternalNodes (
|
void ) const [pure virtual]
|
|
|
methods dealing with nodes and number of external dof.
Reimplemented in BbarBrick, BeamWithHinges2d, BeamWithHinges3d, Brick, ConstantPressureVolumeQuad, CorotTruss, DispBeamColumn2d, DispBeamColumn3d, EightNodeBrick, ElasticBeam2d, ElasticBeam3d, EnhancedQuad, FourNodeQuad, NLBeamColumn2d, NLBeamColumn3d, Truss, TrussSection, ZeroLength, ZeroLengthND, and ZeroLengthSection. |
const Vector & Element::getResistingForce (
|
void ) [pure virtual]
|
|
|
Reimplemented in BbarBrick, BeamWithHinges2d, BeamWithHinges3d, Brick, ConstantPressureVolumeQuad, CorotTruss, DispBeamColumn2d, DispBeamColumn3d, EightNodeBrick, ElasticBeam2d, ElasticBeam3d, EnhancedQuad, FourNodeQuad, NLBeamColumn2d, NLBeamColumn3d, Truss, TrussSection, ZeroLength, ZeroLengthND, and ZeroLengthSection.
Referenced by FE_Element::addRtoResidual().
|
const Vector & Element::getResistingForceIncInertia (
|
void ) [pure virtual]
|
|
|
Reimplemented in BbarBrick, BeamWithHinges2d, BeamWithHinges3d, Brick, ConstantPressureVolumeQuad, CorotTruss, DispBeamColumn2d, DispBeamColumn3d, EightNodeBrick, ElasticBeam2d, ElasticBeam3d, EnhancedQuad, FourNodeQuad, NLBeamColumn2d, NLBeamColumn3d, Truss, TrussSection, ZeroLength, ZeroLengthND, and ZeroLengthSection.
Referenced by FE_Element::addRIncInertiaToResidual().
|
int Element::getResponse (
|
int responseID,
|
|
Information & eleInformation ) [virtual]
|
|
|
Reimplemented in BeamWithHinges2d, BeamWithHinges3d, CorotTruss, DispBeamColumn2d, DispBeamColumn3d, EightNodeBrick, ElasticBeam2d, ElasticBeam3d, FourNodeQuad, NLBeamColumn2d, NLBeamColumn3d, Truss, TrussSection, ZeroLength, ZeroLengthND, and ZeroLengthSection.
Definition at line 157 of file Element.cpp. |
const Matrix & Element::getSecantStiff (
|
void ) [pure virtual]
|
|
|
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.
Reimplemented in BbarBrick, BeamWithHinges2d, BeamWithHinges3d, Brick, ConstantPressureVolumeQuad, CorotTruss, DispBeamColumn2d, DispBeamColumn3d, EightNodeBrick, ElasticBeam2d, ElasticBeam3d, EnhancedQuad, FourNodeQuad, NLBeamColumn2d, NLBeamColumn3d, Truss, TrussSection, ZeroLength, ZeroLengthND, and ZeroLengthSection.
Referenced by FE_Element::addKsForce(), FE_Element::addKsToTang(), FE_Element::addLocalKsForce(), and FE_Element::getKsForce().
|
const Matrix & Element::getTangentStiff (
|
void ) [pure virtual]
|
|
|
damping and mass matrices.
Reimplemented in BbarBrick, BeamWithHinges2d, BeamWithHinges3d, Brick, ConstantPressureVolumeQuad, CorotTruss, DispBeamColumn2d, DispBeamColumn3d, EightNodeBrick, ElasticBeam2d, ElasticBeam3d, EnhancedQuad, FourNodeQuad, NLBeamColumn2d, NLBeamColumn3d, Truss, TrussSection, ZeroLength, ZeroLengthND, and ZeroLengthSection.
Referenced by FE_Element::addKtForce(), FE_Element::addKtToTang(), FE_Element::addLocalKtForce(), getKi(), FE_Element::getKtForce(), and FE_Element::setKc().
|
bool Element::isSubdomain (
|
void ) [virtual]
|
|
|
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
.
Reimplemented in NLBeamColumn2d, and NLBeamColumn3d.
Definition at line 145 of file Element.cpp.
Referenced by FE_Element::addCtoTang(), FE_Element::addD_Force(), FE_Element::addKcForce(), FE_Element::addKcToTang(), FE_Element::addKiForce(), FE_Element::addKiToTang(), FE_Element::addKsForce(), FE_Element::addKsToTang(), FE_Element::addKtForce(), FE_Element::addKtToTang(), FE_Element::addLocalD_Force(), FE_Element::addLocalKcForce(), FE_Element::addLocalKiForce(), FE_Element::addLocalKsForce(), FE_Element::addLocalKtForce(), FE_Element::addLocalM_Force(), FE_Element::addM_Force(), FE_Element::addMtoTang(), FE_Element::addRIncInertiaToResidual(), FE_Element::addRtoResidual(), Domain::applyLoad(), FE_Element::getD_Force(), FE_Element::getKsForce(), FE_Element::getKtForce(), FE_Element::getM_Force(), FE_Element::getResidual(), FE_Element::getTangForce(), FE_Element::getTangent(), TransformationConstraintHandler::handle(), PlainHandler::handle(), PenaltyConstraintHandler::handle(), LagrangeConstraintHandler::handle(), FE_Element::zeroResidual(), and FE_Element::zeroTangent().
|
int Element::revertToLastCommit (
|
void ) [pure virtual]
|
|
|
The element is to set it's current state to the last committed state. To return
if sucessfull, a negative number if not.
Reimplemented in BbarBrick, BeamWithHinges2d, BeamWithHinges3d, Brick, ConstantPressureVolumeQuad, CorotTruss, DispBeamColumn2d, DispBeamColumn3d, EightNodeBrick, ElasticBeam2d, ElasticBeam3d, EnhancedQuad, FourNodeQuad, NLBeamColumn2d, NLBeamColumn3d, Truss, TrussSection, ZeroLength, ZeroLengthND, and ZeroLengthSection.
Referenced by Domain::revertToLastCommit().
|
int Element::revertToStart (
|
void ) [virtual]
|
|
|
The element is to set it's current state to the state it was at before the analysis started. To return
if sucessfull, a negative number if not.
Reimplemented in BbarBrick, BeamWithHinges2d, BeamWithHinges3d, Brick, ConstantPressureVolumeQuad, CorotTruss, DispBeamColumn2d, DispBeamColumn3d, EightNodeBrick, ElasticBeam2d, ElasticBeam3d, EnhancedQuad, FourNodeQuad, NLBeamColumn2d, NLBeamColumn3d, Truss, TrussSection, ZeroLength, ZeroLengthND, and ZeroLengthSection.
Definition at line 70 of file Element.cpp.
Referenced by Domain::revertToStart().
|
int Element::setKi (
|
void ) [virtual]
|
|
Response * Element::setResponse (
|
char ** argv,
|
|
int argc,
|
|
Information & eleInformation ) [virtual]
|
|
|
method for obtaining information specific to an element.
Reimplemented in BeamWithHinges2d, BeamWithHinges3d, CorotTruss, DispBeamColumn2d, DispBeamColumn3d, EightNodeBrick, ElasticBeam2d, ElasticBeam3d, FourNodeQuad, NLBeamColumn2d, NLBeamColumn3d, Truss, TrussSection, ZeroLength, ZeroLengthND, and ZeroLengthSection.
Definition at line 151 of file Element.cpp.
Referenced by ElementRecorder::ElementRecorder().
|
int Element::update (
|
void ) [virtual]
|
|
void Element::zeroLoad (
|
void ) [pure virtual]
|
|
|
methods for returning and applying loads.
Reimplemented in BbarBrick, BeamWithHinges2d, BeamWithHinges3d, Brick, ConstantPressureVolumeQuad, CorotTruss, DispBeamColumn2d, DispBeamColumn3d, EightNodeBrick, ElasticBeam2d, ElasticBeam3d, EnhancedQuad, FourNodeQuad, NLBeamColumn2d, NLBeamColumn3d, Truss, TrussSection, ZeroLength, ZeroLengthND, and ZeroLengthSection.
Referenced by Domain::applyLoad().
|
Member Data Documentation
Matrix * Element::Ki [protected]
|
|
The documentation for this class was generated from the following files:
|