xc
TransientDomainDecompositionAnalysis.h
1 //----------------------------------------------------------------------------
2 // XC program; finite element analysis code
3 // for structural analysis and design.
4 //
5 // Copyright (C) Luis Claudio Pérez Tato
6 //
7 // This program derives from OpenSees <http://opensees.berkeley.edu>
8 // developed by the «Pacific earthquake engineering research center».
9 //
10 // Except for the restrictions that may arise from the copyright
11 // of the original program (see copyright_opensees.txt)
12 // XC is free software: you can redistribute it and/or modify
13 // it under the terms of the GNU General Public License as published by
14 // the Free Software Foundation, either version 3 of the License, or
15 // (at your option) any later version.
16 //
17 // This software is distributed in the hope that it will be useful, but
18 // WITHOUT ANY WARRANTY; without even the implied warranty of
19 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 // GNU General Public License for more details.
21 //
22 //
23 // You should have received a copy of the GNU General Public License
24 // along with this program.
25 // If not, see <http://www.gnu.org/licenses/>.
26 //----------------------------------------------------------------------------
27 /* ****************************************************************** **
28 ** OpenSees - Open System for Earthquake Engineering Simulation **
29 ** Pacific Earthquake Engineering Research Center **
30 ** **
31 ** **
32 ** (C) Copyright 1999, The Regents of the University of California **
33 ** All Rights Reserved. **
34 ** **
35 ** Commercial use of this program without express permission of the **
36 ** University of California, Berkeley, is strictly prohibited. See **
37 ** file 'COPYRIGHT' in main directory for information on usage and **
38 ** redistribution, and for a DISCLAIMER OF ALL WARRANTIES. **
39 ** **
40 ** Developed by: **
41 ** Frank McKenna (fmckenna@ce.berkeley.edu) **
42 ** Gregory L. Fenves (fenves@ce.berkeley.edu) **
43 ** Filip C. Filippou (filippou@ce.berkeley.edu) **
44 ** **
45 ** ****************************************************************** */
46 
47 // $Revision: 1.1 $
48 // $Date: 2005/12/01 00:07:57 $
49 // $Source: /usr/local/cvs/OpenSees/SRC/analysis/analysis/TransientDomainDecompositionAnalysis.h,v $
50 
51 // Written: fmk
52 // Revision: A
53 //
54 // Description: This file contains the class definition for
55 // TransientDomainDecompositionAnalysis.TransientDomainDecompositionAnalysis is a subclass
56 // of DomainDecompositionAnalysis used to perform a static analysis step on a subdomain.
57 
58 //
59 // What: "@(#) TransientDomainDecompositionAnalysis.h, revA"
60 
61 #ifndef TransientDomainDecompositionAnalysis_h
62 #define TransientDomainDecompositionAnalysis_h
63 
64 #include <solution/analysis/analysis/DomainDecompositionAnalysis.h>
65 
66 namespace XC {
67 class Subdomain;
68 
70 //
73  {
74  friend class ProcSolu;
76  Analysis *getCopy(void) const;
77  public:
79 
80  void clearAll(void);
81  int initialize(void);
82  int domainChanged(void);
83 
84  // methods for non standard domain decomposition analysis
85  int analyze(double dT);
86  bool doesIndependentAnalysis(void);
87 
88  // methods for standard domain deomposition analysis
89  // that do some form of condensation to the tangent
90  int getNumExternalEqn(void);
91  int getNumInternalEqn(void);
92  int newStep(double dT);
93  int computeInternalResponse(void);
94  int formTangent(void);
95  int formResidual(void);
96  int formTangVectProduct(Vector &force);
97  const Matrix &getTangent(void);
98  const Vector &getResidual(void);
99  const Vector &getTangVectProduct(void);
100 
101  // methods to change the analysis aggregates
102  int setAlgorithm(EquiSolnAlgo &theAlgorithm);
103  int setIntegrator(IncrementalIntegrator &theIntegrator);
104  int setLinearSOE(LinearSOE &theSOE);
105 
106  // methods to send/receive
107  int sendSelf(CommParameters &);
108  int recvSelf(const CommParameters &);
109  };
110 
112 inline Analysis *TransientDomainDecompositionAnalysis::getCopy(void) const
113  { return new TransientDomainDecompositionAnalysis(*this); }
114 } // end of XC namespace
115 
116 #endif
117 
118 
119 
120 
121 
122 
123 
124 
125 
126 
127 
int formTangent(void)
Forma la tangent stiffness matrix.
Definition: TransientDomainDecompositionAnalysis.cpp:305
void clearAll(void)
Clears all object members (Constraint handler, analysis model,...).
Definition: TransientDomainDecompositionAnalysis.cpp:93
int recvSelf(const CommParameters &)
Receives the object.
Definition: TransientDomainDecompositionAnalysis.cpp:451
Float vector abstraction.
Definition: Vector.h:93
Domain enclosed in another domain.
Definition: Subdomain.h:101
int setIntegrator(IncrementalIntegrator &theIntegrator)
Sets the integrator to be used in the analysis.
Definition: TransientDomainDecompositionAnalysis.cpp:596
int domainChanged(void)
Hace los cambios que sean necesarios como consecuencia de un cambio en el domain. ...
Definition: TransientDomainDecompositionAnalysis.cpp:212
Solution procedure for the finite element problem.
Definition: AnalysisAggregation.h:89
Linear system of equations.
Definition: LinearSOE.h:91
const Vector & getResidual(void)
Returns the unbalanced vector.
Definition: TransientDomainDecompositionAnalysis.cpp:338
Transient analysis witn domain decomposition.
Definition: TransientDomainDecompositionAnalysis.h:72
int sendSelf(CommParameters &)
Sends object through the channel being passed as parameter.
Definition: TransientDomainDecompositionAnalysis.cpp:356
Base class for the object that perform the analysis.
Definition: Analysis.h:116
int analyze(double dT)
Performs the analysis.
Definition: TransientDomainDecompositionAnalysis.cpp:106
int getNumExternalEqn(void)
Returns the number of external equations.
Definition: TransientDomainDecompositionAnalysis.cpp:275
int formTangVectProduct(Vector &force)
??
Definition: TransientDomainDecompositionAnalysis.cpp:321
int computeInternalResponse(void)
A method which invokes solveCurrentStep() on theAlgorithm.
Definition: TransientDomainDecompositionAnalysis.cpp:297
int setAlgorithm(EquiSolnAlgo &theAlgorithm)
Sets the solution algorithm.
Definition: TransientDomainDecompositionAnalysis.cpp:586
Used when performing a domain decomposition analysis.
Definition: DomainDecompositionAnalysis.h:90
int formResidual(void)
Forma el vector residuo.
Definition: TransientDomainDecompositionAnalysis.cpp:313
const Matrix & getTangent(void)
Return the tangent stiffness matrix.
Definition: TransientDomainDecompositionAnalysis.cpp:329
IncrementalIntegrator is an algorithmic class for setting up the finite element equations in an incre...
Definition: IncrementalIntegrator.h:96
EquiSolnAlgo is an abstract base class, i.e.
Definition: EquiSolnAlgo.h:88
Solution procedure for the finite element problem.
Definition: ProcSolu.h:56
const Vector & getTangVectProduct(void)
??
Definition: TransientDomainDecompositionAnalysis.cpp:347
Open source finite element program for structural analysis.
Definition: ContinuaReprComponent.h:34
Communication parameters between processes.
Definition: CommParameters.h:65
Matrix of floats.
Definition: Matrix.h:108
~TransientDomainDecompositionAnalysis(void)
brief Destructor.
Definition: TransientDomainDecompositionAnalysis.cpp:85
int setLinearSOE(LinearSOE &theSOE)
Sets the linear system of equations to be used in the analysis.
Definition: TransientDomainDecompositionAnalysis.cpp:605
int getNumInternalEqn(void)
Returns the number of equations internas.
Definition: TransientDomainDecompositionAnalysis.cpp:283