Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members
ZeroLengthND Class Reference#include <ZeroLengthND.h>
Inheritance diagram for ZeroLengthND::
List of all members.
Public Methods |
| ZeroLengthND (int tag, int dimension, int Nd1, int Nd2, const Vector &x, const Vector &yprime, NDMaterial &theNDMaterial) |
| Constructor for a single Nd material model of order 2 or 3. More...
|
| ZeroLengthND (int tag, int dimension, int Nd1, int Nd2, const Vector &x, const Vector &yprime, NDMaterial &theNDMaterial, UniaxialMaterial &the1DMaterial) |
| uncoupled 1d material model acting out of plane. More...
|
| ZeroLengthND () |
| ~ZeroLengthND () |
int | getNumExternalNodes (void) const |
| public methods to obtain inforrmation about dof & connectivity. More...
|
const ID& | getExternalNodes (void) |
int | getNumDOF (void) |
void | setDomain (Domain *theDomain) |
int | commitState (void) |
| public methods to set the state of the element. More...
|
int | revertToLastCommit (void) |
int | revertToStart (void) |
const Matrix& | getTangentStiff (void) |
| public methods to obtain stiffness, mass, damping and residual information. More...
|
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) |
| public methods for element output. More...
|
int | recvSelf (int commitTag, Channel &theChannel, FEM_ObjectBroker &theBroker) |
int | displaySelf (Renderer &theViewer, int displayMode, float fact) |
void | Print (ostream &s, int flag=0) |
Response* | setResponse (char **argv, int argc, Information &eleInformation) |
| method for obtaining information specific to an element. More...
|
int | getResponse (int responseID, Information &eleInformation) |
Detailed Description
The ZeroLengthND class represents an element defined by two nodes at the same geometric location, hence it has zero length. The nodes are connected by an NDMaterial object of order 2 or 3, which represents the force-deformation relationship for the element. If the order is 2, a UniaxialMaterial object may be used to define the third mode of force-deformation response.
ZeroLengthND elements are constructed with a {tag} in a domain of {dimension} 2 or 3, connected by nodes {Nd1} and {Nd2}. The vector {x} defines the local x-axis for the element and the vector {yprime} lies in the local x-y plane for the element. The local z-axis is the cross product between {x} and {yprime}, and the local y-axis is the cross product between the local z-axis and {x}. \
Definition at line 72 of file ZeroLengthND.h.
Constructor & Destructor Documentation
ZeroLengthND::ZeroLengthND (
|
int tag,
|
|
int dimension,
|
|
int Nd1,
|
|
int Nd2,
|
|
const Vector & x,
|
|
const Vector & yprime,
|
|
NDMaterial & theNDMaterial )
|
|
|
Constructor for a single Nd material model of order 2 or 3.
Definition at line 62 of file ZeroLengthND.cpp. |
|
uncoupled 1d material model acting out of plane.
Definition at line 90 of file ZeroLengthND.cpp. |
ZeroLengthND::ZeroLengthND (
|
)
|
|
|
Construct a ZeroLengthND element with {tag} . The force-deformation relationship for the element is obtained by invoking {getCopy()} on the {\bf NDMaterial} pointer {theNDMaterial}. The NDMaterial object may be of order 2 or 3. The material model acts in the local space defined by the {x} and {yprime} vectors. If the material model is of order 2, it acts in the element local x-y plane.
Definition at line 124 of file ZeroLengthND.cpp. |
ZeroLengthND::~ZeroLengthND (
|
)
|
|
|
Construct a ZeroLengthND element with {tag} . The force-deformation relationship for the element is obtained by invoking {getCopy()} on the {\bf NDMaterial} pointer {theNDMaterial}. The NDMaterial object must be of order 2. The third mode of force-deformation response is obtained by invoking {getCopy()} on the {\bf UniaxialMaterial} pointer {the1DMaterial}. The material models act in the local space defined by the {x} and {yprime} vectors. The NDMaterial acts in the element x-y plane, while the UniaxialMaterial acts orthogonal to the x-y plane.
Definition at line 134 of file ZeroLengthND.cpp. |
Member Function Documentation
void ZeroLengthND::Print (
|
ostream & s,
|
|
int flag = 0 ) [virtual]
|
|
int ZeroLengthND::addInertiaLoadToUnbalance (
|
const Vector & accel ) [virtual]
|
|
|
The element has no mass, so this operation has no effect and returns 0.
Reimplemented from Element.
Definition at line 379 of file ZeroLengthND.cpp. |
int ZeroLengthND::addLoad (
|
const Vector & addP ) [virtual]
|
|
|
The element has no loads, so this operation has no effect and returns 0.
Reimplemented from Element.
Definition at line 372 of file ZeroLengthND.cpp. |
int ZeroLengthND::commitState (
|
void ) [virtual]
|
|
int ZeroLengthND::displaySelf (
|
Renderer & theViewer,
|
|
int displayMode,
|
|
float fact ) [virtual]
|
|
const Matrix & ZeroLengthND::getDamp (
|
void ) [virtual]
|
|
const ID & ZeroLengthND::getExternalNodes (
|
void ) [virtual]
|
|
|
Return {\bf ID} of size
with the node tags defining the element.
Reimplemented from Element.
Definition at line 154 of file ZeroLengthND.cpp. |
const Matrix & ZeroLengthND::getMass (
|
void ) [virtual]
|
|
int ZeroLengthND::getNumDOF (
|
void ) [virtual]
|
|
|
Return the number of DOF for the element, which depends on the dimension of the problem and the number of DOF associated with each node.
Reimplemented from Element.
Definition at line 160 of file ZeroLengthND.cpp. |
int ZeroLengthND::getNumExternalNodes (
|
void ) const [virtual]
|
|
|
public methods to obtain inforrmation about dof & connectivity.
Reimplemented from Element.
Definition at line 148 of file ZeroLengthND.cpp. |
const Vector & ZeroLengthND::getResistingForce (
|
void ) [virtual]
|
|
|
Return resisting force vector for element. The basic element forces,
, is computed from the material stresses,
, a concatenation of the NDMaterial stress vector and the UniaxialMaterial stress (if present). The element resisting force is computed from the basic forces as
. The material stresses are obtained by calling {getStress()}.
Reimplemented from Element.
Definition at line 386 of file ZeroLengthND.cpp.
Referenced by getResistingForceIncInertia().
|
const Vector & ZeroLengthND::getResistingForceIncInertia (
|
void ) [virtual]
|
|
|
Returns the result of {getResistingForce()} as there is no element mass.
Reimplemented from Element.
Definition at line 429 of file ZeroLengthND.cpp. |
int ZeroLengthND::getResponse (
|
int responseID,
|
|
Information & eleInformation ) [virtual]
|
|
const Matrix & ZeroLengthND::getSecantStiff (
|
void ) [virtual]
|
|
|
Returns the tangent stiffness matrix for the element as the secant stiffness is not defined for NDMaterial objects.
Reimplemented from Element.
Definition at line 341 of file ZeroLengthND.cpp. |
const Matrix & ZeroLengthND::getTangentStiff (
|
void ) [virtual]
|
|
int ZeroLengthND::revertToLastCommit (
|
void ) [virtual]
|
|
|
Revert state of element to last commit by reverting to last committed state of the material(s). Return 0 if successful, !0 otherwise.
Reimplemented from Element.
Definition at line 259 of file ZeroLengthND.cpp. |
int ZeroLengthND::revertToStart (
|
void ) [virtual]
|
|
|
Revert state of element to initial sate by reverting to initial state of the material(s). Return 0 if successful, !0 otherwise.
Reimplemented from Element.
Definition at line 274 of file ZeroLengthND.cpp. |
int ZeroLengthND::sendSelf (
|
int commitTag,
|
|
Channel & theChannel ) [virtual]
|
|
void ZeroLengthND::setDomain (
|
Domain * theDomain ) [virtual]
|
|
|
Initialize element and define data structures. Sets up the element transformation matrix,
, which defines the kinematic relationship between nodal displacements and material deformations.
Reimplemented from DomainComponent.
Definition at line 172 of file ZeroLengthND.cpp. |
Response * ZeroLengthND::setResponse (
|
char ** argv,
|
|
int argc,
|
|
Information & eleInformation ) [virtual]
|
|
|
method for obtaining information specific to an element.
Reimplemented from Element.
Definition at line 679 of file ZeroLengthND.cpp. |
void ZeroLengthND::zeroLoad (
|
void ) [virtual]
|
|
|
The element has no loads, so this operation has no effect.
Reimplemented from Element.
Definition at line 366 of file ZeroLengthND.cpp. |
The documentation for this class was generated from the following files:
|