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 DisplacementControl_h
00044 #define DisplacementControl_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 #include <Domain.h>
00053
00083 class DisplacementControl : public StaticIntegrator
00084 {
00085 public:
00094 DisplacementControl(int node, int dof, double increment, Domain *theDomain,
00095
00096 int numIncrStep, double minIncrement, double maxIncrement);
00097
00101 ~DisplacementControl();
00102
00103
00107 int newStep(void);
00108
00112 int update(const Vector &deltaU);
00113
00115 int domainChanged(void);
00116
00117
00119 int sendSelf(int commitTag, Channel &theChannel);
00121 int recvSelf(int commitTag, Channel &theChannel,
00122 FEM_ObjectBroker &theBroker);
00123
00125 void Print(ostream &s, int flag =0);
00126
00127 protected:
00128
00129 private:
00131 int theNode;
00132 int theDof;
00133 double theIncrement;
00134 Domain *theDomain;
00135 int theDofID;
00136
00137 Vector *deltaUhat, *deltaUbar, *deltaU, *deltaUstep;
00139 Vector *phat;
00140 double deltaLambdaStep, currentLambda;
00141
00142 double specNumIncrStep, numIncrLastStep;
00143 double minIncrement, maxIncrement;
00144 };
00145
00146 #endif
00147