PeakOriented2D01.cpp

Go to the documentation of this file.
00001 //PeakOriented2D01.cpp: implementation of the YS_HardeningModel class.
00002 //
00004 
00005 #include "PeakOriented2D01.h"
00006 #include <math.h>
00007 
00008 #define evolDebug 0
00009 #define PEAK_ORIENTED2D01_CLASSTAG -1
00011 // Construction/Destruction
00013 
00014 PeakOriented2D01::PeakOriented2D01(int tag, double min_iso_factor,
00015                                    PlasticHardeningMaterial &kpx,
00016                                    PlasticHardeningMaterial &kpy)
00017 :PlasticHardening2D(tag, PEAK_ORIENTED2D01_CLASSTAG, min_iso_factor, 0.5, 0.5,
00018                     kpx, kpx, kpy, kpy, 0.0)
00019 {
00020 
00021 }
00022 
00023 PeakOriented2D01::~PeakOriented2D01()
00024 {
00025 
00026 }
00027         
00028 YS_Evolution *PeakOriented2D01::getCopy(void)
00029 {
00030         PeakOriented2D01 *theCopy = new  PeakOriented2D01(this->getTag(), minIsoFactor, *kpMatXPos, *kpMatYPos);
00031         if(theCopy==0)
00032         {
00033                 opserr << "WARNING - PeakOriented2D, unable to get copy\n";
00034         }
00035         
00036         return theCopy;
00037 }
00038 
00039 void PeakOriented2D01::Print(OPS_Stream &s, int flag)
00040 {
00041         s << "PeakOriented2D \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         

Generated on Mon Oct 23 15:05:23 2006 for OpenSees by doxygen 1.5.0