DiagonalSolver.cppGo 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.cpp,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.C, revA" 00036 00037 #include <DiagonalSolver.h> 00038 #include <DiagonalSOE.h> 00039 00040 DiagonalSolver::DiagonalSolver(int theClassTag) 00041 :LinearSOESolver(theClassTag), 00042 theSOE(0) 00043 { 00044 00045 } 00046 00047 DiagonalSolver::~DiagonalSolver() 00048 { 00049 00050 } 00051 00052 int 00053 DiagonalSolver::setLinearSOE(DiagonalSOE &theProfileSPDSOE) 00054 { 00055 theSOE = &theProfileSPDSOE; 00056 return 0; 00057 } 00058 |