Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

ZeroLength Class Reference

#include <ZeroLength.h>

Inheritance diagram for ZeroLength::

Element DomainComponent TaggedObject MovableObject 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 IDgetExternalNodes (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 MatrixgetTangentStiff (void)
 public methods to obtain stiffness, mass, damping and residual information. More...

const MatrixgetSecantStiff (void)
const MatrixgetDamp (void)
const MatrixgetMass (void)
void zeroLoad (void)
int addLoad (const Vector &addP)
int addInertiaLoadToUnbalance (const Vector &accel)
const VectorgetResistingForce (void)
const VectorgetResistingForceIncInertia (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]
 

Print information about element.

Reimplemented from TaggedObject.

Definition at line 782 of file ZeroLength.cpp.

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]
 

Display element.

Reimplemented from DomainComponent.

Definition at line 745 of file ZeroLength.cpp.

const Matrix & ZeroLength::getDamp ( void ) [virtual]
 

Return a zero damping matrix.

Reimplemented from Element.

Definition at line 419 of file ZeroLength.cpp.

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]
 

Return a zero mass matrix.

Reimplemented from Element.

Definition at line 468 of file ZeroLength.cpp.

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]
 

Return resisting force vector.

Reimplemented from Element.

Definition at line 498 of file ZeroLength.cpp.

Referenced by getResistingForceIncInertia().

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]
 

Reimplemented from Element.

Definition at line 837 of file ZeroLength.cpp.

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]
 

public methods to obtain stiffness, mass, damping and residual information.

Reimplemented from Element.

Definition at line 359 of file ZeroLength.cpp.

Referenced by getSecantStiff().

int ZeroLength::recvSelf ( int commitTag,
Channel & theChannel,
FEM_ObjectBroker & theBroker ) [virtual]
 

Receive information about element over a channel.

Reimplemented from MovableObject.

Definition at line 625 of file ZeroLength.cpp.

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]
 

public methods for element output.

Reimplemented from MovableObject.

Definition at line 546 of file ZeroLength.cpp.

void ZeroLength::setDomain ( Domain * theDomain ) [virtual]
 

Initialize element and define data structures.

Reimplemented from DomainComponent.

Definition at line 213 of file ZeroLength.cpp.

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:
Copyright Contact Us