Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members
ZeroLength Class Reference#include <ZeroLength.h>
Inheritance diagram for ZeroLength::
List of all members.
Public Methods |
| ZeroLength (int tag, int dimension, int Nd1, int Nd2, const Vector &x, const Vector &yprime, UniaxialMaterial &theMaterial, int direction) |
| Constructor for a single 1d material model. More...
|
| ZeroLength (int tag, int dimension, int Nd1, int Nd2, const Vector &x, const Vector &yprime, int n1dMat, UniaxialMaterial **theMaterial, const ID &direction) |
| Constructor for a multiple 1d material models. More...
|
| ZeroLength () |
| ~ZeroLength () |
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 ZeroLength class represents an element defined by two nodes at the same geometric location, hence it has zero length. The nodes are connected by of uniaxial materials to represent the force-deformation relationship for the element.
ZeroLength elements are constructed with a {tag} in a domain of {dimension} 1, 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 77 of file ZeroLength.h.
Constructor & Destructor Documentation
ZeroLength::ZeroLength (
|
int tag,
|
|
int dimension,
|
|
int Nd1,
|
|
int Nd2,
|
|
const Vector & x,
|
|
const Vector & yprime,
|
|
UniaxialMaterial & theMaterial,
|
|
int direction )
|
|
|
Constructor for a single 1d material model.
Definition at line 69 of file ZeroLength.cpp. |
ZeroLength::ZeroLength (
|
int tag,
|
|
int dimension,
|
|
int Nd1,
|
|
int Nd2,
|
|
const Vector & x,
|
|
const Vector & yprime,
|
|
int n1dMat,
|
|
UniaxialMaterial ** theMaterial,
|
|
const ID & direction )
|
|
|
Constructor for a multiple 1d material models.
Definition at line 105 of file ZeroLength.cpp. |
ZeroLength::ZeroLength (
|
void )
|
|
|
Construct a ZeroLength element with {tag} . The force-deformation relationship for the element is given by a pointer {theMaterial} to a {\bf UniaxialMaterial} model acting in local {direction}. The local {direction} is 1, 2, 3, for translation in the local x, y, z axes or 4, 5, 6 for rotation about the local x, y, z axes.
Definition at line 147 of file ZeroLength.cpp. |
ZeroLength::~ZeroLength (
|
)
|
|
|
Construct a ZeroLength element with {tag} . The force-deformation relationship is given by the {n1dMat} pointers {theMaterial} to {\bf UniaxialMaterial} models. {direction} is an {\bf ID} of length {n1dMat} that gives the local direction for each corresponding entry in the array {theMaterial} The local {direction} is 1, 2, 3, for translation in the local x, y, z axes or 4, 5, 6 for rotation about the local x, y, z axes.
Definition at line 165 of file ZeroLength.cpp. |
Member Function Documentation
void ZeroLength::Print (
|
ostream & s,
|
|
int flag = 0 ) [virtual]
|
|
int ZeroLength::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 490 of file ZeroLength.cpp. |
int ZeroLength::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 483 of file ZeroLength.cpp. |
int ZeroLength::commitState (
|
void ) [virtual]
|
|
|
public methods to set the state of the element.
Reimplemented from Element.
Definition at line 321 of file ZeroLength.cpp. |
int ZeroLength::displaySelf (
|
Renderer & theViewer,
|
|
int displayMode,
|
|
float fact ) [virtual]
|
|
const Matrix & ZeroLength::getDamp (
|
void ) [virtual]
|
|
const ID & ZeroLength::getExternalNodes (
|
void ) [virtual]
|
|
|
Return {\bf ID} of size
with the node tags defining the element.
Reimplemented from Element.
Definition at line 193 of file ZeroLength.cpp. |
const Matrix & ZeroLength::getMass (
|
void ) [virtual]
|
|
int ZeroLength::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 200 of file ZeroLength.cpp. |
int ZeroLength::getNumExternalNodes (
|
void ) const [virtual]
|
|
|
public methods to obtain inforrmation about dof & connectivity.
Reimplemented from Element.
Definition at line 186 of file ZeroLength.cpp. |
const Vector & ZeroLength::getResistingForce (
|
void ) [virtual]
|
|
const Vector & ZeroLength::getResistingForceIncInertia (
|
void ) [virtual]
|
|
|
Return resisting force vector with inertia included.
Reimplemented from Element.
Definition at line 537 of file ZeroLength.cpp. |
int ZeroLength::getResponse (
|
int responseID,
|
|
Information & eleInformation ) [virtual]
|
|
const Matrix & ZeroLength::getSecantStiff (
|
void ) [virtual]
|
|
|
Return secant stiffness matrix of element. The secant stiffness is defined by the secant for the materials.
Reimplemented from Element.
Definition at line 411 of file ZeroLength.cpp. |
const Matrix & ZeroLength::getTangentStiff (
|
void ) [virtual]
|
|
int ZeroLength::revertToLastCommit (
|
void ) [virtual]
|
|
|
Revert state of element to last commit by reverting to last committed state of materials. Return 0 if successful, !0 otherwise.
Reimplemented from Element.
Definition at line 333 of file ZeroLength.cpp. |
int ZeroLength::revertToStart (
|
void ) [virtual]
|
|
|
Revert state of element to initial sate by reverting to initial state of materials. Return 0 if successful, !0 otherwise.
Reimplemented from Element.
Definition at line 346 of file ZeroLength.cpp. |
int ZeroLength::sendSelf (
|
int commitTag,
|
|
Channel & theChannel ) [virtual]
|
|
void ZeroLength::setDomain (
|
Domain * theDomain ) [virtual]
|
|
Response * ZeroLength::setResponse (
|
char ** argv,
|
|
int argc,
|
|
Information & eleInformation ) [virtual]
|
|
|
method for obtaining information specific to an element.
Reimplemented from Element.
Definition at line 805 of file ZeroLength.cpp. |
void ZeroLength::zeroLoad (
|
void ) [virtual]
|
|
|
The element has no loads, so this operation has no effect.
Reimplemented from Element.
Definition at line 477 of file ZeroLength.cpp. |
The documentation for this class was generated from the following files:
|