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

ElasticBeam2d Class Reference

#include <ElasticBeam2d.h>

Inheritance diagram for ElasticBeam2d::

Element DomainComponent TaggedObject MovableObject List of all members.

Public Methods

 ElasticBeam2d ()
 ElasticBeam2d (int tag, double A, double E, double I, int Nd1, int Nd2, CrdTransf2d &theTransf, double rho=0.0)
 ~ElasticBeam2d ()
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)
 methods dealing with committed state and update. More...

int revertToLastCommit (void)
int revertToStart (void)
const MatrixgetTangentStiff (void)
 damping and mass matrices. More...

const MatrixgetSecantStiff (void)
const MatrixgetDamp (void)
const MatrixgetMass (void)
void zeroLoad (void)
 methods for returning and applying loads. More...

int addLoad (const Vector &load)
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)
void Print (ostream &s, int flag=0)
int displaySelf (Renderer &theViewer, int displayMode, float fact)
 Method for visualisation, default does nothing. More...

Response* setResponse (char **argv, int argc, Information &info)
 method for obtaining information specific to an element. More...

int getResponse (int responseID, Information &info)
int setParameter (char **argv, int argc, Information &info)
 methods for sensitivity studies. More...

int updateParameter (int parameterID, Information &info)

Constructor & Destructor Documentation

ElasticBeam2d::ElasticBeam2d ( )
 

Definition at line 52 of file ElasticBeam2d.cpp.

ElasticBeam2d::ElasticBeam2d ( int tag,
double A,
double E,
double I,
int Nd1,
int Nd2,
CrdTransf2d & theTransf,
double rho = 0.0 )
 

Definition at line 60 of file ElasticBeam2d.cpp.

ElasticBeam2d::~ElasticBeam2d ( )
 

Definition at line 76 of file ElasticBeam2d.cpp.


Member Function Documentation

void ElasticBeam2d::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 415 of file ElasticBeam2d.cpp.

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

Reimplemented from Element.

Definition at line 235 of file ElasticBeam2d.cpp.

int ElasticBeam2d::addLoad ( const Vector & load ) [virtual]
 

Reimplemented from Element.

Definition at line 221 of file ElasticBeam2d.cpp.

int ElasticBeam2d::commitState ( void ) [virtual]
 

methods dealing with committed state and update.

Reimplemented from Element.

Definition at line 140 of file ElasticBeam2d.cpp.

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

Method for visualisation, default does nothing.

Reimplemented from DomainComponent.

Definition at line 423 of file ElasticBeam2d.cpp.

const Matrix & ElasticBeam2d::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 187 of file ElasticBeam2d.cpp.

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

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

Reimplemented from Element.

Definition at line 89 of file ElasticBeam2d.cpp.

const Matrix & ElasticBeam2d::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 195 of file ElasticBeam2d.cpp.

int ElasticBeam2d::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 95 of file ElasticBeam2d.cpp.

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

methods dealing with nodes and number of external dof.

Reimplemented from Element.

Definition at line 83 of file ElasticBeam2d.cpp.

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

Reimplemented from Element.

Definition at line 284 of file ElasticBeam2d.cpp.

Referenced by getResistingForceIncInertia().

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

Reimplemented from Element.

Definition at line 265 of file ElasticBeam2d.cpp.

int ElasticBeam2d::getResponse ( int responseID,
Information & info ) [virtual]
 

Reimplemented from Element.

Definition at line 465 of file ElasticBeam2d.cpp.

const Matrix & ElasticBeam2d::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 181 of file ElasticBeam2d.cpp.

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

damping and mass matrices.

Reimplemented from Element.

Definition at line 158 of file ElasticBeam2d.cpp.

Referenced by getSecantStiff().

int ElasticBeam2d::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 355 of file ElasticBeam2d.cpp.

int ElasticBeam2d::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 146 of file ElasticBeam2d.cpp.

int ElasticBeam2d::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 152 of file ElasticBeam2d.cpp.

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

This is a pure virtual method, one must be written for each instantiable subclass of MovableObject. Each object has to send the data needed to be able to reproduce that object in a remote process. The object uses the methods provided by {theChannel} object to send the data to another channel at the remote actor, the address of the channel is set before this method is called. An object of similar type at the remote actor is invoked with a {receiveSelf()} to receive the data. Returns if successful (successful in that the data got to the channel), or a if no data was sent.

Reimplemented from MovableObject.

Definition at line 310 of file ElasticBeam2d.cpp.

void ElasticBeam2d::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 101 of file ElasticBeam2d.cpp.

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

methods for sensitivity studies.

Reimplemented from DomainComponent.

Definition at line 495 of file ElasticBeam2d.cpp.

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

method for obtaining information specific to an element.

Reimplemented from Element.

Definition at line 445 of file ElasticBeam2d.cpp.

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

Reimplemented from DomainComponent.

Definition at line 520 of file ElasticBeam2d.cpp.

void ElasticBeam2d::zeroLoad ( void ) [virtual]
 

methods for returning and applying loads.

Reimplemented from Element.

Definition at line 213 of file ElasticBeam2d.cpp.


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