DiagonalSolver.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.1 $ 00022 // $Date: 2005/01/27 22:22:50 $ 00023 // $Source: /usr/local/cvs/OpenSees/SRC/system_of_eqn/linearSOE/diagonal/DiagonalSolver.h,v $ 00024 00025 // Written: fmk 00026 // Created: Jan 2005 00027 // Revision: A 00028 // 00029 // Description: This file contains the class definition for DiagonalSolver. 00030 // DiagonalSolver is an abstract base class and thus no objects of it's type 00031 // can be instantiated. It has pure virtual functions which must be 00032 // implemented in it's derived classes. Instances of DiagonalSolver 00033 // are used to solve a system of equations of type DiagonalSOE. 00034 // 00035 // What: "@(#) DiagonalSolver.h, revA" 00036 00037 #ifndef DiagonalSolver_h 00038 #define DiagonalSolver_h 00039 00040 #include <LinearSOESolver.h> 00041 class DiagonalSOE; 00042 00043 class DiagonalSolver : public LinearSOESolver 00044 { 00045 public: 00046 DiagonalSolver(int classTag); 00047 virtual ~DiagonalSolver(); 00048 00049 virtual int solve(void) = 0; 00050 virtual int setLinearSOE(DiagonalSOE &theSOE); 00051 00052 protected: 00053 DiagonalSOE *theSOE; 00054 00055 private: 00056 00057 }; 00058 00059 #endif 00060 |