fdYieldDP.hGo 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 fdYieldDP_H 00028 #define fdYieldDP_H 00029 00030 #include "fdYield.h" 00031 00032 class fdYieldDP : public fdYield 00033 { 00034 private: 00035 double alpha; 00036 double k; 00037 00038 public: 00039 fdYieldDP(double alpha_in, double k_in); 00040 // virtual ~fdYieldDP() {}; 00041 00042 fdYield *newObj(); 00043 00044 int getNumRank(); 00045 double getTolerance(); 00046 00047 double Yd(const stresstensor &sts, const FDEPState &fdepstate ) const; 00048 00049 stresstensor dYods(const stresstensor &sts, const FDEPState &fdepstate ) const; 00050 double dYodq(const stresstensor &sts, const FDEPState &fdepstate ) const; 00051 //stresstensor dYoda(const stresstensor &sts, const FDEPState &fdepstate ) const; 00052 00053 void print() { opserr << *this; }; 00054 00055 friend OPS_Stream& operator<< (OPS_Stream& os, const fdYieldDP & fdydDP); 00056 }; 00057 00058 00059 #endif |