LineSearch.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 2001, 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: 2003/02/14 23:00:42 $
00023 // $Source: /usr/local/cvs/OpenSees/SRC/analysis/algorithm/equiSolnAlgo/LineSearch.h,v $
00024                                                                         
00025 #ifndef LineSearch_h
00026 #define LineSearch_h
00027 
00028 // Written: fmk 
00029 // Created: 11/01
00030 
00031 // Description: This file contains the class definition for 
00032 // LineSearch. LineSearch is an abstract base class, 
00033 // i.e. no objects of it's type can be created.  Its subclasses seek
00034 // to find a better solution to R(U)=0 than the solution Ui-1 + delta Ui
00035 // would give, typically Ui = Ui-1 + factor * delta Ui.
00036 // 
00037 // What: "@(#)LineSearch.h, revA"
00038 
00039 #include <MovableObject.h>
00040 #include <OPS_Globals.h>
00041 
00042 class SolutionAlgorithm;
00043 class IncrementalIntegrator;
00044 class LinearSOE;
00045 //class OPS_Stream; //Jeremic@ucdavis.edu taken out since there is an include<iOPS_Stream.h> in LineSearch.h 
00046 
00047 class LineSearch: public MovableObject
00048 {
00049   public:
00050     LineSearch(int classTag);
00051     virtual ~LineSearch();
00052 
00053     // virtual functions
00054     virtual int newStep(LinearSOE &theSOE) =0;
00055     virtual int search(double s0, 
00056                        double s1, 
00057                        LinearSOE &theSOE, 
00058                        IncrementalIntegrator &theIntegrator) =0;
00059     virtual void Print(OPS_Stream &s, int flag =0) =0;
00060   protected:
00061     
00062   private:
00063 };
00064 
00065 #endif
00066 
00067 

Generated on Mon Oct 23 15:04:57 2006 for OpenSees by doxygen 1.5.0