TransientDomainDecompositionAnalysis.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.1 $
00022 // $Date: 2005/12/01 00:07:57 $
00023 // $Source: /usr/local/cvs/OpenSees/SRC/analysis/analysis/TransientDomainDecompositionAnalysis.h,v $
00024                                                                         
00025 // Written: fmk 
00026 // Revision: A
00027 //
00028 // Description: This file contains the class definition for 
00029 // TransientDomainDecompositionAnalysis.TransientDomainDecompositionAnalysis is a subclass 
00030 // of DomainDecompositionAnalysis used to perform a static analysis step on a subdomain.
00031 
00032 //
00033 // What: "@(#) TransientDomainDecompositionAnalysis.h, revA"
00034 
00035 #ifndef TransientDomainDecompositionAnalysis_h
00036 #define TransientDomainDecompositionAnalysis_h
00037 
00038 #ifndef _bool_h
00039 #include <bool.h>
00040 #endif
00041 
00042 #include <DomainDecompositionAnalysis.h>
00043 #include <Matrix.h>
00044 #include <Vector.h>
00045 #include <MovableObject.h>
00046 
00047 class ConstraintHandler;
00048 class DOF_Numberer;
00049 class AnalysisModel;
00050 class TransientIntegrator;
00051 class LinearSOE;
00052 class LinearSolver;
00053 class EquiSolnAlgo;
00054 class Subdomain;
00055 class ConvergenceTest;
00056 
00057 class TransientDomainDecompositionAnalysis: public DomainDecompositionAnalysis
00058 {
00059   public:
00060     TransientDomainDecompositionAnalysis(Subdomain &theDomain);
00061 
00062     TransientDomainDecompositionAnalysis(Subdomain &theDomain,
00063                                          ConstraintHandler &theHandler,
00064                                          DOF_Numberer &theNumberer,
00065                                          AnalysisModel &theModel,
00066                                          EquiSolnAlgo &theSolnAlgo,                
00067                                          LinearSOE &theSOE,
00068                                          TransientIntegrator &theIntegrator,
00069                                          ConvergenceTest *theTest,
00070                                          bool setLinks = true);
00071 
00072     ~TransientDomainDecompositionAnalysis();
00073     void clearAll(void);            
00074     int initialize(void);
00075     int domainChanged(void);
00076 
00077     // methods for non standard domain deomposition analysis
00078     int analyze(double dT);
00079     bool doesIndependentAnalysis(void);    
00080 
00081     // methods for standard domain deomposition analysis
00082     // that do some form of condensation to the tangent
00083     int  getNumExternalEqn(void);
00084     int  getNumInternalEqn(void);
00085     int  newStep(double dT);
00086     int  computeInternalResponse(void);
00087     int  formTangent(void);
00088     int  formResidual(void);
00089     int  formTangVectProduct(Vector &force);
00090     const Matrix &getTangent(void);
00091     const Vector &getResidual(void);
00092     const Vector &getTangVectProduct(void);
00093 
00094     // methods to change the analysis aggregates
00095     int setAlgorithm(EquiSolnAlgo &theAlgorithm);
00096     int setIntegrator(IncrementalIntegrator &theIntegrator);
00097     int setLinearSOE(LinearSOE &theSOE);
00098     int setConvergenceTest(ConvergenceTest &theTest);
00099 
00100     // methods to send/receive
00101     int sendSelf(int commitTag, Channel &theChannel);
00102     int recvSelf(int commitTag, Channel &theChannel, 
00103                  FEM_ObjectBroker &theBroker);
00104     
00105   protected: 
00106     
00107   private:
00108     ConstraintHandler   *theConstraintHandler;    
00109     DOF_Numberer        *theDOF_Numberer;
00110     AnalysisModel       *theAnalysisModel;
00111     EquiSolnAlgo        *theAlgorithm;
00112     LinearSOE           *theSOE;
00113     TransientIntegrator *theIntegrator;
00114     ConvergenceTest     *theTest;
00115     int domainStamp;                       
00116 };
00117 
00118 #endif
00119 
00120 
00121 
00122 
00123 
00124 
00125 
00126 
00127 
00128 
00129 

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