DisplacementControl.hGo to the documentation of this file.00001 /* ****************************************************************** ** 00002 ** OpenSees - Open System for Earthquake Engineering Simulation ** 00003 ** Pacific Earthquake Engineering Research Center ** 00004 ** ** 00005 ** ** 00006 ** (C) Copyright 1999, The Regents of the University of California ** 00007 ** All Rights Reserved. ** 00008 ** ** 00009 ** Commercial use of this program without express permission of the ** 00010 ** University of California, Berkeley, is strictly prohibited. See ** 00011 ** file 'COPYRIGHT' in main directory for information on usage and ** 00012 ** redistribution, and for a DISCLAIMER OF ALL WARRANTIES. ** 00013 ** ** 00014 ** Developed by: ** 00015 ** Frank McKenna (fmckenna@ce.berkeley.edu) ** 00016 ** Gregory L. Fenves (fenves@ce.berkeley.edu) ** 00017 ** Filip C. Filippou (filippou@ce.berkeley.edu) ** 00018 ** ** 00019 ** ****************************************************************** */ 00020 00021 // $Revision: 1.2 $ 00022 // $Date: 2003/02/14 23:00:47 $ 00023 // $Source: /usr/local/cvs/OpenSees/SRC/analysis/integrator/DisplacementControl.h,v $ 00024 00025 00026 // File: ~/analysis/integrator/DisplacementControl.h 00027 // 00028 // Written: fmk 00029 // Created: 07/98 00030 // Revision: A 00031 // 00032 // Description: This file contains the class definition for DisplacementControl. 00033 // DisplacementControl is an algorithmic class for perfroming a static analysis 00034 // using the arc length scheme, that is within a load step the follwing 00035 // constraint is enforced: 00036 // i=1 delta U^T delta U + alpha^2 delta lambda^2 = delta s^2 00037 // i>1 dU^T delta U + alpha^2 dLambda delta lambda = 0 00038 // where dU is change in nodal displacements for step, dLambda is 00039 // change in applied load and DisplacementControl is a control parameter. 00040 // 00041 // What: "@(#) DisplacementControl.h, revA" 00042 00043 #ifndef DisplacementControl_h 00044 #define DisplacementControl_h 00045 00046 #include <StaticIntegrator.h> 00047 00048 class LinearSOE; 00049 class AnalysisModel; 00050 class FE_Element; 00051 class Vector; 00052 class Domain; 00053 00054 class DisplacementControl : public StaticIntegrator 00055 { 00056 public: 00057 DisplacementControl(int node, int dof, double increment, Domain *theDomain, 00058 int numIncrStep, double minIncrement, double maxIncrement); 00059 00060 ~DisplacementControl(); 00061 00062 int newStep(void); 00063 int update(const Vector &deltaU); 00064 int domainChanged(void); 00065 00066 int sendSelf(int commitTag, Channel &theChannel); 00067 int recvSelf(int commitTag, Channel &theChannel, 00068 FEM_ObjectBroker &theBroker); 00069 00070 void Print(OPS_Stream &s, int flag =0); 00071 00072 protected: 00073 00074 private: 00075 int theNode; // the node that is being followed 00076 int theDof; // the dof at the node being followed 00077 double theIncrement; // deltaU at step (i) 00078 Domain *theDomain; // the domain containg the noe being followed 00079 int theDofID; // the syste level id of the dof being followed 00080 00081 Vector *deltaUhat, *deltaUbar, *deltaU, *deltaUstep; 00082 Vector *phat; // the reference load vector 00083 double deltaLambdaStep, currentLambda; // dLambda(i) & current value of lambda 00084 00085 double specNumIncrStep, numIncrLastStep; // Jd & J(i-1) 00086 double minIncrement, maxIncrement; // min/max values of deltaU at (i) 00087 }; 00088 00089 #endif 00090 |