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 #ifndef HHTHybridSimulation_h
00026 #define HHTHybridSimulation_h
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038 #include <TransientIntegrator.h>
00039
00040 class DOF_Group;
00041 class FE_Element;
00042 class Vector;
00043 class ConvergenceTest;
00044
00045 class HHTHybridSimulation : public TransientIntegrator
00046 {
00047 public:
00048
00049 HHTHybridSimulation();
00050 HHTHybridSimulation(double rhoInf, ConvergenceTest &theTest);
00051 HHTHybridSimulation(double rhoInf, ConvergenceTest &theTest,
00052 double alphaM, double betaK, double betaKi, double betaKc);
00053 HHTHybridSimulation(double alphaI, double alphaF,
00054 double beta, double gamma, ConvergenceTest &theTest);
00055 HHTHybridSimulation(double alphaI, double alphaF,
00056 double beta, double gamma, ConvergenceTest &theTest,
00057 double alphaM, double betaK, double betaKi, double betaKc);
00058
00059
00060 ~HHTHybridSimulation();
00061
00062
00063
00064 int formEleTangent(FE_Element *theEle);
00065 int formNodTangent(DOF_Group *theDof);
00066
00067 int domainChanged(void);
00068 int newStep(double deltaT);
00069 int revertToLastStep(void);
00070 int update(const Vector &deltaU);
00071 int commit(void);
00072
00073 virtual int sendSelf(int commitTag, Channel &theChannel);
00074 virtual int recvSelf(int commitTag, Channel &theChannel, FEM_ObjectBroker &theBroker);
00075
00076 void Print(OPS_Stream &s, int flag = 0);
00077
00078 protected:
00079
00080 private:
00081 double alphaI;
00082 double alphaF;
00083 double beta;
00084 double gamma;
00085 double deltaT;
00086
00087
00088 double alphaM;
00089 double betaK;
00090 double betaKi;
00091 double betaKc;
00092
00093 ConvergenceTest *theTest;
00094 double rFact;
00095 double c1, c2, c3;
00096 Vector *Ut, *Utdot, *Utdotdot;
00097 Vector *U, *Udot, *Udotdot;
00098 Vector *Ualpha, *Ualphadot, *Ualphadotdot;
00099 };
00100
00101 #endif