xc
HHTRayleighBase.h
1 // -*-c++-*-
2 //----------------------------------------------------------------------------
3 // XC program; finite element analysis code
4 // for structural analysis and design.
5 //
6 // Copyright (C) Luis C. Pérez Tato
7 //
8 // This program derives from OpenSees <http://opensees.berkeley.edu>
9 // developed by the «Pacific earthquake engineering research center».
10 //
11 // Except for the restrictions that may arise from the copyright
12 // of the original program (see copyright_opensees.txt)
13 // XC is free software: you can redistribute it and/or modify
14 // it under the terms of the GNU General Public License as published by
15 // the Free Software Foundation, either version 3 of the License, or
16 // (at your option) any later version.
17 //
18 // This software is distributed in the hope that it will be useful, but
19 // WITHOUT ANY WARRANTY; without even the implied warranty of
20 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 // GNU General Public License for more details.
22 //
23 //
24 // You should have received a copy of the GNU General Public License
25 // along with this program.
26 // If not, see <http://www.gnu.org/licenses/>.
27 //----------------------------------------------------------------------------
28 //HHTRayleighBase.h
29 
30 
31 #ifndef HHTRayleighBase_h
32 #define HHTRayleighBase_h
33 
34 #include <solution/analysis/integrator/transient/RayleighBase.h>
35 #include "solution/analysis/integrator/transient/ResponseQuantities.h"
36 
37 namespace XC {
38 
40 //
45  {
46  protected:
47  double alpha;
48  double gamma;
50 
51  double c2, c3; // some constants we need to keep
55 
56  int sendData(Communicator &);
57  int recvData(const Communicator &);
58 
59  HHTRayleighBase(SolutionStrategy *,int classTag);
60  HHTRayleighBase(SolutionStrategy *,int classTag,double alpha);
61  HHTRayleighBase(SolutionStrategy *,int classTag,double alpha,const RayleighDampingFactors &rF);
62  HHTRayleighBase(SolutionStrategy *,int classTag,double alpha, double gamma);
63  HHTRayleighBase(SolutionStrategy *,int classTag,double alpha, double gamma,const RayleighDampingFactors &rF);
64 
65  };
66 } // end of XC namespace
67 
68 #endif
int recvData(const Communicator &)
Receives object members through the communicator argument.
Definition: HHTRayleighBase.cc:96
double alpha
should be between 0.67 and 1.0 (alpha factor corresponds to Newmark method.
Definition: HHTRayleighBase.h:47
Communication parameters between processes.
Definition: Communicator.h:66
HHTRayleighBase is a base for the classes performing a transient analysis using the Hilber-Hughes-Tay...
Definition: HHTRayleighBase.h:44
int sendData(Communicator &)
Send object members through the communicator argument.
Definition: HHTRayleighBase.cc:85
HHTRayleighBase(SolutionStrategy *, int classTag)
Constructor.
Definition: HHTRayleighBase.cc:35
ResponseQuantities Ut
response quantities at time t
Definition: HHTRayleighBase.h:52
Base class for Rayleigh integrators.
Definition: RayleighBase.h:43
double gamma
factor.
Definition: HHTRayleighBase.h:49
Rayleigh damping factors.
Definition: RayleighDampingFactors.h:59
Solution strategy for the finite element problem.
Definition: SolutionStrategy.h:94
Open source finite element program for structural analysis.
Definition: ContinuaReprComponent.h:35
Response quantities.
Definition: ResponseQuantities.h:42
ResponseQuantities U
response quantities at time t + delta t
Definition: HHTRayleighBase.h:53
ResponseQuantities Ualpha
response quantities at time t+alpha delta t
Definition: HHTRayleighBase.h:54