ZeroLength Class Reference

#include <ZeroLength.h>

Inheritance diagram for ZeroLength:

Element DomainComponent TaggedObject MovableObject List of all members.

Public Member Functions

 ZeroLength (int tag, int dimension, int Nd1, int Nd2, const Vector &x, const Vector &yprime, UniaxialMaterial &theMaterial, int direction)
 ZeroLength (int tag, int dimension, int Nd1, int Nd2, const Vector &x, const Vector &yprime, int n1dMat, UniaxialMaterial **theMaterial, const ID &direction)
 ZeroLength ()
 ~ZeroLength ()
const char * getClassType (void) const
int getNumExternalNodes (void) const
const IDgetExternalNodes (void)
Node ** getNodePtrs (void)
int getNumDOF (void)
void setDomain (Domain *theDomain)
int commitState (void)
int revertToLastCommit (void)
int revertToStart (void)
int update (void)
const MatrixgetTangentStiff (void)
const MatrixgetInitialStiff (void)
const MatrixgetDamp (void)
const MatrixgetMass (void)
void zeroLoad (void)
int addLoad (ElementalLoad *theLoad, double loadFactor)
int addInertiaLoadToUnbalance (const Vector &accel)
const VectorgetResistingForce (void)
const VectorgetResistingForceIncInertia (void)
int sendSelf (int commitTag, Channel &theChannel)
int recvSelf (int commitTag, Channel &theChannel, FEM_ObjectBroker &theBroker)
int displaySelf (Renderer &theViewer, int displayMode, float fact)
void Print (OPS_Stream &s, int flag=0)
ResponsesetResponse (const char **argv, int argc, Information &eleInformation, OPS_Stream &s)
int getResponse (int responseID, Information &eleInformation)
void updateDir (const Vector &x, const Vector &y)

Detailed Description

Definition at line 59 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 
)

Definition at line 67 of file ZeroLength.cpp.

References endln, exit(), UniaxialMaterial::getCopy(), TaggedObject::getTag(), and opserr.

ZeroLength::ZeroLength ( int  tag,
int  dimension,
int  Nd1,
int  Nd2,
const Vector x,
const Vector yprime,
int  n1dMat,
UniaxialMaterial **  theMaterial,
const ID direction 
)

Definition at line 105 of file ZeroLength.cpp.

References endln, exit(), TaggedObject::getTag(), and opserr.

ZeroLength::ZeroLength (  ) 

Definition at line 149 of file ZeroLength.cpp.

References opserr, and ID::Size().

ZeroLength::~ZeroLength (  ) 

Definition at line 166 of file ZeroLength.cpp.


Member Function Documentation

const char* ZeroLength::getClassType ( void   )  const [inline, virtual]

Reimplemented from MovableObject.

Definition at line 85 of file ZeroLength.h.

int ZeroLength::getNumExternalNodes ( void   )  const [virtual]

Implements Element.

Definition at line 187 of file ZeroLength.cpp.

const ID & ZeroLength::getExternalNodes ( void   )  [virtual]

Implements Element.

Definition at line 194 of file ZeroLength.cpp.

Node ** ZeroLength::getNodePtrs ( void   )  [virtual]

Implements Element.

Definition at line 202 of file ZeroLength.cpp.

int ZeroLength::getNumDOF ( void   )  [virtual]

Implements Element.

Definition at line 208 of file ZeroLength.cpp.

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

int ZeroLength::commitState ( void   )  [virtual]

Reimplemented from Element.

Definition at line 328 of file ZeroLength.cpp.

References opserr.

int ZeroLength::revertToLastCommit ( void   )  [virtual]

Implements Element.

Definition at line 345 of file ZeroLength.cpp.

int ZeroLength::revertToStart ( void   )  [virtual]

Reimplemented from Element.

Definition at line 358 of file ZeroLength.cpp.

int ZeroLength::update ( void   )  [virtual]

Reimplemented from Element.

Definition at line 371 of file ZeroLength.cpp.

References Node::getTrialDisp(), Node::getTrialVel(), and UniaxialMaterial::setTrialStrain().

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

Implements Element.

Definition at line 399 of file ZeroLength.cpp.

References Matrix::Zero().

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

Implements Element.

Definition at line 436 of file ZeroLength.cpp.

References Matrix::Zero().

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

Reimplemented from Element.

Definition at line 473 of file ZeroLength.cpp.

References Matrix::Zero().

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

Reimplemented from Element.

Definition at line 507 of file ZeroLength.cpp.

References Matrix::Zero().

void ZeroLength::zeroLoad ( void   )  [virtual]

Implements Element.

Definition at line 516 of file ZeroLength.cpp.

int ZeroLength::addLoad ( ElementalLoad theLoad,
double  loadFactor 
) [virtual]

Implements Element.

Definition at line 522 of file ZeroLength.cpp.

References endln, TaggedObject::getTag(), and opserr.

int ZeroLength::addInertiaLoadToUnbalance ( const Vector accel  )  [virtual]

Implements Element.

Definition at line 530 of file ZeroLength.cpp.

const Vector & ZeroLength::getResistingForce ( void   )  [virtual]

Implements Element.

Definition at line 538 of file ZeroLength.cpp.

References Vector::Zero().

Referenced by getResistingForceIncInertia().

const Vector & ZeroLength::getResistingForceIncInertia ( void   )  [virtual]

Reimplemented from Element.

Definition at line 562 of file ZeroLength.cpp.

References getResistingForce().

int ZeroLength::sendSelf ( int  commitTag,
Channel theChannel 
) [virtual]

int ZeroLength::displaySelf ( Renderer theViewer,
int  displayMode,
float  fact 
) [virtual]

Reimplemented from DomainComponent.

Definition at line 763 of file ZeroLength.cpp.

References Renderer::drawLine(), Node::getCrds(), and Node::getDisp().

void ZeroLength::Print ( OPS_Stream s,
int  flag = 0 
) [virtual]

Implements TaggedObject.

Definition at line 800 of file ZeroLength.cpp.

References endln, and TaggedObject::getTag().

Response * ZeroLength::setResponse ( const char **  argv,
int  argc,
Information eleInformation,
OPS_Stream s 
) [virtual]

Reimplemented from Element.

Definition at line 824 of file ZeroLength.cpp.

References OPS_Stream::attr(), OPS_Stream::endTag(), UniaxialMaterial::setResponse(), and OPS_Stream::tag().

int ZeroLength::getResponse ( int  responseID,
Information eleInformation 
) [virtual]

void ZeroLength::updateDir ( const Vector x,
const Vector y 
)

Definition at line 1114 of file ZeroLength.cpp.


The documentation for this class was generated from the following files:

Generated on Mon Oct 23 15:05:52 2006 for OpenSees by doxygen 1.5.0