class SolutionAlgorithm : public MovableObject


Inheritance:


Public Methods

SolutionAlgorithm(int classTag)
virtual ~SolutionAlgorithm()
virtual int domainChanged(void)
virtual int addRecorder(Recorder &theRecorder)
virtual int playback(int track)
virtual int record(int track)

Inherited from MovableObject:

Public Methods

int getClassTag(void) const
int getDbTag(void) const
void setDbTag(int dbTag)
virtual int sendSelf(int commitTag, Channel &theChannel)
virtual int recvSelf(int commitTag, Channel &theChannel, FEM_ObjectBroker &theBroker)

Documentation

The SolutionAlgorithm class is an abstract base class. Its purpose is to define the interface common among all its subclasses. A SolutionAlgorithm object performs the steps in the analysis by specifying the sequence of operations to be performed by members in the analysis aggregation.

SolutionAlgorithm(int classTag)

The integer classTag is passed to the MovableObject classes constructor

virtual ~SolutionAlgorithm()

Invokes the destructor on any recorder object added to the SolutionAlgorithm and releases memory used to hold pointers to the recorder objects

virtual int domainChanged(void)

Is called by the Analysis if the domain changes. It is called after domainChange() has been called on the ConstraintHandler, DOF_Numberer and the Integrator and after setSize() has been called on the SystemOfEqn object. For base class nothing is done and 0 is returned. The subclasses can provide their own implementation of this method if anything needs to be done, e.g. memory allocation, To return 0 if successful, a negative number if not.

virtual int addRecorder(Recorder &theRecorder)

To add a recorder object theRecorder to the SolutionAlgorithm. returns 0 if successfull, a warning message and a -1 is returned if not enough mempry is available.

virtual int playback(int track)

To invoke playback(track) on any Recorder objects which have been added to the SolutionAlgorithm

virtual int record(int track)


Direct child classes:
EquiSolnAlgo
EigenAlgorithm

alphabetic index Contents

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

Copyright Contact Us