DomainSolver.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.1.1 $
00022 // $Date: 2000/09/15 08:23:27 $
00023 // $Source: /usr/local/cvs/OpenSees/SRC/system_of_eqn/linearSOE/DomainSolver.h,v $
00024                                                                         
00025                                                                         
00026 // File: ~/system_of_eqn/linearSOE/DomainSolver.h
00027 //
00028 // Written: fmk 
00029 // Created: Tue Sep 26 16:27:47: 1996
00030 // Revision: A
00031 //
00032 // Description: This file contains the class definition for DomainSolver.
00033 // DomainSolver is an abstract base class and thus no objects of it's type
00034 // can be instantiated. It has pure virtual functions which must be
00035 // implemented in it's derived classes.  Instances of DomainSolver are used
00036 // to solve a system of equations and to do static condensation operations on the
00037 // linear system of equations.
00038 //
00039 // What: "@(#) DomainSolver.h, revA"
00040 
00041 #ifndef DomainSolver_h
00042 #define DomainSolver_h
00043 
00044 #include <LinearSOESolver.h>
00045 class Matrix;
00046 class Vector;
00047 
00048 class DomainSolver: public LinearSOESolver
00049 {
00050   public:
00051     DomainSolver(int classTag);    
00052     virtual ~DomainSolver();
00053 
00054     virtual int condenseA(int numInt) =0;
00055     virtual int condenseRHS(int numInt, Vector *u =0) =0;
00056     virtual int computeCondensedMatVect(int numInt, const Vector &u) =0;
00057     virtual const Matrix &getCondensedA(void) =0;
00058     virtual const Vector &getCondensedRHS(void) =0;
00059     virtual const Vector &getCondensedMatVect(void) =0;
00060 
00061     virtual int setComputedXext(const Vector &) =0;
00062     virtual int solveXint(void) =0;
00063     
00064   protected:
00065     
00066   private:
00067 };
00068 
00069 #endif
00070 

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