Isolator2spring.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: 2006/01/17 20:44:32 $
00023 // $Source: /usr/local/cvs/OpenSees/SRC/material/section/Isolator2spring.h,v $
00024                                                                         
00025                                                                         
00026 // Written: K. Ryan
00027 // Created: September 2003
00028 // Updates: November 2005
00029 //
00030 // Description: This file contains the class implementation for a "two-spring isolator" 
00031 // material.  This material is based on the two-spring model originally developed by 
00032 // Koh and Kelly to represent the buckling behavior of an elastomeric bearing.  The 
00033 // material model has been modified to include material nonlinearity and optional 
00034 // strength degradation.
00035 
00036 #ifndef Isolator2spring_h
00037 #define Isolator2spring_h
00038 #include <SectionForceDeformation.h>
00039 
00040 #include <Matrix.h>
00041 #include <Vector.h>
00042 #include <ID.h>
00043 
00044 class Isolator2spring : public SectionForceDeformation
00045 {
00046   public:
00047     Isolator2spring(int tag, double tol_in, double k1_in, double Fy_in, double kb_in, double kvo_in, 
00048                double hb_in, double Pe_in, double po_in);
00049     Isolator2spring();
00050     ~Isolator2spring();
00051 
00052     int setTrialSectionDeformation(const Vector &v);
00053     const Matrix &getSectionTangent(void);
00054     const Matrix &getInitialTangent(void);
00055     const Vector &getStressResultant(void);
00056     const Vector &getSectionDeformation(void);
00057 
00058     int commitState(void);
00059     int revertToLastCommit(void);
00060     int revertToStart(void);
00061     
00062     SectionForceDeformation *getCopy(void);
00063     const ID &getType(void);
00064     int getOrder(void) const;
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         double tol;
00076         double k1;
00077         double Fyo;
00078         double kbo;
00079         double kvo;
00080         double h;
00081         double Pe;
00082         double po;
00083 
00084         double utpt[2];
00085         double sP_n;
00086         double sP_n1;
00087 
00088         double q_n;
00089         double q_n1;
00090 
00091         double H;
00092         double pcr;
00093 
00094         Vector x0;
00095         Matrix ks;
00096         static Vector f0;
00097         static Matrix df;
00098         static Vector s;
00099         static Vector s3;
00100         static ID code;
00101 };
00102 
00103 #endif

Generated on Mon Oct 23 15:05:18 2006 for OpenSees by doxygen 1.5.0