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

ModifiedNewton.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/ModifiedNewton.h,v $
00024                                                                         
00025                                                                         
00026 #ifndef ModifiedNewton_h
00027 #define ModifiedNewton_h
00028 
00029 // File: ~/OOP/analysis/algorithm/ModifiedNewton.h 
00030 // 
00031 // Written: fmk 
00032 // Created: 11/96 
00033 // Revision: A 
00034 //
00035 // Description: This file contains the class definition for 
00036 // ModifiedNewton. ModifiedNewton is a class which performs a modified 
00037 // Newton-Raphson  solution algorihm in solving the equations.
00038 // No member functions are declared as virtual as 
00039 // it is not expected that this class will be subclassed.
00040 // 
00041 // What: "@(#)ModifiedNewton.h, revA"
00042 
00043 #include <EquiSolnAlgo.h>
00044 #include <Vector.h>
00045 
00046 #include <ConvergenceTest.h>
00047 
00083 class ModifiedNewton: public EquiSolnAlgo
00084 {
00085   public:
00094     ModifiedNewton(int tangent = CURRENT_TANGENT);
00095 
00101     ModifiedNewton(ConvergenceTest &theTest, int tangent = CURRENT_TANGENT);
00102 
00106     ~ModifiedNewton();
00107 
00108 
00117     int solveCurrentStep(void);    
00118 
00120     ConvergenceTest *getTest(void);         
00121 
00123     void setTest(ConvergenceTest &theNewTest);
00124 
00126     virtual int sendSelf(int commitTag, Channel &theChannel);
00128     virtual int recvSelf(int commitTag, Channel &theChannel, 
00129     FEM_ObjectBroker &theBroker);
00130 
00132     void Print(ostream &s, int flag =0);    
00133     
00134   protected:
00135     
00136   private:
00138     ConvergenceTest *theTest;
00140     int tangent;
00141 };
00142 
00143 #endif
00144 
00145 
Copyright Contact Us