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

CorotTruss Class Reference

#include <CorotTruss.h>

Inheritance diagram for CorotTruss::

Element DomainComponent TaggedObject MovableObject List of all members.

Public Methods

 CorotTruss (int tag, int dim, int Nd1, int Nd2, UniaxialMaterial &theMaterial, double A, double rho=0.0)
 CorotTruss ()
 ~CorotTruss ()
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 &eleInfo)
 method for obtaining information specific to an element. More...

int getResponse (int responseID, Information &eleInformation)

Constructor & Destructor Documentation

CorotTruss::CorotTruss ( int tag,
int dim,
int Nd1,
int Nd2,
UniaxialMaterial & theMaterial,
double A,
double rho = 0.0 )
 

Definition at line 61 of file CorotTruss.cpp.

CorotTruss::CorotTruss ( )
 

Definition at line 91 of file CorotTruss.cpp.

CorotTruss::~CorotTruss ( )
 

Definition at line 108 of file CorotTruss.cpp.


Member Function Documentation

void CorotTruss::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 525 of file CorotTruss.cpp.

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

Reimplemented from Element.

Definition at line 432 of file CorotTruss.cpp.

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

Reimplemented from Element.

Definition at line 426 of file CorotTruss.cpp.

int CorotTruss::commitState ( void ) [virtual]
 

public methods to set the state of the element.

Reimplemented from Element.

Definition at line 290 of file CorotTruss.cpp.

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

Method for visualisation, default does nothing.

Reimplemented from DomainComponent.

Definition at line 500 of file CorotTruss.cpp.

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

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

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

Reimplemented from Element.

Definition at line 123 of file CorotTruss.cpp.

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

int CorotTruss::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 129 of file CorotTruss.cpp.

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

public methods to obtain inforrmation about dof & connectivity.

Reimplemented from Element.

Definition at line 117 of file CorotTruss.cpp.

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

Reimplemented from Element.

Definition at line 438 of file CorotTruss.cpp.

Referenced by getResistingForceIncInertia().

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

Reimplemented from Element.

Definition at line 467 of file CorotTruss.cpp.

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

Reimplemented from Element.

Definition at line 561 of file CorotTruss.cpp.

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

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

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

Reimplemented from Element.

Definition at line 341 of file CorotTruss.cpp.

Referenced by getSecantStiff().

int CorotTruss::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 494 of file CorotTruss.cpp.

int CorotTruss::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 297 of file CorotTruss.cpp.

int CorotTruss::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 304 of file CorotTruss.cpp.

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

public methods for element output.

Reimplemented from MovableObject.

Definition at line 488 of file CorotTruss.cpp.

void CorotTruss::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 141 of file CorotTruss.cpp.

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

method for obtaining information specific to an element.

Reimplemented from Element.

Definition at line 542 of file CorotTruss.cpp.

int CorotTruss::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 311 of file CorotTruss.cpp.

void CorotTruss::zeroLoad ( void ) [virtual]
 

methods for returning and applying loads.

Reimplemented from Element.

Definition at line 420 of file CorotTruss.cpp.


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