00001
00002
00004
00005 #include "Isotropic2D01.h"
00006 #include <math.h>
00007
00008 #define evolDebug 0
00009 #define ISOTROPIC2D01_CLASSTAG 1
00011 // Construction/Destruction
00013
00014 Isotropic2D01::Isotropic2D01(int tag, double min_iso_factor,
00015 PlasticHardeningMaterial &kpx,
00016 PlasticHardeningMaterial &kpy)
00017 :PlasticHardening2D(tag, ISOTROPIC2D01_CLASSTAG, min_iso_factor,1, 0,
00018 kpx, kpx, kpy, kpy, 0.0)
00019 {
00020
00021 }
00022
00023 Isotropic2D01::~Isotropic2D01()
00024 {
00025
00026 }
00027
00028 YS_Evolution *Isotropic2D01::getCopy(void)
00029 {
00030 Isotropic2D01 *theCopy = new Isotropic2D01(this->getTag(), minIsoFactor, *kpMatXPos, *kpMatYPos);
00031 if(theCopy==0)
00032 {
00033 opserr << "WARNING - Isotropic2D01, unable to get copy\n";
00034 }
00035
00036 return theCopy;
00037 }
00038
00039 void Isotropic2D01::Print(OPS_Stream &s, int flag)
00040 {
00041 s << "Isotropic2D01 \n";
00042 s << "iso_Ratio = " << isotropicRatio << "\n";
00043 s << "isotropicFactor_hist = " << isotropicFactor_hist;
00044 s << "translateX = " << translate(0) << ",\ttranslateY = " << translate(1) << "\n";
00045 s << "\n";
00046
00047 }
00048