00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040 #ifndef DomainDecompositionAnalysis_h
00041 #define DomainDecompositionAnalysis_h
00042
00043 #ifndef _bool_h
00044 #include <bool.h>
00045 #endif
00046
00047 #include <Analysis.h>
00048 #include <Matrix.h>
00049 #include <Vector.h>
00050 #include <MovableObject.h>
00051
00052 #include <ConstraintHandler.h>
00053 #include <DOF_Numberer.h>
00054 #include <AnalysisModel.h>
00055 #include <IncrementalIntegrator.h>
00056 #include <LinearSOE.h>
00057 #include <DomainSolver.h>
00058 #include <DomainDecompAlgo.h>
00059 #include <Subdomain.h>
00060 #include <Vector.h>
00061
00098 class DomainDecompositionAnalysis: public Analysis, public MovableObject
00099 {
00100 public:
00105 DomainDecompositionAnalysis(Subdomain &theDomain);
00106
00107
00112 DomainDecompositionAnalysis(int classTag,
00113
00114 Subdomain &theDomain);
00115
00118 DomainDecompositionAnalysis(Subdomain &theDomain,
00119
00120 ConstraintHandler &theHandler,
00121 DOF_Numberer &theNumberer,
00122 AnalysisModel &theModel,
00123 DomainDecompAlgo &theSolnAlgo,
00124 IncrementalIntegrator &theIntegrator,
00125 LinearSOE &theSOE,
00126 DomainSolver &theSolver);
00127
00128
00133 virtual ~DomainDecompositionAnalysis();
00134
00135
00139 virtual int analyze(void);
00140
00145 virtual int domainChanged(void);
00146
00147
00153 virtual int getNumExternalEqn(void);
00154
00156 virtual int getNumInternalEqn(void);
00157
00159 virtual int computeInternalResponse(void);
00161 virtual int formTangent(void);
00163 virtual int formResidual(void);
00165 virtual int formTangVectProduct(Vector &force);
00167 virtual const Matrix &getTangent(void);
00169 virtual const Vector &getResidual(void);
00171 virtual const Vector &getTangVectProduct(void);
00172
00174 virtual int sendSelf(int commitTag, Channel &theChannel);
00176 virtual int recvSelf(int commitTag, Channel &theChannel,
00177 FEM_ObjectBroker &theBroker);
00178
00179 protected:
00181 Subdomain *getSubdomainPtr(void) const;
00183 ConstraintHandler *getConstraintHandlerPtr(void) const;
00185 DOF_Numberer *getDOF_NumbererPtr(void) const;
00187 AnalysisModel *getAnalysisModelPtr(void) const;
00189 DomainDecompAlgo *getDomainDecompAlgoPtr(void) const;
00191 IncrementalIntegrator *getIncrementalIntegratorPtr(void) const;
00193 LinearSOE *getLinSOEPtr(void) const;
00195 DomainSolver *getDomainSolverPtr(void) const;
00196
00197
00198
00199 private:
00201 Subdomain *theSubdomain;
00203 ConstraintHandler *theHandler;
00205 DOF_Numberer *theNumberer;
00207 AnalysisModel *theModel;
00209 DomainDecompAlgo *theAlgorithm;
00211 IncrementalIntegrator *theIntegrator;
00213 LinearSOE *theSOE;
00215 DomainSolver *theSolver;
00216
00218 Vector *theResidual;
00220 int numEqn;
00222 int numExtEqn;
00223
00224
00225
00226
00228
00230
00232
00233 };
00234
00235 #endif
00236
00237
00238
00239
00240
00241
00242
00243
00244
00245
00246