xc
HHT.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.7 $
48 // $Date: 2005/12/19 22:43:36 $
49 // $Source: /usr/local/cvs/OpenSees/SRC/analysis/integrator/HHT.h,v $
50 
51 
52 #ifndef HHT_h
53 #define HHT_h
54 
55 // Written: Andreas Schellenberg (andreas.schellenberg@gmx.net)
56 // Created: 02/05
57 // Revision: A
58 //
59 // Description: This file contains the class definition for HHT.
60 // HHT is an algorithmic class for performing a transient analysis
61 // using the HHT integration scheme.
62 //
63 // What: "@(#) HHT.h, revA"
64 
65 #include "solution/analysis/integrator/transient/rayleigh/HHTBase.h"
66 #include "solution/analysis/integrator/transient/ResponseQuantities.h"
67 
68 namespace XC {
69 
71 //
105 class HHT: public HHTBase
106  {
107  protected:
108  int sendData(CommParameters &);
109  int recvData(const CommParameters &);
110 
111  friend class AnalysisAggregation;
112  friend class FEM_ObjectBroker;
114  HHT(AnalysisAggregation *,double alpha);
115  HHT(AnalysisAggregation *,double alpha,const RayleighDampingFactors &rF);
116  HHT(AnalysisAggregation *,double alpha, double beta, double gamma);
117  HHT(AnalysisAggregation *,double alpha, double beta, double gamma,const RayleighDampingFactors &);
118  Integrator *getCopy(void) const;
119  public:
120  // methods which define what the FE_Element and DOF_Groups add
121  // to the system of equation object.
122  int formEleTangent(FE_Element *theEle);
123  int formNodTangent(DOF_Group *theDof);
124 
125  int domainChanged(void);
126  int newStep(double deltaT);
127  int revertToLastStep(void);
128  int update(const Vector &deltaU);
129  int commit(void);
130 
131  virtual int sendSelf(CommParameters &);
132  virtual int recvSelf(const CommParameters &);
133 
134  void Print(std::ostream &s, int flag = 0);
135  };
136 } // end of XC namespace
137 
138 #endif
int formNodTangent(DOF_Group *theDof)
This performs the following: {tabbing} while \= + while \= while \= if (RayleighDamping == false) + ...
Definition: HHT.cpp:279
int newStep(double deltaT)
The following are performed when this method is invoked: {enumerate} First sets the values of the th...
Definition: HHT.cpp:160
int recvData(const CommParameters &)
Receives object members through the channel being passed as parameter.
Definition: HHT.cpp:469
Float vector abstraction.
Definition: Vector.h:93
double alpha
should be between 0.67 and 1.0 (alpha factor corresponds to Newmark method.
Definition: HHTRayleighBase.h:46
HHT is an algorithmic class for performing a transient analysis using the Hilber-Hughes-Taylor integr...
Definition: HHT.h:105
void Print(std::ostream &s, int flag=0)
The object sends to its type, the current time, , and .
Definition: HHT.cpp:513
Solution procedure for the finite element problem.
Definition: AnalysisAggregation.h:89
int domainChanged(void)
If the size of the LinearSOE has changed, the object deletes any old Vectors created and then creates...
Definition: HHT.cpp:301
FEM_ObjectBroker is is an object broker class for the finite element method.
Definition: FEM_ObjectBroker.h:145
int commit(void)
First the response quantities at the DOF_Group objects are updated with the new approximations by inv...
Definition: HHT.cpp:434
HHT(AnalysisAggregation *)
Constructor.
Definition: HHT.cpp:71
Base class for the objects that performs the integration of physical properties over the domain to fo...
Definition: Integrator.h:99
A DOF_Group object is instantiated by the ConstraintHandler for every unconstrained node in the domai...
Definition: DOF_Group.h:106
HHTBase is an algorithmic class for performing a transient analysis using the HHTBase integration sch...
Definition: HHTBase.h:52
double gamma
factor.
Definition: HHTRayleighBase.h:48
Rayleigh damping factors.
Definition: RayleighDampingFactors.h:58
int update(const Vector &deltaU)
Invoked this first causes the object to increment the DOF_Group response quantities at time ...
Definition: HHT.cpp:376
Finite element as seen by analysis.
Definition: FE_Element.h:107
int formEleTangent(FE_Element *theEle)
This tangent for each FE_Element is defined to be , where c1,c2 and c3 were determined in the last in...
Definition: HHT.cpp:252
Open source finite element program for structural analysis.
Definition: ContinuaReprComponent.h:34
Communication parameters between processes.
Definition: CommParameters.h:65
int sendData(CommParameters &)
Send object members through the channel being passed as parameter.
Definition: HHT.cpp:461