FourNodeQuadUP Class Reference

#include <FourNodeQuadUP.h>

Inheritance diagram for FourNodeQuadUP:

Element DomainComponent TaggedObject MovableObject List of all members.

Public Member Functions

 FourNodeQuadUP (int tag, int nd1, int nd2, int nd3, int nd4, NDMaterial &m, const char *type, double t, double bulk, double rhof, double perm1, double perm2, double b1=0.0, double b2=0.0, double p=0.0)
 FourNodeQuadUP ()
virtual ~FourNodeQuadUP ()
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 ()
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)
int setParameter (const char **argv, int argc, Parameter &param)
int updateParameter (int parameterID, Information &info)

Friends

class PyLiq1
class TzLiq1

Detailed Description

Definition at line 61 of file FourNodeQuadUP.h.


Constructor & Destructor Documentation

FourNodeQuadUP::FourNodeQuadUP ( int  tag,
int  nd1,
int  nd2,
int  nd3,
int  nd4,
NDMaterial m,
const char *  type,
double  t,
double  bulk,
double  rhof,
double  perm1,
double  perm2,
double  b1 = 0.0,
double  b2 = 0.0,
double  p = 0.0 
)

Definition at line 41 of file FourNodeQuadUP.cpp.

References exit(), NDMaterial::getCopy(), and opserr.

FourNodeQuadUP::FourNodeQuadUP (  ) 

Definition at line 97 of file FourNodeQuadUP.cpp.

FourNodeQuadUP::~FourNodeQuadUP (  )  [virtual]

Definition at line 118 of file FourNodeQuadUP.cpp.


Member Function Documentation

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

Reimplemented from MovableObject.

Definition at line 81 of file FourNodeQuadUP.h.

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

Implements Element.

Definition at line 134 of file FourNodeQuadUP.cpp.

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

Implements Element.

Definition at line 140 of file FourNodeQuadUP.cpp.

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

Implements Element.

Definition at line 146 of file FourNodeQuadUP.cpp.

int FourNodeQuadUP::getNumDOF ( void   )  [virtual]

Implements Element.

Definition at line 157 of file FourNodeQuadUP.cpp.

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

Reimplemented from DomainComponent.

Definition at line 163 of file FourNodeQuadUP.cpp.

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

int FourNodeQuadUP::commitState ( void   )  [virtual]

Reimplemented from Element.

Definition at line 209 of file FourNodeQuadUP.cpp.

References opserr.

int FourNodeQuadUP::revertToLastCommit ( void   )  [virtual]

Implements Element.

Definition at line 226 of file FourNodeQuadUP.cpp.

int FourNodeQuadUP::revertToStart ( void   )  [virtual]

Reimplemented from Element.

Definition at line 238 of file FourNodeQuadUP.cpp.

int FourNodeQuadUP::update ( void   )  [virtual]

Reimplemented from Element.

Definition at line 250 of file FourNodeQuadUP.cpp.

References Node::getTrialDisp(), NDMaterial::setTrialStrain(), and Vector::Zero().

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

Implements Element.

Definition at line 297 of file FourNodeQuadUP.cpp.

References alpha, TzLiq1::getTangent(), and Matrix::Zero().

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

Implements Element.

Definition at line 339 of file FourNodeQuadUP.cpp.

References alpha, exit(), TzLiq1::getInitialTangent(), opserr, and Matrix::Zero().

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

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

Reimplemented from Element.

Definition at line 453 of file FourNodeQuadUP.cpp.

References Matrix::Zero().

Referenced by addInertiaLoadToUnbalance(), getDamp(), getResistingForceIncInertia(), and updateParameter().

void FourNodeQuadUP::zeroLoad (  )  [virtual]

Implements Element.

Definition at line 511 of file FourNodeQuadUP.cpp.

References Vector::Zero().

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

Implements Element.

Definition at line 519 of file FourNodeQuadUP.cpp.

References TaggedObject::getTag(), and opserr.

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

Implements Element.

Definition at line 527 of file FourNodeQuadUP.cpp.

References getMass(), Node::getRV(), opserr, and Vector::Size().

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

Implements Element.

Definition at line 572 of file FourNodeQuadUP.cpp.

References Vector::addVector(), alpha, TzLiq1::getStress(), and Vector::Zero().

Referenced by getResistingForceIncInertia().

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

Reimplemented from Element.

Definition at line 630 of file FourNodeQuadUP.cpp.

References getDamp(), getMass(), getResistingForce(), Node::getTrialAccel(), Node::getTrialVel(), and k.

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

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

Reimplemented from DomainComponent.

Definition at line 907 of file FourNodeQuadUP.cpp.

References Renderer::drawPolygon(), Node::getCrds(), Node::getDisp(), and TzLiq1::getStress().

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

Implements TaggedObject.

Definition at line 892 of file FourNodeQuadUP.cpp.

References endln, TzLiq1::getStress(), TaggedObject::getTag(), and TaggedObject::Print().

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

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

Reimplemented from Element.

Definition at line 1005 of file FourNodeQuadUP.cpp.

References Information::setMatrix(), and Information::setVector().

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

Reimplemented from MovableObject.

Definition at line 1021 of file FourNodeQuadUP.cpp.

References Parameter::addObject(), and MovableObject::setParameter().

int FourNodeQuadUP::updateParameter ( int  parameterID,
Information info 
) [virtual]

Reimplemented from MovableObject.

Definition at line 1054 of file FourNodeQuadUP.cpp.

References getMass(), Information::theDouble, and MovableObject::updateParameter().


Friends And Related Function Documentation

friend class PyLiq1 [friend]

Definition at line 161 of file FourNodeQuadUP.h.

friend class TzLiq1 [friend]

Definition at line 163 of file FourNodeQuadUP.h.


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

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