00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025 #ifndef ElasticPPMaterial_h
00026 #define ElasticPPMaterial_h
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038 #include <UniaxialMaterial.h>
00039
00040 class ElasticPPMaterial : public UniaxialMaterial
00041 {
00042 public:
00043 ElasticPPMaterial(int tag, double E, double eyp);
00044 ElasticPPMaterial(int tag, double E, double eyp, double eyn, double ezero);
00045 ElasticPPMaterial();
00046
00047 ~ElasticPPMaterial();
00048
00049 const char *getClassType(void) const {return "ElasticPPMaterial";};
00050
00051 int setTrialStrain(double strain, double strainRate = 0.0);
00052 double getStrain(void);
00053 double getStress(void);
00054 double getTangent(void);
00055
00056 double getInitialTangent(void) {return E;};
00057
00058 int commitState(void);
00059 int revertToLastCommit(void);
00060 int revertToStart(void);
00061
00062 UniaxialMaterial *getCopy(void);
00063
00064 int sendSelf(int commitTag, Channel &theChannel);
00065 int recvSelf(int commitTag, Channel &theChannel,
00066 FEM_ObjectBroker &theBroker);
00067
00068 void Print(OPS_Stream &s, int flag =0);
00069
00070 protected:
00071
00072 private:
00073 double fyp, fyn;
00074 double ezero;
00075 double E;
00076 double trialStrain;
00077 double ep;
00078
00079 double trialStress;
00080 double trialTangent;
00081 };
00082
00083
00084 #endif
00085
00086
00087