00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014 #ifndef _TRESCA_H
00015 #define _TRESCA_H
00016
00017 #include "cmodel.h"
00018 #include "elasplas.h"
00019
00020
00021
00022
00023 class cTresca : public cElastoPlastic
00024 {
00025 protected:
00026 double *_Ep, *_IteEp;
00027 double _Alpha, _IteAlpha;
00028
00029 public:
00030 cTresca ( cIntPt *, cMaterial * );
00031 ~cTresca ( void );
00032 void Init ( void );
00033 void Update ( void );
00034 void GetPlasticVar ( double *, double * );
00035 void SetPlasticVar ( double *, double * );
00036 void InternalVar ( double *, double * );
00037 void PlasticModuli ( double *, double ** );
00038 double YieldFunction ( double *, double * );
00039 void YieldGrad ( double *, double *, double *, double * );
00040 int GetNumPrintScls( void );
00041 void GetPrintSclLabs( char ** );
00042 void GetPrintSclVals( double *, double * );
00043
00044 private:
00045 void GetMatData ( double *, double * );
00046 };
00047
00048 #endif