CentralDifferenceAlternative.h

Go 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.1 $
00022 // $Date: 2005/01/27 04:32:07 $
00023 // $Source: /usr/local/cvs/OpenSees/SRC/analysis/integrator/CentralDifferenceAlternative.h,v $
00024                                                                         
00025 #ifndef CentralDifferenceAlternative_h
00026 #define CentralDifferenceAlternative_h
00027 
00028 // Written: fmk 
00029 // Created: 11/98
00030 // Revision: A
00031 //
00032 // Description: This file contains the class definition for CentralDifferenceAlternative.
00033 // CentralDifferenceAlternative is an algorithmic class for performing a transient 
00034 // analysis using the alternative form of the Central Differenceintegration scheme, 
00035 // which is an explicit direct integration scheme as outlined in the book 'Concepts
00036 // and Applications of Finite Element Analysis' by Cook, Malkus & Plesha.
00037 //
00038 // What: "@(#) CentralDifferenceAlternative.h, revA"
00039 
00040 #include <TransientIntegrator.h>
00041 
00042 class DOF_Group;
00043 class FE_Element;
00044 class Vector;
00045 
00046 class CentralDifferenceAlternative : public TransientIntegrator
00047 {
00048   public:
00049     CentralDifferenceAlternative();
00050     ~CentralDifferenceAlternative();
00051 
00052     // methods which define what the FE_Element and DOF_Groups add
00053     // to the system of equation object.
00054     int formEleTangent(FE_Element *theEle);
00055     int formNodTangent(DOF_Group *theDof);        
00056 
00057     int domainChanged(void);    
00058     int newStep(double deltaT);    
00059     int update(const Vector &deltaU);
00060 
00061     int commit(void);
00062 
00063     virtual int sendSelf(int commitTag, Channel &theChannel);
00064     virtual int recvSelf(int commitTag, Channel &theChannel, 
00065                          FEM_ObjectBroker &theBroker);
00066 
00067     void Print(OPS_Stream &s, int flag =0);        
00068     
00069   protected:
00070     
00071   private:
00072     int updateCount;    // method should only have one update per step
00073     Vector *Ut, *Utp1;  // disp response quantities at time t and t + deltaT
00074     Vector *Udot;      // vel response quantity at time t-1/2 delta t
00075     double deltaT;
00076 };
00077 
00078 #endif
00079 

Generated on Mon Oct 23 15:04:58 2006 for OpenSees by doxygen 1.5.0