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

MaxNodeDispRecorder Class Reference

#include <MaxNodeDispRecorder.h>

Inheritance diagram for MaxNodeDispRecorder::

Recorder List of all members.

Public Methods

 MaxNodeDispRecorder (int dof, const ID &theNodes, Domain &theDomain)
 ~MaxNodeDispRecorder ()
int record (int commitTag)
int playback (int commitTag)
void restart (void)

Detailed Description

The MaxNodeDispRecorder class is used to store information about the absolute maximum nodal displacement at a number of specified Nodes for a specified degree of freedom during an analysis. \

}

Definition at line 56 of file MaxNodeDispRecorder.h.


Constructor & Destructor Documentation

MaxNodeDispRecorder::MaxNodeDispRecorder ( int dof,
const ID & theNodes,
Domain & theDomain )
 

Creates a Vector object of size equal to the size of {nodeTags} to store the maximum nodal displacements and creates an ID object equal to {nodeTags} to store the Node tags.

Definition at line 45 of file MaxNodeDispRecorder.cpp.

MaxNodeDispRecorder::~MaxNodeDispRecorder ( )
 

Does nothing.

Definition at line 54 of file MaxNodeDispRecorder.cpp.


Member Function Documentation

int MaxNodeDispRecorder::playback ( int commitTag ) [virtual]
 

Prints to {cerr} the Vector containing the maximum absolute nodal displacements. Note, at the end of the analysis, what is printed is independent of {commitTag}. Returns .

Reimplemented from Recorder.

Definition at line 80 of file MaxNodeDispRecorder.cpp.

int MaxNodeDispRecorder::record ( int commitTag ) [virtual]
 

For each node in {nodeTags} the value of the {dof}'th committed displacement is obtained. If the absolute value of this is greater than the value currently stored in the Vector of max displacements, the value in the Vector is updated. If no Node exists in {theDomain} with the tag or the Node does not have a {dof}'th degree-of-freedom associated with it is entered in the Vector. Returns .

Reimplemented from Recorder.

Definition at line 60 of file MaxNodeDispRecorder.cpp.

void MaxNodeDispRecorder::restart ( void ) [virtual]
 

Zeros the Vector of maximum nodal displacements.

Reimplemented from Recorder.

Definition at line 88 of file MaxNodeDispRecorder.cpp.


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