XC Open source finite element analysis program
DirectIntegrationAnalysis.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.4 $
48 // $Date: 2005/11/29 23:36:47 $
49 // $Source: /usr/local/cvs/OpenSees/SRC/analysis/analysis/DirectIntegrationAnalysis.h,v $
50 
51 
52 #ifndef DirectIntegrationAnalysis_h
53 #define DirectIntegrationAnalysis_h
54 
55 // Written: fmk
56 // Created: 11/96
57 // Revision: A
58 //
59 // Description: This file contains the class definition for
60 // DirectIntegrationAnalysis. DirectIntegrationAnalysis is a
61 // subclass of TransientAnalysis. It is used to perform a
62 // dynamic analysis on the FE\_Model using a direct integration scheme.
63 //
64 // What: "@(#) DirectIntegrationAnalysis.h, revA"
65 
66 #include <solution/analysis/analysis/TransientAnalysis.h>
67 
68 namespace XC {
69 class ConvergenceTest;
70 
71 // AddingSensitivity:BEGIN ///////////////////////////////
72 #ifdef _RELIABILITY
73 class SensitivityAlgorithm;
74 #endif
75 // AddingSensitivity:END ///////////////////////////////
76 
78 //
81  {
82  private:
83  int domainStamp;
84  // AddingSensitivity:BEGIN ///////////////////////////////
85 #ifdef _RELIABILITY
86  SensitivityAlgorithm *theSensitivityAlgorithm;
87 #endif
88  // AddingSensitivity:END ///////////////////////////////
89  protected:
90  friend class ProcSolu;
92  Analysis *getCopy(void) const;
93  public:
94  virtual ~DirectIntegrationAnalysis(void);
95 
96  void clearAll(void);
97 
98  int analyze(int numSteps, double dT);
99  int initialize(void);
100 
101  int domainChanged(void);
102 
103  int setNumberer(DOF_Numberer &theNumberer);
104  int setAlgorithm(EquiSolnAlgo &theAlgorithm);
105  int setIntegrator(TransientIntegrator &theIntegrator);
106  int setLinearSOE(LinearSOE &theSOE);
107  int setConvergenceTest(ConvergenceTest &theTest);
108 
109  int checkDomainChange(void);
110 
111  // AddingSensitivity:BEGIN ///////////////////////////////
112 #ifdef _RELIABILITY
113  int setSensitivityAlgorithm(SensitivityAlgorithm *theSensitivityAlgorithm);
114 #endif
115  // AddingSensitivity:END /////////////////////////////////
116  };
117 inline Analysis *DirectIntegrationAnalysis::getCopy(void) const
118  { return new DirectIntegrationAnalysis(*this); }
119 } // end of XC namespace
120 
121 #endif
122 
DirectIntegrationAnalysis(SoluMethod *metodo)
Constructor.
Definition: DirectIntegrationAnalysis.cpp:81
Base class for DOF numbererers.
Definition: DOF_Numberer.h:84
int setIntegrator(TransientIntegrator &theIntegrator)
Sets the integrator to use in the analysis.
Definition: DirectIntegrationAnalysis.cpp:326
int checkDomainChange(void)
Comprueba si el domain ha cambiado.
Definition: DirectIntegrationAnalysis.cpp:399
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
void clearAll(void)
Clears all object members (constraint handler, analysis model,...).
Definition: DirectIntegrationAnalysis.cpp:100
Clase Base para los objetos que realizan the analysis.
Definition: Analysis.h:109
Analysis of the time-dependent response of the model.
Definition: TransientAnalysis.h:75
Solution procedure for the finite element problem. The solution procedure is definde by specifiying: ...
Definition: SoluMethod.h:76
int setLinearSOE(LinearSOE &theSOE)
Sets the linear system of equations to use in the analysis.
Definition: DirectIntegrationAnalysis.cpp:356
Solution procedure for the finite element problem.
Definition: ProcSolu.h:56
int setNumberer(DOF_Numberer &theNumberer)
Sets the renumerador to use in the analysis.
Definition: DirectIntegrationAnalysis.cpp:274
convergence test.
Definition: ConvergenceTest.h:75
Definition: SensitivityAlgorithm.h:68
int analyze(int numSteps, double dT)
Performs the analysis.
Definition: DirectIntegrationAnalysis.cpp:136
virtual ~DirectIntegrationAnalysis(void)
Destructor.
Definition: DirectIntegrationAnalysis.cpp:92
int setConvergenceTest(ConvergenceTest &theTest)
Sets the convergence test to use in the analysis.
Definition: DirectIntegrationAnalysis.cpp:391
int setAlgorithm(EquiSolnAlgo &theAlgorithm)
Sets the solutio algorithm to use in the analysis.
Definition: DirectIntegrationAnalysis.cpp:293
Direct integration dynamic analysis.
Definition: DirectIntegrationAnalysis.h:80
Linea system of equations. This is the class definition for LinearSOE. LinearSOE is an abstract base ...
Definition: LinearSOE.h:86
================================================================================
Definition: ContinuaReprComponent.h:34
int domainChanged(void)
Ejecuta los cambios que implica un cambio en el domain del problema.
Definition: DirectIntegrationAnalysis.cpp:219
Base class for dynamic equations of motion integrators.
Definition: TransientIntegrator.h:84