SolutionAlgorithm.hGo to the documentation of this file.00001 /* ****************************************************************** ** 00002 ** OpenSees - Open System for Earthquake Engineering Simulation ** 00003 ** Pacific Earthquake Engineering Research Center ** 00004 ** ** 00005 ** ** 00006 ** (C) Copyright 1999, The Regents of the University of California ** 00007 ** All Rights Reserved. ** 00008 ** ** 00009 ** Commercial use of this program without express permission of the ** 00010 ** University of California, Berkeley, is strictly prohibited. See ** 00011 ** file 'COPYRIGHT' in main directory for information on usage and ** 00012 ** redistribution, and for a DISCLAIMER OF ALL WARRANTIES. ** 00013 ** ** 00014 ** Developed by: ** 00015 ** Frank McKenna (fmckenna@ce.berkeley.edu) ** 00016 ** Gregory L. Fenves (fenves@ce.berkeley.edu) ** 00017 ** Filip C. Filippou (filippou@ce.berkeley.edu) ** 00018 ** ** 00019 ** ****************************************************************** */ 00020 00021 // $Revision: 1.3 $ 00022 // $Date: 2004/11/13 08:08:14 $ 00023 // $Source: /usr/local/cvs/OpenSees/SRC/analysis/algorithm/SolutionAlgorithm.h,v $ 00024 00025 00026 #ifndef SolutionAlgorithm_h 00027 #define SolutionAlgorithm_h 00028 00029 // File: ~/OOP/analysis/algorithm/SolutionAlgorithm.h 00030 // 00031 // Written: fmk 00032 // Created: 11/96 00033 // Revision: A 00034 // 00035 // Description: This file contains the class definition for SolutionAlgorithm. 00036 // SolutionAlgorithm is an abstract base class, i.e. no objects of it's 00037 // type can be created. 00038 // 00039 // What: "@(#) SolutionAlgorithm.h, revA" 00040 00041 #include <MovableObject.h> 00042 00043 class Channel; 00044 class FEM_ObjectBroker; 00045 class Recorder; 00046 00047 class SolutionAlgorithm: public MovableObject 00048 { 00049 public: 00050 SolutionAlgorithm(int classTag); 00051 virtual ~SolutionAlgorithm(); 00052 00053 virtual int domainChanged(void); 00054 00055 // methods for monitoring the analysis during an algorithm 00056 virtual int addRecorder(Recorder &theRecorder); 00057 virtual int record(int track); 00058 00059 protected: 00060 00061 private: 00062 Recorder **theRecorders; 00063 int numRecorders; 00064 }; 00065 00066 #endif 00067 00068 |