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 LoadControl_h
00027 #define LoadControl_h
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041 #include <StaticIntegrator.h>
00042
00043 #include <LinearSOE.h>
00044 #include <AnalysisModel.h>
00045 #include <FE_Element.h>
00046 #include <Vector.h>
00047
00086 class LoadControl : public StaticIntegrator
00087 {
00088 public:
00091 LoadControl(double deltaLambda, int numIncr,
00092
00093 double minLambda, double maxlambda);
00094
00098 ~LoadControl();
00099
00100
00115 int newStep(void);
00116
00125 int update(const Vector &deltaU);
00126
00131 int setDeltaLambda(double newDeltaLambda);
00132
00133
00135 int sendSelf(int commitTag, Channel &theChannel);
00142 int recvSelf(int commitTag, Channel &theChannel,
00143
00144 FEM_ObjectBroker &theBroker);
00145
00150 void Print(ostream &s, int flag =0);
00151
00152
00153 protected:
00154
00155 private:
00157 double deltaLambda;
00158
00159
00160 double specNumIncrStep, numIncrLastStep;
00161 double dLambdaMin, dLambdaMax;
00162 };
00163
00164 #endif
00165