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

BeamWithHinges2d Class Reference

#include <BeamWithHinges2d.h>

Inheritance diagram for BeamWithHinges2d::

Element DomainComponent TaggedObject MovableObject List of all members.

Public Methods

 BeamWithHinges2d ()
 BeamWithHinges2d (int tag, int nodeI, int nodeJ, double E, double I, double A, double G, double alpha, SectionForceDeformation &sectionRefI, double hingeIlen, SectionForceDeformation &sectionRefJ, double hingeJlen, CrdTransf2d &coordTrans, double shearL=1.0, double massDensPerUnitLength=0.0, int max=1, double tol=1.0e-10)
 BeamWithHinges2d (int tag, int nodeI, int nodeJ, double E, double I, double A, double G, double alpha, SectionForceDeformation &sectionRefI, double hingeIlen, SectionForceDeformation &sectionRefJ, double hingeJlen, CrdTransf2d &coordTrans, const Vector &distLoad, double shearL=1.0, double massDensPerUnitLength=0.0, int max=1, double tol=1.0e-10)
 ~BeamWithHinges2d ()
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 &moreLoad)
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)
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)
void Print (ostream &s, int flag=0)
int displaySelf (Renderer &theViewer, int displayMode, float fact)
 Method for visualisation, default does nothing. More...


Constructor & Destructor Documentation

BeamWithHinges2d::BeamWithHinges2d ( void )
 

Definition at line 65 of file BeamWithHinges2d.cpp.

BeamWithHinges2d::BeamWithHinges2d ( int tag,
int nodeI,
int nodeJ,
double E,
double I,
double A,
double G,
double alpha,
SectionForceDeformation & sectionRefI,
double hingeIlen,
SectionForceDeformation & sectionRefJ,
double hingeJlen,
CrdTransf2d & coordTrans,
double shearL = 1.0,
double massDensPerUnitLength = 0.0,
int max = 1,
double tol = 1.0e-10 )
 

Definition at line 84 of file BeamWithHinges2d.cpp.

BeamWithHinges2d::BeamWithHinges2d ( int tag,
int nodeI,
int nodeJ,
double E,
double I,
double A,
double G,
double alpha,
SectionForceDeformation & sectionRefI,
double hingeIlen,
SectionForceDeformation & sectionRefJ,
double hingeJlen,
CrdTransf2d & coordTrans,
const Vector & distLoad,
double shearL = 1.0,
double massDensPerUnitLength = 0.0,
int max = 1,
double tol = 1.0e-10 )
 

Definition at line 155 of file BeamWithHinges2d.cpp.

BeamWithHinges2d::~BeamWithHinges2d ( void )
 

Definition at line 227 of file BeamWithHinges2d.cpp.


Member Function Documentation

void BeamWithHinges2d::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 780 of file BeamWithHinges2d.cpp.

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

Reimplemented from Element.

Definition at line 427 of file BeamWithHinges2d.cpp.

int BeamWithHinges2d::addLoad ( const Vector & moreLoad ) [virtual]
 

Reimplemented from Element.

Definition at line 413 of file BeamWithHinges2d.cpp.

int BeamWithHinges2d::commitState ( void ) [virtual]
 

methods dealing with committed state and update.

Reimplemented from Element.

Definition at line 303 of file BeamWithHinges2d.cpp.

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

Method for visualisation, default does nothing.

Reimplemented from DomainComponent.

Definition at line 1344 of file BeamWithHinges2d.cpp.

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

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

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

Reimplemented from Element.

Definition at line 247 of file BeamWithHinges2d.cpp.

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

int BeamWithHinges2d::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 253 of file BeamWithHinges2d.cpp.

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

methods dealing with nodes and number of external dof.

Reimplemented from Element.

Definition at line 241 of file BeamWithHinges2d.cpp.

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

Reimplemented from Element.

Definition at line 447 of file BeamWithHinges2d.cpp.

Referenced by getResistingForceIncInertia().

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

Reimplemented from Element.

Definition at line 457 of file BeamWithHinges2d.cpp.

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

Reimplemented from Element.

Definition at line 1291 of file BeamWithHinges2d.cpp.

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

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

damping and mass matrices.

Reimplemented from Element.

Definition at line 380 of file BeamWithHinges2d.cpp.

Referenced by getSecantStiff().

int BeamWithHinges2d::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 598 of file BeamWithHinges2d.cpp.

int BeamWithHinges2d::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 323 of file BeamWithHinges2d.cpp.

int BeamWithHinges2d::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 353 of file BeamWithHinges2d.cpp.

int BeamWithHinges2d::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 478 of file BeamWithHinges2d.cpp.

void BeamWithHinges2d::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 259 of file BeamWithHinges2d.cpp.

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

methods for sensitivity studies.

Reimplemented from DomainComponent.

Definition at line 1366 of file BeamWithHinges2d.cpp.

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

method for obtaining information specific to an element.

Reimplemented from Element.

Definition at line 1256 of file BeamWithHinges2d.cpp.

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

Reimplemented from DomainComponent.

Definition at line 1426 of file BeamWithHinges2d.cpp.

void BeamWithHinges2d::zeroLoad ( void ) [virtual]
 

methods for returning and applying loads.

Reimplemented from Element.

Definition at line 407 of file BeamWithHinges2d.cpp.


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