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

FourNodeQuad Class Reference

#include <FourNodeQuad.h>

Inheritance diagram for FourNodeQuad::

Element DomainComponent TaggedObject MovableObject List of all members.

Public Methods

 FourNodeQuad (int tag, int nd1, int nd2, int nd3, int nd4, NDMaterial &m, const char *type, double t, double pressure=0.0, double rho=0.0, double b1=0.0, double b2=0.0)
 FourNodeQuad ()
virtual ~FourNodeQuad ()
int getNumExternalNodes (void) const
 methods dealing with nodes and number of external dof. 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 ()
 methods for returning and applying loads. More...

int addLoad (const Vector &addLoad)
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)
 Method for visualisation, default does nothing. More...

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)
int setParameter (char **argv, int argc, Information &info)
 methods for sensitivity studies. More...

int updateParameter (int parameterID, Information &info)

Constructor & Destructor Documentation

FourNodeQuad::FourNodeQuad ( int tag,
int nd1,
int nd2,
int nd3,
int nd4,
NDMaterial & m,
const char * type,
double t,
double pressure = 0.0,
double rho = 0.0,
double b1 = 0.0,
double b2 = 0.0 )
 

Definition at line 53 of file FourNodeQuad.cpp.

FourNodeQuad::FourNodeQuad ( )
 

Definition at line 103 of file FourNodeQuad.cpp.

FourNodeQuad::~FourNodeQuad ( ) [virtual]
 

Definition at line 123 of file FourNodeQuad.cpp.


Member Function Documentation

void FourNodeQuad::Print ( ostream & s,
int flag = 0 ) [virtual]
 

A pure virtual function. The component is to output itself to the output stream {s}. The integer {flag} can be used to select just what should be output, by default is passed.

Reimplemented from TaggedObject.

Definition at line 743 of file FourNodeQuad.cpp.

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

Reimplemented from Element.

Definition at line 388 of file FourNodeQuad.cpp.

int FourNodeQuad::addLoad ( const Vector & addLoad ) [virtual]
 

Reimplemented from Element.

Definition at line 372 of file FourNodeQuad.cpp.

int FourNodeQuad::commitState ( void ) [virtual]
 

public methods to set the state of the element.

Reimplemented from Element.

Definition at line 200 of file FourNodeQuad.cpp.

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

Method for visualisation, default does nothing.

Reimplemented from DomainComponent.

Definition at line 758 of file FourNodeQuad.cpp.

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

To return the damping matrix. The element is to compute its damping matrix based on the original location of the nodes and the current trial response quantities at the nodes.

Reimplemented from Element.

Definition at line 317 of file FourNodeQuad.cpp.

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

To return an ID containing the tags of the external nodes for the element.

Reimplemented from Element.

Definition at line 142 of file FourNodeQuad.cpp.

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

To return the mass matrix. The element is to compute its mass matrix based on the original location of the nodes and the current trial response quantities at the nodes.

Reimplemented from Element.

Definition at line 325 of file FourNodeQuad.cpp.

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

int FourNodeQuad::getNumDOF ( void ) [virtual]
 

To return the number of dof associated with the element. This should equal the sum of the dofs at each of the external nodes. To ensure this, each subclass can overwrite the DomainComponent classes {setDomain()} method.

Reimplemented from Element.

Definition at line 148 of file FourNodeQuad.cpp.

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

methods dealing with nodes and number of external dof.

Reimplemented from Element.

Definition at line 136 of file FourNodeQuad.cpp.

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

Reimplemented from Element.

Definition at line 437 of file FourNodeQuad.cpp.

Referenced by getResistingForceIncInertia().

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

Reimplemented from Element.

Definition at line 515 of file FourNodeQuad.cpp.

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

Reimplemented from Element.

Definition at line 829 of file FourNodeQuad.cpp.

const Matrix & FourNodeQuad::getSecantStiff ( void ) [virtual]
 

To return the elements secant stiffness matrix. The element is to compute its stiffness matrix based on the original location of the nodes and the current trial displacement at the nodes. THIS SECANT MAY BE REMOVED.

Reimplemented from Element.

Definition at line 311 of file FourNodeQuad.cpp.

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

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

Reimplemented from Element.

Definition at line 236 of file FourNodeQuad.cpp.

Referenced by getSecantStiff().

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

This is a pure virtual method, one must be written for each instantiable subclass of MovableObject. Each object has to receive the data needed to be able to recreate itself in the new process after it has been sent through {theChannel}. If the object is an aggregation containing other objects, new objects of the correct type can be constructed using {theBroker}. To return if successful or a if not.

Reimplemented from MovableObject.

Definition at line 630 of file FourNodeQuad.cpp.

int FourNodeQuad::revertToLastCommit ( void ) [virtual]
 

The element is to set it's current state to the last committed state. To return if sucessfull, a negative number if not.

Reimplemented from Element.

Definition at line 212 of file FourNodeQuad.cpp.

int FourNodeQuad::revertToStart ( void ) [virtual]
 

The element is to set it's current state to the state it was at before the analysis started. To return if sucessfull, a negative number if not.

Reimplemented from Element.

Definition at line 224 of file FourNodeQuad.cpp.

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

public methods for element output.

Reimplemented from MovableObject.

Definition at line 558 of file FourNodeQuad.cpp.

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

Sets the encompassing domain of the component to that given by {theDomain}. This method is invoked by {theDomain} when the component is being added to the domain, in an {addDomain..} invocation (see interface for Domain).

Reimplemented from DomainComponent.

Definition at line 154 of file FourNodeQuad.cpp.

int FourNodeQuad::setParameter ( char ** argv,
int argc,
Information & info ) [virtual]
 

methods for sensitivity studies.

Reimplemented from DomainComponent.

Definition at line 845 of file FourNodeQuad.cpp.

Response * FourNodeQuad::setResponse ( char ** argv,
int argc,
Information & eleInformation ) [virtual]
 

method for obtaining information specific to an element.

Reimplemented from Element.

Definition at line 807 of file FourNodeQuad.cpp.

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

Reimplemented from DomainComponent.

Definition at line 882 of file FourNodeQuad.cpp.

void FourNodeQuad::zeroLoad ( void ) [virtual]
 

methods for returning and applying loads.

Reimplemented from Element.

Definition at line 364 of file FourNodeQuad.cpp.


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