XC Open source finite element analysis program
StaticDomainDecompositionAnalysis.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/StaticDomainDecompositionAnalysis.h,v $
50 
51 // Written: fmk
52 // Revision: A
53 //
54 // Description: This file contains the class definition for
55 // StaticDomainDecompositionAnalysis.StaticDomainDecompositionAnalysis is a subclass
56 // of DomainDecompositionAnalysis used to perform a static analysis step on a subdomain.
57 
58 //
59 // What: "@(#) StaticDomainDecompositionAnalysis.h, revA"
60 
61 #ifndef StaticDomainDecompositionAnalysis_h
62 #define StaticDomainDecompositionAnalysis_h
63 
64 #include <solution/analysis/analysis/DomainDecompositionAnalysis.h>
65 #include <utility/actor/actor/MovableObject.h>
66 
67 namespace XC {
68 class Subdomain;
69 
71 //
76  {
77  friend class ProcSolu;
79  Analysis *getCopy(void) const;
80  public:
82  void clearAll(void);
83  int initialize(void);
84  int domainChanged(void);
85 
86  // methods for non standard domain deomposition analysis
87  int analyze(double dT);
88  bool doesIndependentAnalysis(void);
89 
90  // methods for standard domain deomposition analysis
91  // that do some form of condensation to the tangent
92  int getNumExternalEqn(void);
93  int getNumInternalEqn(void);
94  int newStep(double dT);
95  int computeInternalResponse(void);
96  int formTangent(void);
97  int formResidual(void);
98  int formTangVectProduct(Vector &force);
99  const Matrix &getTangent(void);
100  const Vector &getResidual(void);
101  const Vector &getTangVectProduct(void);
102 
103  // methods to change the analysis aggregates
104  int setAlgorithm(EquiSolnAlgo &theAlgorithm);
105  int setIntegrator(IncrementalIntegrator &theIntegrator);
106  int setLinearSOE(LinearSOE &theSOE);
107 
108  // methods to send/receive
109  int sendSelf(CommParameters &);
110  int recvSelf(const CommParameters &);
111  };
112 inline Analysis *StaticDomainDecompositionAnalysis::getCopy(void) const
113  { return new StaticDomainDecompositionAnalysis(*this); }
114 } // end of XC namespace
115 
116 #endif
117 
118 
119 
120 
121 
122 
123 
124 
125 
126 
127 
int getNumInternalEqn(void)
Returns the number of equations internas.
Definition: StaticDomainDecompositionAnalysis.cpp:287
const Matrix & getTangent(void)
Return the tangent stiffness matrix.
Definition: StaticDomainDecompositionAnalysis.cpp:328
const Vector & getResidual(void)
Returns the vector residuo.
Definition: StaticDomainDecompositionAnalysis.cpp:336
int formTangVectProduct(Vector &force)
??
Definition: StaticDomainDecompositionAnalysis.cpp:321
IncrementalIntegrator is an algorithmic class for setting up the finite element equations in an incre...
Definition: IncrementalIntegrator.h:87
int setLinearSOE(LinearSOE &theSOE)
Sets the linear system of equations to use in the analysis.
Definition: StaticDomainDecompositionAnalysis.cpp:579
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
StaticDomainDecompositionAnalysis is a subclass of DomainDecompositionAnalysis used to perform a stat...
Definition: StaticDomainDecompositionAnalysis.h:75
Solution procedure for the finite element problem. The solution procedure is definde by specifiying: ...
Definition: SoluMethod.h:76
int formTangent(void)
Forma la tangent stiffness matrix.
Definition: StaticDomainDecompositionAnalysis.cpp:308
~StaticDomainDecompositionAnalysis(void)
Destructor.
Definition: StaticDomainDecompositionAnalysis.cpp:85
int computeInternalResponse(void)
??
Definition: StaticDomainDecompositionAnalysis.cpp:301
Solution procedure for the finite element problem.
Definition: ProcSolu.h:56
int setIntegrator(IncrementalIntegrator &theIntegrator)
Sets the integrator to use in the analysis.
Definition: StaticDomainDecompositionAnalysis.cpp:570
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
int newStep(double dT)
??
Definition: StaticDomainDecompositionAnalysis.cpp:294
Linea system of equations. This is the class definition for LinearSOE. LinearSOE is an abstract base ...
Definition: LinearSOE.h:86
int getNumExternalEqn(void)
Returns the number of external equations.
Definition: StaticDomainDecompositionAnalysis.cpp:280
void clearAll(void)
Clears object members (Constraint handler, analysis model,...).
Definition: StaticDomainDecompositionAnalysis.cpp:93
int setAlgorithm(EquiSolnAlgo &theAlgorithm)
Sets the solution algorithm to use in the analysis.
Definition: StaticDomainDecompositionAnalysis.cpp:562
Communication parameters between processes.
Definition: CommParameters.h:65
int analyze(double dT)
Performs the analysis.
Definition: StaticDomainDecompositionAnalysis.cpp:105
================================================================================
Definition: ContinuaReprComponent.h:34
int formResidual(void)
Forma el vector residuo.
Definition: StaticDomainDecompositionAnalysis.cpp:315
int domainChanged(void)
Hace los cambios que sean necesarios como consecuencia de un cambio en el domain. ...
Definition: StaticDomainDecompositionAnalysis.cpp:214