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

TrussSection Class Reference

#include <TrussSection.h>

Inheritance diagram for TrussSection::

Element DomainComponent TaggedObject MovableObject List of all members.

Public Methods

 TrussSection (int tag, int dimension, int Nd1, int Nd2, SectionForceDeformation &theSection, double rho=0.0)
 TrussSection ()
 ~TrussSection ()
int getNumExternalNodes (void) const
 public methods to obtain inforrmation about dof & connectivity. 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)
int update (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 (void)
 methods for returning and applying loads. More...

int addLoad (const Vector &addP)
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

TrussSection::TrussSection ( int tag,
int dimension,
int Nd1,
int Nd2,
SectionForceDeformation & theSection,
double rho = 0.0 )
 

Definition at line 88 of file TrussSection.cpp.

TrussSection::TrussSection ( )
 

Definition at line 126 of file TrussSection.cpp.

TrussSection::~TrussSection ( )
 

Definition at line 141 of file TrussSection.cpp.


Member Function Documentation

void TrussSection::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 820 of file TrussSection.cpp.

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

Reimplemented from Element.

Definition at line 548 of file TrussSection.cpp.

int TrussSection::addLoad ( const Vector & addP ) [virtual]
 

Reimplemented from Element.

Definition at line 534 of file TrussSection.cpp.

int TrussSection::commitState ( void ) [virtual]
 

public methods to set the state of the element.

Reimplemented from Element.

Definition at line 381 of file TrussSection.cpp.

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

Method for visualisation, default does nothing.

Reimplemented from DomainComponent.

Definition at line 759 of file TrussSection.cpp.

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

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

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

Reimplemented from Element.

Definition at line 157 of file TrussSection.cpp.

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

int TrussSection::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 163 of file TrussSection.cpp.

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

public methods to obtain inforrmation about dof & connectivity.

Reimplemented from Element.

Definition at line 151 of file TrussSection.cpp.

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

Reimplemented from Element.

Definition at line 586 of file TrussSection.cpp.

Referenced by getResistingForceIncInertia().

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

Reimplemented from Element.

Definition at line 615 of file TrussSection.cpp.

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

Reimplemented from Element.

Definition at line 933 of file TrussSection.cpp.

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

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

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

Reimplemented from Element.

Definition at line 427 of file TrussSection.cpp.

Referenced by getSecantStiff().

int TrussSection::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 697 of file TrussSection.cpp.

int TrussSection::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 387 of file TrussSection.cpp.

int TrussSection::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 393 of file TrussSection.cpp.

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

public methods for element output.

Reimplemented from MovableObject.

Definition at line 639 of file TrussSection.cpp.

void TrussSection::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 176 of file TrussSection.cpp.

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

methods for sensitivity studies.

Reimplemented from DomainComponent.

Definition at line 1024 of file TrussSection.cpp.

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

method for obtaining information specific to an element.

Reimplemented from Element.

Definition at line 890 of file TrussSection.cpp.

int TrussSection::update ( void ) [virtual]
 

This method is invoked after the response quantities have been updated in the Domain, but not necessarily committed, e.g. during a non-linear Newton-Raphson solution algorithm. To return if successful, a negative number if not. This base class implementation returns .

Reimplemented from Element.

Definition at line 402 of file TrussSection.cpp.

Referenced by setDomain().

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

Reimplemented from DomainComponent.

Definition at line 1042 of file TrussSection.cpp.

void TrussSection::zeroLoad ( void ) [virtual]
 

methods for returning and applying loads.

Reimplemented from Element.

Definition at line 527 of file TrussSection.cpp.


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