CollocationHybridSimulation.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/12/19 22:39:21 $
00023 // $Source: /usr/local/cvs/OpenSees/SRC/analysis/integrator/CollocationHybridSimulation.h,v $
00024 
00025 #ifndef CollocationHybridSimulation_h
00026 #define CollocationHybridSimulation_h
00027 
00028 // Written: Andreas Schellenberg (andreas.schellenberg@gmx.net)
00029 // Created: 10/05
00030 // Revision: A
00031 //
00032 // Description: This file contains the class definition for CollocationHybridSimulation.
00033 // CollocationHybridSimulation is an algorithmic class for performing a transient analysis
00034 // using the CollocationHybridSimulation integration scheme.
00035 //
00036 // What: "@(#) CollocationHybridSimulation.h, revA"
00037 
00038 #include <TransientIntegrator.h>
00039 
00040 class DOF_Group;
00041 class FE_Element;
00042 class Vector;
00043 class ConvergenceTest;
00044 
00045 class CollocationHybridSimulation : public TransientIntegrator
00046 {
00047 public:
00048     // constructors
00049     CollocationHybridSimulation();
00050     CollocationHybridSimulation(double theta, ConvergenceTest &theTest);
00051     CollocationHybridSimulation(double theta, ConvergenceTest &theTest,
00052         double alphaM, double betaK, double betaKi, double betaKc);
00053     CollocationHybridSimulation(double theta,
00054         double beta, double gamma, ConvergenceTest &theTest);
00055     CollocationHybridSimulation(double theta,
00056         double beta, double gamma, ConvergenceTest &theTest,
00057         double alphaM, double betaK, double betaKi, double betaKc);
00058     
00059     // destructor
00060     ~CollocationHybridSimulation();
00061     
00062     // methods which define what the FE_Element and DOF_Groups add
00063     // to the system of equation object.
00064     int formEleTangent(FE_Element *theEle);
00065     int formNodTangent(DOF_Group *theDof);        
00066     
00067     int domainChanged(void);
00068     int newStep(double deltaT);
00069     int revertToLastStep(void);
00070     int update(const Vector &deltaU);
00071     int commit(void);
00072     
00073     virtual int sendSelf(int commitTag, Channel &theChannel);
00074     virtual int recvSelf(int commitTag, Channel &theChannel, FEM_ObjectBroker &theBroker);
00075     
00076     void Print(OPS_Stream &s, int flag = 0);        
00077     
00078 protected:
00079     
00080 private:
00081     double theta;
00082     double beta;
00083     double gamma;
00084     double deltaT;
00085     
00086     // rayleigh damping factors
00087     double alphaM;
00088     double betaK;
00089     double betaKi;
00090     double betaKc;
00091 
00092     ConvergenceTest *theTest;       // convergence test
00093     double rFact;                   // displacement increment reduction factor
00094     double c1, c2, c3;              // some constants we need to keep
00095     Vector *Ut, *Utdot, *Utdotdot;  // response quantities at time t
00096     Vector *U, *Udot, *Udotdot;     // response quantities at time t+deltaT
00097 };
00098 
00099 #endif

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