Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

EquiSolnAlgo.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.3 $
00022 // $Date: 2001/03/29 05:30:30 $
00023 // $Source: /usr/local/cvs/OpenSees/SRC/analysis/algorithm/equiSolnAlgo/EquiSolnAlgo.h,v $
00024                                                                         
00025                                                                         
00026 #ifndef EquiSolnAlgo_h
00027 #define EquiSolnAlgo_h
00028 
00029 // File: ~/OOP/analysis/algorithm/EquiSolnAlgo.h 
00030 // 
00031 // Written: fmk 
00032 // Created: 11/96 
00033 // Revision: A 
00034 //
00035 
00036 // Description: This file contains the class definition for 
00037 // EquiSolnAlgo. EquiSolnAlgo is an abstract base class, 
00038 // i.e. no objects of it's type can be created.  Its subclasses deifine
00039 // the sequence of operations to be performed in the analysis by static
00040 // equilibrium of a finite element model.  
00041 // 
00042 // What: "@(#)EquiSolnAlgo.h, revA"
00043 
00044 #include <SolutionAlgorithm.h>
00045 #include <IncrementalIntegrator.h>
00046 
00047 #include <AnalysisModel.h>
00048 #include <LinearSOE.h>
00049 #include <ConvergenceTest.h>
00050 
00063 class EquiSolnAlgo: public SolutionAlgorithm
00064 {
00065   public:
00070     EquiSolnAlgo(int classTag);
00071 
00075     virtual ~EquiSolnAlgo();
00076 
00077 
00079     void setLinks(AnalysisModel &theModel, 
00080     IncrementalIntegrator &theIntegrator,
00081     LinearSOE &theSOE);
00082     
00084     virtual int solveCurrentStep(void) =0;
00086     virtual void setTest(ConvergenceTest &theNewTest) =0;    
00087 
00089     virtual ConvergenceTest *getTest(void);     
00091     virtual void Print(ostream &s, int flag =0) =0;    
00092 
00093     // the following are not protected as convergence test
00095     AnalysisModel           *getAnalysisModelPtr(void) const;
00097     IncrementalIntegrator   *getIncrementalIntegratorPtr(void) const;
00099     LinearSOE             *getLinearSOEptr(void) const;
00100 
00101   protected:
00102     
00103   private:
00105     AnalysisModel    *theModel;
00107     IncrementalIntegrator *theIntegrator;
00109     LinearSOE     *theSysOfEqn;
00110     
00111 };
00112 
00113 #endif
00114 
00115 
Copyright Contact Us