Kinematic2D01.cpp

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