fdYield.cppGo to the documentation of this file.00001 //=============================================================================== 00002 //# COPYRIGHT (C): Woody's 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 //# PROJECT: Object Oriented Finite Element Program 00012 //# PURPOSE: Finite Deformation Hyper-Elastic classes 00013 //# CLASS: 00014 //# 00015 //# VERSION: 0.6_(1803398874989) (golden section) 00016 //# LANGUAGE: C++ 00017 //# TARGET OS: all... 00018 //# DESIGN: Zhao Cheng, Boris Jeremic (jeremic@ucdavis.edu) 00019 //# PROGRAMMER(S): Zhao Cheng, Boris Jeremic 00020 //# 00021 //# 00022 //# DATE: July 2004 00023 //# UPDATE HISTORY: 00024 //# 00025 //=============================================================================== 00026 00027 #ifndef fdYield_CPP 00028 #define fdYield_CPP 00029 00030 #include "fdYield.h" 00031 00032 fdYield::fdYield () 00033 { 00034 00035 } 00036 00037 int fdYield::getNumRank( ) 00038 { 00039 return 0; 00040 } 00041 00042 double fdYield::getTolerance( ) 00043 { 00044 return 1.0e-8; 00045 } 00046 00047 double fdYield::dYodq(const stresstensor &sts, const FDEPState &fdepstate ) const 00048 { 00049 return 0.0; 00050 } 00051 00052 stresstensor fdYield::dYoda(const stresstensor &sts, const FDEPState &fdepstate ) const 00053 { 00054 tensor tZ2(2, def_dim_2, 0.0); 00055 return tZ2; 00056 } 00057 00058 OPS_Stream& operator<<(OPS_Stream& os, const fdYield & fdyd) 00059 { 00060 os << "fdYield Parameters: " << "\n"; 00061 return os; 00062 } 00063 00064 00065 #endif 00066 |