NewUniaxialMaterial.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/15 00:41:05 $ 00023 // $Source: /usr/local/cvs/OpenSees/SRC/material/uniaxial/NewUniaxialMaterial.h,v $ 00024 00025 // Written: MHS 00026 // Created: Aug 2001 00027 // 00028 // Description: This file contains the class definition for 00029 // NewUniaxialMaterial. 00030 00031 #ifndef NewUniaxialMaterial_h 00032 #define NewUniaxialMaterial_h 00033 00034 #include <UniaxialMaterial.h> 00035 00036 #define MAT_TAG_NewUniaxialMaterial 1976 00037 00038 class NewUniaxialMaterial : public UniaxialMaterial 00039 { 00040 public: 00041 NewUniaxialMaterial(int tag); 00042 NewUniaxialMaterial(); 00043 ~NewUniaxialMaterial(); 00044 00045 const char *getClassType(void) const {return "NewUniaxialMaterial";}; 00046 00047 int setTrialStrain(double strain, double strainRate = 0.0); 00048 double getStrain(void); 00049 double getStress(void); 00050 double getTangent(void); 00051 double getInitialTangent(void); 00052 00053 int commitState(void); 00054 int revertToLastCommit(void); 00055 int revertToStart(void); 00056 00057 UniaxialMaterial *getCopy(void); 00058 00059 int sendSelf(int commitTag, Channel &theChannel); 00060 int recvSelf(int commitTag, Channel &theChannel, 00061 FEM_ObjectBroker &theBroker); 00062 00063 void Print(OPS_Stream &s, int flag =0); 00064 00065 protected: 00066 00067 private: 00068 double trialStrain; // trial strain 00069 double trialStress; // trial stress 00070 double trialTangent; // trial tangent 00071 double commitStrain; // commit strain 00072 double commitStress; // commit stress 00073 double commitTangent; // commit tangent 00074 }; 00075 00076 #endif 00077 |