Bidirectional.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.6 $ 00022 // $Date: 2006/08/03 23:49:46 $ 00023 // $Source: /usr/local/cvs/OpenSees/SRC/material/section/Bidirectional.h,v $ 00024 00025 00026 #ifndef Bidirectional_h 00027 #define Bidirectional_h 00028 00029 // File: ~/material/Bidirectional.h 00030 // 00031 // Written: MHS 00032 // Created: Feb 2000 00033 // Revision: A 00034 // 00035 // Description: 00036 // 00037 // What: "@(#) Bidirectional.h, revA" 00038 00039 #include <SectionForceDeformation.h> 00040 00041 #include <Matrix.h> 00042 #include <Vector.h> 00043 #include <ID.h> 00044 00045 class Bidirectional : public SectionForceDeformation 00046 { 00047 public: 00048 Bidirectional(int tag, double E, double sigY, double Hiso, double Hkin); 00049 Bidirectional(); 00050 ~Bidirectional(); 00051 00052 const char *getClassType(void) const {return "Bidirectionald";}; 00053 00054 int setTrialSectionDeformation(const Vector &v); 00055 const Matrix &getSectionTangent(void); 00056 const Matrix &getInitialTangent(void); 00057 const Vector &getStressResultant(void); 00058 const Vector &getSectionDeformation(void); 00059 00060 int commitState(void); 00061 int revertToLastCommit(void); 00062 int revertToStart(void); 00063 00064 SectionForceDeformation *getCopy(void); 00065 const ID &getType(void); 00066 int getOrder(void) const; 00067 00068 int sendSelf(int commitTag, Channel &theChannel); 00069 int recvSelf(int commitTag, Channel &theChannel, 00070 FEM_ObjectBroker &theBroker); 00071 00072 void Print(OPS_Stream &s, int flag = 0); 00073 00074 protected: 00075 00076 private: 00077 double E; 00078 double sigY; 00079 double Hiso; 00080 double Hkin; 00081 00082 double e_n1[2]; 00083 double eP_n[2]; 00084 double eP_n1[2]; 00085 00086 double q_n[2]; 00087 double q_n1[2]; 00088 00089 double alpha_n; 00090 double alpha_n1; 00091 00092 static Vector s; 00093 static Matrix ks; 00094 static ID code; 00095 }; 00096 00097 00098 #endif |