Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members
TrussSection Class Reference#include <TrussSection.h>
Inheritance diagram for TrussSection::
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 ID& | getExternalNodes (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 Matrix& | getTangentStiff (void) |
| public methods to obtain stiffness, mass, damping and residual information. More...
|
const Matrix& | getSecantStiff (void) |
const Matrix& | getDamp (void) |
const Matrix& | getMass (void) |
void | zeroLoad (void) |
| methods for returning and applying loads. More...
|
int | addLoad (const Vector &addP) |
int | addInertiaLoadToUnbalance (const Vector &accel) |
const Vector& | getResistingForce (void) |
const Vector& | getResistingForceIncInertia (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 )
|
|
TrussSection::TrussSection (
|
)
|
|
TrussSection::~TrussSection (
|
)
|
|
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]
|
|
int TrussSection::addLoad (
|
const Vector & addP ) [virtual]
|
|
int TrussSection::commitState (
|
void ) [virtual]
|
|
int TrussSection::displaySelf (
|
Renderer & theViewer,
|
|
int displayMode,
|
|
float fact ) [virtual]
|
|
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]
|
|
const Vector & TrussSection::getResistingForceIncInertia (
|
void ) [virtual]
|
|
int TrussSection::getResponse (
|
int responseID,
|
|
Information & eleInformation ) [virtual]
|
|
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]
|
|
|
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]
|
|
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]
|
|
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]
|
|
void TrussSection::zeroLoad (
|
void ) [virtual]
|
|
The documentation for this class was generated from the following files:
|