NewtonLineSearch.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.4 $
00022 // $Date: 2005/11/29 22:42:42 $
00023 // $Source: /usr/local/cvs/OpenSees/SRC/analysis/algorithm/equiSolnAlgo/NewtonLineSearch.h,v $
00024 
00025 // Written: fmk 
00026 // Created: 11/96 
00027 // Modified: Ed "C++" Love 10/00 to perform the line search
00028 //
00029 
00030 // Description: This file contains the class definition for 
00031 // NewtonLineSearch. NewtonLineSearch is a class which performs a Newton-Raphson 
00032 // with line search solution algorithm in solving the equations as outline in
00033 // Crissfields book.
00034 // 
00035 // What: "@(#)NewtonLineSearch.h, revA"
00036 
00037 #ifndef NewtonLineSearch_h
00038 #define NewtonLineSearch_h
00039 
00040 #include <EquiSolnAlgo.h>
00041 #include <Vector.h>
00042 #include <LineSearch.h>
00043 
00044 class NewtonLineSearch: public EquiSolnAlgo
00045 {
00046   public:
00047     NewtonLineSearch( );    
00048     NewtonLineSearch(ConvergenceTest &theTest, LineSearch *theLineSearch);
00049     ~NewtonLineSearch( );
00050 
00051     int solveCurrentStep(void);    
00052     int setConvergenceTest(ConvergenceTest *theNewTest);
00053     ConvergenceTest *getConvergenceTest(void);     
00054     
00055     virtual int sendSelf(int commitTag, Channel &theChannel);
00056     virtual int recvSelf(int commitTag, Channel &theChannel, 
00057                          FEM_ObjectBroker &theBroker);
00058 
00059     void Print(OPS_Stream &s, int flag =0);    
00060     
00061   protected:
00062     
00063   private:
00064 
00065     ConvergenceTest *theTest;
00066     LineSearch *theLineSearch;
00067 };
00068 
00069 #endif
00070 
00071 

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