DirectIntegrationAnalysis.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 23:36:47 $
00023 // $Source: /usr/local/cvs/OpenSees/SRC/analysis/analysis/DirectIntegrationAnalysis.h,v $
00024                                                                         
00025                                                                         
00026 #ifndef DirectIntegrationAnalysis_h
00027 #define DirectIntegrationAnalysis_h
00028 
00029 // Written: fmk 
00030 // Created: 11/96
00031 // Revision: A
00032 //
00033 // Description: This file contains the class definition for 
00034 // DirectIntegrationAnalysis. DirectIntegrationAnalysis is a 
00035 // subclass of TransientAnalysis. It is used to perform a 
00036 // dynamic analysis on the FE\_Model using a direct integration scheme.
00037 //
00038 // What: "@(#) DirectIntegrationAnalysis.h, revA"
00039 
00040 #include <TransientAnalysis.h>
00041 // AddingSensitivity:BEGIN //////////////////////////////////
00042 #ifdef _RELIABILITY
00043 #include <SensitivityAlgorithm.h>
00044 #endif
00045 // AddingSensitivity:END ////////////////////////////////////
00046 
00047 class ConstraintHandler;
00048 class DOF_Numberer;
00049 class AnalysisModel;
00050 class TransientIntegrator;
00051 class LinearSOE;
00052 class EquiSolnAlgo;
00053 class ConvergenceTest;
00054 
00055 class DirectIntegrationAnalysis: public TransientAnalysis
00056 {
00057   public:
00058     DirectIntegrationAnalysis(Domain &theDomain, 
00059                               ConstraintHandler &theHandler,
00060                               DOF_Numberer &theNumberer,
00061                               AnalysisModel &theModel,
00062                               EquiSolnAlgo &theSolnAlgo,                   
00063                               LinearSOE &theSOE,
00064                               TransientIntegrator &theIntegrator,
00065                               ConvergenceTest *theTest = 0);
00066 
00067     virtual ~DirectIntegrationAnalysis();
00068 
00069     void clearAll(void);            
00070     
00071     int analyze(int numSteps, double dT);
00072     int initialize(void);
00073 
00074     int domainChanged(void);
00075 
00076     int setNumberer(DOF_Numberer &theNumberer);    
00077     int setAlgorithm(EquiSolnAlgo &theAlgorithm);
00078     int setIntegrator(TransientIntegrator &theIntegrator);
00079     int setLinearSOE(LinearSOE &theSOE); 
00080     int setConvergenceTest(ConvergenceTest &theTest);
00081     
00082     int checkDomainChange(void);
00083     EquiSolnAlgo *getAlgorithm(void);
00084     TransientIntegrator *getIntegrator(void);
00085     ConvergenceTest *getConvergenceTest(void);
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     TransientIntegrator *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 #endif
00115 

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