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
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042
00043 #ifndef ArcLength_h
00044 #define ArcLength_h
00045
00046 #include <StaticIntegrator.h>
00047
00048 #include <LinearSOE.h>
00049 #include <AnalysisModel.h>
00050 #include <FE_Element.h>
00051 #include <Vector.h>
00052
00173 class ArcLength : public StaticIntegrator
00174 {
00175 public:
00178 ArcLength(double arcLength, double alpha = 1.0);
00179
00180
00185 ~ArcLength();
00186
00187
00196 int newStep(void);
00197
00209 int update(const Vector &deltaU);
00210
00220 int domainChanged(void);
00221
00222
00229 int sendSelf(int commitTag, Channel &theChannel);
00230
00237 int recvSelf(int commitTag, Channel &theChannel,
00238
00239 FEM_ObjectBroker &theBroker);
00240
00245 void Print(ostream &s, int flag =0);
00246
00247
00248 protected:
00249
00250 private:
00252 double arcLength2;
00253
00255 double alpha2;
00257 Vector *deltaUhat, *deltaUbar, *deltaU, *deltaUstep;
00259 Vector *phat;
00260 double deltaLambdaStep, currentLambda;
00262 int signLastDeltaLambdaStep;
00263 };
00264
00265 #endif
00266