Kinematic2D02.cpp

Go to the documentation of this file.
00001 //Kinematic2D02
00002 //
00004 
00005 #include "Kinematic2D02.h"
00006 #include <math.h>
00007 //#include "YieldSurface_BC.h"
00008  
00009 #define evolDebug 0
00010 #define KINEMATIC2D02_CLASSTAG -1
00011 
00012 NullPlasticMaterial Kinematic2D02::nullMat(-1);
00013 
00015 // Construction/Destruction
00017 
00018 Kinematic2D02::Kinematic2D02(int tag, double min_iso_factor, 
00019                                                                         YieldSurface_BC &lim_surface,
00020                                                                         PlasticHardeningMaterial &kpx,
00021                                                                         PlasticHardeningMaterial &kpy,
00022                                                                         int algo, double resfact, double appfact, double dir)
00023 :BkStressLimSurface2D(tag, KINEMATIC2D02_CLASSTAG, min_iso_factor,0.0, 1.0,
00024                         lim_surface, kpx, kpy,
00025                         nullMat, nullMat, nullMat, nullMat, algo, resfact, appfact, dir)
00026 {
00027         
00028 }
00029 
00030 Kinematic2D02::~Kinematic2D02()
00031 {
00032 
00033 }
00034 
00035 YS_Evolution *Kinematic2D02::getCopy()
00036 {
00037 YS_Evolution *theCopy = new Kinematic2D02(getTag(), minIsoFactor,
00038                                           *limSurface, *kinMatX, *kinMatY, resAlgo,
00039                                           resFactor, appFactor, direction);
00040 
00041         return theCopy;
00042 }
00043 
00044 /*int Kinematic2D02::displaySelf(Renderer &theViewer, int displayMode, float fact)
00045 {
00046 
00047  limSurface->displaySelf(theViewer, limSurface->SurfOnly, fact);
00048 //      limSurface->displaySelf(theViewer, displayMode, fact);
00049         return  0;
00050 }
00051 */
00052 void Kinematic2D02::Print(OPS_Stream &s, int flag)
00053 {
00054         s << "Kinematic2D02 \n";
00055         s << "iso_Ratio = " << isotropicRatio << "\n";
00056         s << "isotropicFactor_hist = " << isotropicFactor_hist;
00057         s << "translateX       = " << translate(0) << ",\ttranslateY = " << translate(1) << "\n";
00058         s << "\n";
00059 
00060 }
00061         

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