YS.cppGo to the documentation of this file.00001 /* 00002 //================================================================================ 00003 # COPYRIGHT (C): :-)) # 00004 # PROJECT: Object Oriented Finite Element Program # 00005 # PURPOSE: General platform for elaso-plastic constitutive model # 00006 # implementation # 00007 # CLASS: YS (the base class for all Yield Surface) # 00008 # # 00009 # VERSION: # 00010 # LANGUAGE: C++.ver >= 2.0 ( Borland C++ ver=3.00, SUN C++ ver=2.1 ) # 00011 # TARGET OS: DOS || UNIX || . . . # 00012 # DESIGNER(S): Boris Jeremic, Zhaohui Yang # 00013 # PROGRAMMER(S): Boris Jeremic, Zhaohui Yang # 00014 # # 00015 # # 00016 # DATE: 08-03-2000 # 00017 # UPDATE HISTORY: # 00018 # # 00019 # # 00020 # # 00021 # # 00022 # SHORT EXPLANATION: This is the base class of all yield surface. Here defined # 00023 # are initial values of the first derivatives of dF/ds_i # 00024 # and dF/ot_i # 00025 # # 00026 //================================================================================ 00027 */ 00028 00029 #ifndef YS_CPP 00030 #define YS_CPP 00031 00032 #include "YS.h" 00033 00034 00035 //================================================================================ 00036 // First derivative of F over scalar internal variables 00037 // (at most 4 scalar internal vars allowed currently) 00038 //================================================================================ 00039 00040 //================================================================================ 00041 //First derivative of F over the 1st scalar var 00042 //================================================================================ 00043 00044 double YieldSurface::xi_s1( const EPState *EPS ) const 00045 { 00046 return 0.0; 00047 } 00048 00049 //================================================================================ 00050 //First derivative of F over the 2nd scalar var 00051 //================================================================================ 00052 00053 double YieldSurface::xi_s2( const EPState *EPS ) const 00054 { 00055 return 0.0; 00056 } 00057 00058 //================================================================================ 00059 //First derivative of F over the 3rd scalar var 00060 //================================================================================ 00061 00062 double YieldSurface::xi_s3( const EPState *EPS ) const 00063 { 00064 return 0.0; 00065 } 00066 00067 //================================================================================ 00068 //First derivative of F over the 4th scalar var 00069 //================================================================================ 00070 00071 double YieldSurface::xi_s4( const EPState *EPS ) const 00072 { 00073 return 0.0; 00074 } 00075 00076 //================================================================================ 00077 // First derivative of F over scalar internal variables 00078 // (at most 4 tensorial internal vars allowed currently) 00079 //================================================================================ 00080 00081 //================================================================================ 00082 //First derivative of F over the 1st scalar var 00083 //================================================================================ 00084 tensor YieldSurface::xi_t1( const EPState *EPS ) const 00085 { 00086 stresstensor temp; 00087 // cout << "inside YieldSurface::xi_t1( const EPState *EPS ) const " << temp; 00088 return temp; 00089 } 00090 //================================================================================ 00091 //First derivative of F over the 2nd scalar var 00092 //================================================================================ 00093 tensor YieldSurface::xi_t2( const EPState *EPS ) const 00094 { 00095 stresstensor temp; 00096 // cout << " inside YieldSurface::xi_t2 " <<temp; 00097 return temp; 00098 } 00099 00100 //================================================================================ 00101 //First derivative of F over the 3rd scalar var 00102 //================================================================================ 00103 tensor YieldSurface::xi_t3( const EPState *EPS ) const 00104 { 00105 stresstensor temp; 00106 // cout << "inside YieldSurface::xi_t3 " <<temp; 00107 return temp; 00108 } 00109 00110 //================================================================================ 00111 //First derivative of F over the 4th scalar var 00112 //================================================================================ 00113 tensor YieldSurface::xi_t4( const EPState *EPS ) const 00114 { 00115 stresstensor temp; 00116 // cout << " inside YieldSurface::xi_t4 " << temp; 00117 return temp; 00118 } 00119 00120 //================================================================================ 00121 // friend OPS_Stream functions for output 00122 //================================================================================ 00123 OPS_Stream& operator<<(OPS_Stream& os, const YieldSurface & YS) 00124 { 00125 os << "Yield Surface Parameters: " << endln; 00126 return os; 00127 } 00128 00129 00130 #endif 00131 |