CC_Ev.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 
00034 #ifndef CC_Ev_H
00035 #define CC_Ev_H 
00036 
00037 #include "ScalarEvolution.h"
00038 #include "ElasticState.h"
00039 
00040 class CC_Ev : public ScalarEvolution
00041 {
00042   public:
00043   
00044    CC_Ev(int lambda_index_in,
00045          int kappa_index_in,
00046          int e0_index_in,
00047          int p0_index_in);
00048 
00049     ScalarEvolution* newObj();
00050 
00051     double H(const straintensor& plastic_flow, const stresstensor& Stre, 
00052              const straintensor& Stra, const MaterialParameter& material_parameter);
00053        
00054   private:
00055   
00056     double getlambda(const MaterialParameter& material_parameter) const;
00057     double getkappa(const MaterialParameter& material_parameter) const;
00058     double gete0(const MaterialParameter& material_parameter) const;
00059     double getp0(const MaterialParameter& material_parameter) const; 
00060     
00061   private:
00062   
00063     int lambda_index;
00064     int kappa_index;
00065     int e0_index;
00066     int p0_index;
00067 };
00068 
00069 
00070 #endif
00071 

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