StaticAnalysis.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.6 $
00022 // $Date: 2005/11/29 23:36:47 $
00023 // $Source: /usr/local/cvs/OpenSees/SRC/analysis/analysis/StaticAnalysis.h,v $
00024                                                                         
00025                                                                         
00026 #ifndef StaticAnalysis_h
00027 #define StaticAnalysis_h
00028 
00029 // Written: fmk 
00030 // Revision: A
00031 //
00032 // Description: This file contains the interface for the StaticAnalysis
00033 // class. StaticAnalysis is a subclass of Analysis, it is used to perform 
00034 // a static analysis on the FE\_Model.
00035 //
00036 // What: "@(#) StaticAnalysis.h, revA"
00037 
00038 #include <Analysis.h>
00039 
00040 
00041 // AddingSensitivity:BEGIN //////////////////////////////////
00042 #ifdef _RELIABILITY
00043 #include <SensitivityAlgorithm.h>
00044 #endif
00045 // AddingSensitivity:END ////////////////////////////////////
00046 
00047 
00048 class ConstraintHandler;
00049 class DOF_Numberer;
00050 class AnalysisModel;
00051 class StaticIntegrator;
00052 class LinearSOE;
00053 class EquiSolnAlgo;
00054 class ConvergenceTest;
00055 
00056 class StaticAnalysis: public Analysis
00057 {
00058   public:
00059     StaticAnalysis(Domain &theDomain,
00060                    ConstraintHandler &theHandler,
00061                    DOF_Numberer &theNumberer,
00062                    AnalysisModel &theModel,
00063                    EquiSolnAlgo &theSolnAlgo,              
00064                    LinearSOE &theSOE,
00065                    StaticIntegrator &theIntegrator,
00066                    ConvergenceTest *theTest = 0);
00067 
00068     ~StaticAnalysis();
00069 
00070     void clearAll(void);            
00071     
00072     int analyze(int numSteps);
00073     int initialize(void);
00074     int domainChanged(void);
00075 
00076     int setNumberer(DOF_Numberer &theNumberer);
00077     int setAlgorithm(EquiSolnAlgo &theAlgorithm);
00078     int setIntegrator(StaticIntegrator &theIntegrator);
00079     int setLinearSOE(LinearSOE &theSOE);
00080     int setConvergenceTest(ConvergenceTest &theTest);
00081 
00082     EquiSolnAlgo     *getAlgorithm(void);
00083     StaticIntegrator *getIntegrator(void);
00084     ConvergenceTest  *getConvergenceTest(void);
00085 
00086 
00087     // AddingSensitivity:BEGIN ///////////////////////////////
00088 #ifdef _RELIABILITY
00089     int setSensitivityAlgorithm(SensitivityAlgorithm *theSensitivityAlgorithm);
00090 #endif
00091     // AddingSensitivity:END /////////////////////////////////
00092     
00093   protected: 
00094     
00095   private:
00096     ConstraintHandler   *theConstraintHandler;    
00097     DOF_Numberer        *theDOF_Numberer;
00098     AnalysisModel       *theAnalysisModel;
00099     EquiSolnAlgo        *theAlgorithm;
00100     LinearSOE           *theSOE;
00101     StaticIntegrator    *theIntegrator;
00102     ConvergenceTest     *theTest;
00103 
00104     int domainStamp;
00105 
00106     // AddingSensitivity:BEGIN ///////////////////////////////
00107 #ifdef _RELIABILITY
00108     SensitivityAlgorithm *theSensitivityAlgorithm;
00109 #endif
00110     // AddingSensitivity:END ///////////////////////////////
00111 
00112 
00113 };
00114 
00115 #endif

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