ElasticIsotropicPlaneStrain2D.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/04 18:18:37 $ 00023 // $Source: /usr/local/cvs/OpenSees/SRC/material/nD/ElasticIsotropicPlaneStrain2D.h,v $ 00024 00025 00026 #ifndef ElasticIsotropicPlaneStrain2D_h 00027 #define ElasticIsotropicPlaneStrain2D_h 00028 00029 // Written: MHS 00030 // Created: Feb 2000 00031 // Revision: A 00032 // 00033 // Description: 00034 // 00035 // What: "@(#) ElasticIsotropicPlaneStrain2D.h, revA" 00036 00037 #include <ElasticIsotropicMaterial.h> 00038 00039 #include <Matrix.h> 00040 #include <Vector.h> 00041 #include <ID.h> 00042 00043 #include <Tensor.h> 00044 00045 class ElasticIsotropicPlaneStrain2D : public ElasticIsotropicMaterial 00046 { 00047 public: 00048 ElasticIsotropicPlaneStrain2D (int tag, double E, double nu, double rho); 00049 ElasticIsotropicPlaneStrain2D (); 00050 ~ElasticIsotropicPlaneStrain2D (); 00051 00052 const char *getClassType(void) const {return "ElasticIsotropicPlaneStrain2D";}; 00053 00054 int setTrialStrain (const Vector &v); 00055 int setTrialStrain (const Vector &v, const Vector &r); 00056 int setTrialStrainIncr (const Vector &v); 00057 int setTrialStrainIncr (const Vector &v, const Vector &r); 00058 const Matrix &getTangent (void); 00059 const Matrix &getInitialTangent (void); 00060 00061 const Vector &getStress (void); 00062 const Vector &getStrain (void); 00063 00064 int commitState (void); 00065 int revertToLastCommit (void); 00066 int revertToStart (void); 00067 00068 NDMaterial *getCopy (void); 00069 const char *getType (void) const; 00070 int getOrder (void) const; 00071 00072 protected: 00073 00074 private: 00075 static Vector sigma; // Stress vector ... class-wide for returns 00076 static Matrix D; // Elastic constants 00077 Vector epsilon; // Trial strains 00078 }; 00079 00080 00081 #endif 00082 00083 |