DiagonalDirectSolver.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/DiagonalDirectSolver.h,v $ 00024 00025 // Written: fmk 00026 // Created: Jan 2005 00027 // Revision: A 00028 // 00029 // Description: This file contains the class definition for 00030 // DiagonalDirectSolver. DiagonalDirectSolver is a subclass 00031 // of LinearSOESOlver. It solves diagonal system directly! 00032 00033 // What: "@(#) DiagonalDirectSolver.h, revA" 00034 00035 #ifndef DiagonalDirectSolver_h 00036 #define DiagonalDirectSolver_h 00037 00038 #include <DiagonalSolver.h> 00039 class DiagonalSOE; 00040 00041 class DiagonalDirectSolver : public DiagonalSolver 00042 { 00043 public: 00044 DiagonalDirectSolver(double tol=1.0e-18); 00045 virtual ~DiagonalDirectSolver(); 00046 00047 virtual int solve(void); 00048 virtual int setSize(void); 00049 double getDeterminant(void); 00050 00051 virtual int setDiagonalSOE(DiagonalSOE &theSOE); 00052 00053 int sendSelf(int commitTag, Channel &theChannel); 00054 int recvSelf(int commitTag, Channel &theChannel, FEM_ObjectBroker &theBroker); 00055 00056 protected: 00057 double minDiagTol; 00058 00059 private: 00060 00061 }; 00062 00063 00064 #endif 00065 |