class MaxNodeDispRecorder : public Recorder


Inheritance:


Public Methods

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

Inherited from Recorder:


Documentation

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

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

Creates a 0 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

~MaxNodeDispRecorder()

Does nothing

int record(int commitTag)

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 0 is entered in the Vector. Returns 0.

int playback(int commitTag)

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 0.

void restart(void)

Zeros the Vector of maximum nodal displacements


This class has no child classes.

alphabetic index Contents

this page has been generated automatically by a slightly modified version of doc++ for OpenSees

Copyright Contact Us