00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026 #ifndef HHT_h
00027 #define HHT_h
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041 #include <TransientIntegrator.h>
00042
00043 #include <DOF_Group.h>
00044 #include <FE_Element.h>
00045 #include <Vector.h>
00046
00079 class HHT : public TransientIntegrator
00080 {
00081 public:
00087 HHT();
00088
00094 HHT(double alpha);
00095
00105 HHT(double alpha, double alphaM, double betaKcurrent,
00106
00107 double betaKinit, double betaKlastCommit);
00108
00112 ~HHT();
00113
00114
00116 virtual int formEleResidual(FE_Element *theEle);
00118 virtual int formNodUnbalance(DOF_Group *theDof);
00119
00120
00121
00123
00125
00126
00128 int domainChanged(void);
00130 int initialize(void);
00132 int newStep(double deltaT);
00134 int revertToLastStep(void);
00136 int update(const Vector &deltaU);
00137
00139 int commit(void);
00140
00142 virtual int sendSelf(int commitTag, Channel &theChannel);
00144 virtual int recvSelf(int commitTag, Channel &theChannel,
00145 FEM_ObjectBroker &theBroker);
00146
00148 void Print(ostream &s, int flag =0);
00149
00150 protected:
00151
00152 private:
00154 double alpha;
00156 double gamma;
00158 double beta;
00160 bool rayleighDamping;
00161
00163 double alphaM, betaK, betaKi, betaKc;
00164
00165 double c1, c2, c3;
00166 Vector *Ut, *Utdot, *Utdotdot;
00167 Vector *U, *Udot, *Udotdot;
00168 Vector *Ualpha, *Udotalpha;
00169 };
00170
00171 #endif
00172