DistributedDiagonalSolver.h

Go 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/05/25 23:33:46 $
00023 // $Source: /usr/local/cvs/OpenSees/SRC/system_of_eqn/linearSOE/diagonal/DistributedDiagonalSolver.h,v $
00024 
00025 // Written: fmk 
00026 // Created: 05/05
00027 //
00028 // Description: This file contains the class definition for DistributedDiagonalSolver.
00029 // DistributedDiagonalSolver is a concrete class for solving a system stored using
00030 // a DistributedDiagonalSOE. The solve() method is overwritten to allow subclassing.
00031 //
00032 // What: "@(#) DistributedDiagonalSolver.h, revA"
00033 
00034 #ifndef DistributedDiagonalSolver_h
00035 #define DistributedDiagonalSolver_h
00036 
00037 #include <LinearSOESolver.h>
00038 class DistributedDiagonalSOE;
00039 
00040 class DistributedDiagonalSolver : public LinearSOESolver
00041 {
00042   public:
00043     DistributedDiagonalSolver(int classTag);    
00044     DistributedDiagonalSolver(double minDiagTol=1.0e-18);    
00045     virtual ~DistributedDiagonalSolver();
00046 
00047     virtual int solve(void);
00048     virtual int setSize(void);
00049     virtual int setLinearSOE(DistributedDiagonalSOE &theSOE);
00050     int sendSelf(int commitTag, Channel &theChannel);
00051     int recvSelf(int commitTag, Channel &theChannel, FEM_ObjectBroker &theBroker);    
00052     
00053   protected:
00054     DistributedDiagonalSOE *theSOE;
00055 
00056   private:
00057     double minDiagTol;
00058 };
00059 
00060 #endif
00061 

Generated on Mon Oct 23 15:05:28 2006 for OpenSees by doxygen 1.5.0