XC Open source finite element analysis program
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 deomposition 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 inline Analysis *TransientDomainDecompositionAnalysis::getCopy(void) const
111  { return new TransientDomainDecompositionAnalysis(*this); }
112 } // end of XC namespace
113 
114 #endif
115 
116 
117 
118 
119 
120 
121 
122 
123 
124 
125 
int sendSelf(CommParameters &)
Sends object through the channel being passed as parameter.
Definition: TransientDomainDecompositionAnalysis.cpp:331
int setIntegrator(IncrementalIntegrator &theIntegrator)
Sets the integrator que se empleará en the analysis.
Definition: TransientDomainDecompositionAnalysis.cpp:562
int setLinearSOE(LinearSOE &theSOE)
Sets the linear system of equations que se empleará en the analysis.
Definition: TransientDomainDecompositionAnalysis.cpp:571
IncrementalIntegrator is an algorithmic class for setting up the finite element equations in an incre...
Definition: IncrementalIntegrator.h:87
int getNumInternalEqn(void)
Returns the number of equations internas.
Definition: TransientDomainDecompositionAnalysis.cpp:266
EquiSolnAlgo is an abstract base class, i.e. no objects of it&#39;s type can be created. Its subclasses deifine the sequence of operations to be performed in the analysis by static equilibrium of a finite element model.
Definition: EquiSolnAlgo.h:85
Definition: Vector.h:82
Clase Base para los objetos que realizan the analysis.
Definition: Analysis.h:109
int setAlgorithm(EquiSolnAlgo &theAlgorithm)
Sets the solution algorithm que se empleará en the analysis.
Definition: TransientDomainDecompositionAnalysis.cpp:552
~TransientDomainDecompositionAnalysis(void)
brief Destructor.
Definition: TransientDomainDecompositionAnalysis.cpp:85
Solution procedure for the finite element problem. The solution procedure is definde by specifiying: ...
Definition: SoluMethod.h:76
const Vector & getTangVectProduct(void)
??
Definition: TransientDomainDecompositionAnalysis.cpp:323
int domainChanged(void)
Hace los cambios que sean necesarios como consecuencia de un cambio en el domain. ...
Definition: TransientDomainDecompositionAnalysis.cpp:197
int formTangent(void)
Forma la tangent stiffness matrix.
Definition: TransientDomainDecompositionAnalysis.cpp:286
const Matrix & getTangent(void)
Return the tangent stiffness matrix.
Definition: TransientDomainDecompositionAnalysis.cpp:307
int analyze(double dT)
Performs the analysis.
Definition: TransientDomainDecompositionAnalysis.cpp:104
Solution procedure for the finite element problem.
Definition: ProcSolu.h:56
int formTangVectProduct(Vector &force)
??
Definition: TransientDomainDecompositionAnalysis.cpp:300
void clearAll(void)
Clears all object members (Constraint handler, analysis model,...).
Definition: TransientDomainDecompositionAnalysis.cpp:93
Definition: Subdomain.h:87
Used when performing a domain decomposition analysis. It provides methods which can be invoked by a s...
Definition: DomainDecompositionAnalysis.h:81
Definition: Matrix.h:82
Transient analysis witn domain decomposition.
Definition: TransientDomainDecompositionAnalysis.h:72
Linea system of equations. This is the class definition for LinearSOE. LinearSOE is an abstract base ...
Definition: LinearSOE.h:86
const Vector & getResidual(void)
Returns the vector residuo.
Definition: TransientDomainDecompositionAnalysis.cpp:315
int getNumExternalEqn(void)
Returns the number of external equations.
Definition: TransientDomainDecompositionAnalysis.cpp:259
Communication parameters between processes.
Definition: CommParameters.h:65
================================================================================
Definition: ContinuaReprComponent.h:34
int formResidual(void)
Forma el vector residuo.
Definition: TransientDomainDecompositionAnalysis.cpp:293