LoadControl.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:48 $ 00023 // $Source: /usr/local/cvs/OpenSees/SRC/analysis/integrator/LoadControl.h,v $ 00024 00025 00026 #ifndef LoadControl_h 00027 #define LoadControl_h 00028 00029 // File: ~/analysis/integrator/LoadControl.h 00030 // 00031 // Written: fmk 00032 // Created: 07/98 00033 // Revision: A 00034 // 00035 // Description: This file contains the class definition for LoadControl. 00036 // LoadControl is an algorithmic class for perfroming a static analysis 00037 // using a load control integration scheme. 00038 // 00039 // What: "@(#) LoadControl.h, revA" 00040 00041 #include <StaticIntegrator.h> 00042 00043 class LinearSOE; 00044 class AnalysisModel; 00045 class FE_Element; 00046 class Vector; 00047 00048 class LoadControl : public StaticIntegrator 00049 { 00050 public: 00051 LoadControl(double deltaLambda, int numIncr, 00052 double minLambda, double maxlambda); 00053 00054 ~LoadControl(); 00055 00056 int newStep(void); 00057 int update(const Vector &deltaU); 00058 int setDeltaLambda(double newDeltaLambda); 00059 00060 // Public methods for Output 00061 int sendSelf(int commitTag, Channel &theChannel); 00062 int recvSelf(int commitTag, Channel &theChannel, 00063 FEM_ObjectBroker &theBroker); 00064 00065 void Print(OPS_Stream &s, int flag =0); 00066 00067 protected: 00068 00069 private: 00070 double deltaLambda; // dlambda at step (i-1) 00071 00072 double specNumIncrStep, numIncrLastStep; // Jd & J(i-1) 00073 double dLambdaMin, dLambdaMax; // min & max values for dlambda at step (i) 00074 }; 00075 00076 #endif 00077 |