Joint2D Class Reference

#include <Joint2D.h>

Inheritance diagram for Joint2D:

Element DomainComponent TaggedObject MovableObject List of all members.

Public Member Functions

 Joint2D ()
 Joint2D (int tag, int nd1, int nd2, int nd3, int nd4, int IntNodeTag, UniaxialMaterial &spring1, UniaxialMaterial &spring2, UniaxialMaterial &spring3, UniaxialMaterial &spring4, UniaxialMaterial &springC, Domain *theDomain, int LrgDisp)
 Joint2D (int tag, int nd1, int nd2, int nd3, int nd4, int IntNodeTag, UniaxialMaterial &spring1, UniaxialMaterial &spring2, UniaxialMaterial &spring3, UniaxialMaterial &spring4, UniaxialMaterial &springC, Domain *theDomain, int LrgDisp, DamageModel &dmg1, DamageModel &dmg2, DamageModel &dmg3, DamageModel &dmg4, DamageModel &dmgC)
 ~Joint2D ()
const char * getClassType (void) const
int getNumExternalNodes (void) const
const ID & getExternalNodes (void)
Node ** getNodePtrs (void)
int getNumDOF (void)
void setDomain (Domain *theDomain)
bool isSubdomain (void)
int update (void)
int commitState (void)
int revertToLastCommit (void)
int revertToStart (void)
const Matrix & getTangentStiff (void)
const Matrix & getInitialStiff (void)
const Matrix & getDamp (void)
const Matrix & getMass (void)
void zeroLoad (void)
int addLoad (ElementalLoad *theLoad, double loadFactor)
int addInertiaLoadToUnbalance (const Vector &accel)
const Vector & getResistingForce (void)
const Vector & getResistingForceIncInertia (void)
int displaySelf (Renderer &theViewer, int displayMode, float fact)
Response * setResponse (const char **argv, int argc, Information &eleInformation, OPS_Stream &s)
int getResponse (int responseID, Information &eleInformation)
int sendSelf (int commitTag, Channel &theChannel)
int recvSelf (int commitTag, Channel &theChannel, FEM_ObjectBroker &theBroker)
void Print (OPS_Stream &s, int flag=0)
int addInertiaLoadSensitivityToUnbalance (const Vector &accel, bool tag)
int setParameter (const char **argv, int argc, Parameter &param)
const Vector & getResistingForceSensitivity (int gradNumber)
const Matrix & getKiSensitivity (int gradNumber)
const Matrix & getMassSensitivity (int gradNumber)
int commitSensitivity (int gradNumber, int numGrads)

Protected Member Functions

int addMP_Joint (Domain *theDomain, int mpNum, int RnodeID, int CnodeID, int MainDOF, int FixedEnd, int LrgDispFlag)

Detailed Description

Definition at line 48 of file Joint2D.h.


Constructor & Destructor Documentation

Joint2D::Joint2D (  ) 

Definition at line 58 of file Joint2D.cpp.

Joint2D::Joint2D ( int  tag,
int  nd1,
int  nd2,
int  nd3,
int  nd4,
int  IntNodeTag,
UniaxialMaterial &  spring1,
UniaxialMaterial &  spring2,
UniaxialMaterial &  spring3,
UniaxialMaterial &  spring4,
UniaxialMaterial &  springC,
Domain *  theDomain,
int  LrgDisp 
)

Joint2D::Joint2D ( int  tag,
int  nd1,
int  nd2,
int  nd3,
int  nd4,
int  IntNodeTag,
UniaxialMaterial &  spring1,
UniaxialMaterial &  spring2,
UniaxialMaterial &  spring3,
UniaxialMaterial &  spring4,
UniaxialMaterial &  springC,
Domain *  theDomain,
int  LrgDisp,
DamageModel &  dmg1,
DamageModel &  dmg2,
DamageModel &  dmg3,
DamageModel &  dmg4,
DamageModel &  dmgC 
)

Joint2D::~Joint2D (  ) 


Member Function Documentation

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

Reimplemented from MovableObject.

Definition at line 78 of file Joint2D.h.

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

Implements Element.

Definition at line 561 of file Joint2D.cpp.

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

Implements Element.

Definition at line 566 of file Joint2D.cpp.

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

Implements Element.

Definition at line 571 of file Joint2D.cpp.

int Joint2D::getNumDOF ( void   )  [virtual]

Implements Element.

Definition at line 576 of file Joint2D.cpp.

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

Reimplemented from DomainComponent.

Definition at line 431 of file Joint2D.cpp.

References Domain::getNode(), and DomainComponent::setDomain().

bool Joint2D::isSubdomain ( void   )  [inline, virtual]

Reimplemented from Element.

Definition at line 87 of file Joint2D.h.

int Joint2D::update ( void   )  [virtual]

Reimplemented from Element.

Definition at line 476 of file Joint2D.cpp.

References Node::getTrialDisp().

Referenced by getResistingForceSensitivity().

int Joint2D::commitState ( void   )  [virtual]

int Joint2D::revertToLastCommit ( void   )  [virtual]

Implements Element.

Definition at line 530 of file Joint2D.cpp.

int Joint2D::revertToStart ( void   )  [virtual]

Reimplemented from Element.

Definition at line 545 of file Joint2D.cpp.

Referenced by Joint2D().

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

Implements Element.

Definition at line 581 of file Joint2D.cpp.

References Matrix::Zero().

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

Implements Element.

Definition at line 613 of file Joint2D.cpp.

References Matrix::Zero().

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

Reimplemented from Element.

Definition at line 645 of file Joint2D.cpp.

References Matrix::Zero().

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

Reimplemented from Element.

Definition at line 651 of file Joint2D.cpp.

References Matrix::Zero().

void Joint2D::zeroLoad ( void   )  [virtual]

Implements Element.

Definition at line 669 of file Joint2D.cpp.

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

Implements Element.

Definition at line 674 of file Joint2D.cpp.

int Joint2D::addInertiaLoadToUnbalance ( const Vector &  accel  )  [virtual]

Implements Element.

Definition at line 679 of file Joint2D.cpp.

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

Implements Element.

Definition at line 686 of file Joint2D.cpp.

References Force, and Vector::Zero().

Referenced by getResistingForceIncInertia().

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

Reimplemented from Element.

Definition at line 708 of file Joint2D.cpp.

References getResistingForce().

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

Reimplemented from DomainComponent.

Definition at line 715 of file Joint2D.cpp.

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

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

Reimplemented from Element.

Definition at line 773 of file Joint2D.cpp.

References UniaxialMaterial::setResponse().

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

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

Implements TaggedObject.

Definition at line 657 of file Joint2D.cpp.

References TaggedObject::getTag().

int Joint2D::addInertiaLoadSensitivityToUnbalance ( const Vector &  accel,
bool  tag 
) [virtual]

Reimplemented from Element.

Definition at line 1097 of file Joint2D.cpp.

References Vector::Zero().

int Joint2D::setParameter ( const char **  argv,
int  argc,
Parameter &  param 
) [virtual]

Reimplemented from MovableObject.

Definition at line 1112 of file Joint2D.cpp.

References MovableObject::setParameter().

const Vector & Joint2D::getResistingForceSensitivity ( int  gradNumber  )  [virtual]

Reimplemented from Element.

Definition at line 1185 of file Joint2D.cpp.

References update(), and Vector::Zero().

const Matrix & Joint2D::getKiSensitivity ( int  gradNumber  ) 

Definition at line 1137 of file Joint2D.cpp.

References Matrix::Zero().

const Matrix & Joint2D::getMassSensitivity ( int  gradNumber  )  [virtual]

Reimplemented from Element.

Definition at line 1177 of file Joint2D.cpp.

References Matrix::Zero().

int Joint2D::commitSensitivity ( int  gradNumber,
int  numGrads 
) [virtual]

Reimplemented from Element.

Definition at line 1210 of file Joint2D.cpp.

int Joint2D::addMP_Joint ( Domain *  theDomain,
int  mpNum,
int  RnodeID,
int  CnodeID,
int  MainDOF,
int  FixedEnd,
int  LrgDispFlag 
) [protected]

Definition at line 448 of file Joint2D.cpp.

References Domain::addMP_Constraint(), and opserr.

Referenced by Joint2D().


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

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