YieldFunction.cppGo 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 YieldFunction_CPP 00035 #define YieldFunction_CPP 00036 00037 #include "YieldFunction.h" 00038 00039 double YieldFunction::InScalarDerivative(const stresstensor& Stre, 00040 const MaterialParameter &MaterialParameter_in, 00041 int which) const 00042 { 00043 return 0.0; 00044 } 00045 00046 const stresstensor& YieldFunction::InTensorDerivative(const stresstensor& Stre, 00047 const MaterialParameter &MaterialParameter_in, 00048 int which) const 00049 { 00050 // Just for compiling 00051 static stresstensor ZStre; 00052 return ZStre; 00053 } 00054 00055 //int YieldFunction::getTensionOrCompressionType() const 00056 //{ 00057 // // if No Tensile allowed, return 1; 00058 // // By default, return 0; 00059 // return 0; 00060 //} 00061 00062 #endif 00063 |