CC_PF.h

Go to the documentation of this file.
00001 
00002 //   COPYLEFT (C): Woody's viral GPL-like license (by BJ):
00003 //                 ``This    source  code is Copyrighted in
00004 //                 U.S.,  for  an  indefinite  period,  and anybody
00005 //                 caught  using it without our permission, will be
00006 //                 mighty good friends of ourn, cause we don't give
00007 //                 a  darn.  Hack it. Compile it. Debug it. Run it.
00008 //                 Yodel  it.  Enjoy it. We wrote it, that's all we
00009 //                 wanted to do.''
00010 //
00011 //
00012 // COPYRIGHT (C):     :-))
00013 // PROJECT:           Object Oriented Finite Element Program
00014 // FILE:              
00015 // CLASS:             
00016 // MEMBER FUNCTIONS:
00017 //
00018 // MEMBER VARIABLES
00019 //
00020 // PURPOSE:           
00021 //
00022 // RETURN:
00023 // VERSION:
00024 // LANGUAGE:          C++
00025 // TARGET OS:         
00026 // DESIGNER:          Zhao Cheng, Boris Jeremic
00027 // PROGRAMMER:        Zhao Cheng, 
00028 // DATE:              Fall 2005
00029 // UPDATE HISTORY:    
00030 //
00032 //
00033 #ifndef CC_PF_H
00034 #define CC_PF_H
00035 
00036 #include "PlasticFlow.h"
00037 #include <math.h>
00038 
00039 class CC_PF : public PlasticFlow
00040 {
00041   public:   
00042     CC_PF(int M_which_in = -1, int index_M_in = 0, 
00043           int p0_which_in = -1, int index_p0_in = 0);
00044           
00045     ~CC_PF();
00046          
00047     PlasticFlow* newObj();
00048    
00049     const straintensor& PlasticFlowTensor(const stresstensor &Stre, 
00050                                           const straintensor &Stra, 
00051                                           const MaterialParameter &MaterialParameter_in) const;
00052 
00053   private:
00054     double getM(const MaterialParameter &MaterialParameter_in) const;
00055     double getP0(const MaterialParameter &MaterialParameter_in) const;
00056 
00057   private:
00058     
00059     int M_which;
00060     int index_M;   
00061     int p0_which;
00062     int index_p0; 
00063         
00064     static straintensor CCm;
00065 };
00066 
00067 
00068 #endif
00069 

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