EL_S.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 # # 00008 # CLASS: EvolutionLaw_S(base Evolution Law class for scalar var # 00009 # # 00010 # VERSION: # 00011 # LANGUAGE: C++.ver >= 2.0 ( Borland C++ ver=3.00, SUN C++ ver=2.1 ) # 00012 # TARGET OS: DOS || UNIX || . . . # 00013 # DESIGNER(S): Boris Jeremic, Zhaohui Yang # 00014 # PROGRAMMER(S): Boris Jeremic, Zhaohui Yang # 00015 # # 00016 # # 00017 # DATE: 09-02-2000 # 00018 # UPDATE HISTORY: 09-12-2000 # 00019 # # 00020 # # 00021 # # 00022 # SHORT EXPLANATION: Here are some initial definitions of some virtual funs, # 00023 # some of which will be redefined in derived classes. # 00024 # # 00025 //================================================================================ 00026 */ 00027 00028 #ifndef EL_CPP 00029 #define EL_CPP 00030 00031 #include "EL_S.h" 00032 #include <basics.h> 00033 00034 00035 //================================================================================ 00036 // Create a clone of itself 00037 //================================================================================ 00038 EvolutionLaw_S * EvolutionLaw_S::newObj() { 00039 00040 EvolutionLaw_S *newEL = new EvolutionLaw_S( *this ); 00041 00042 return newEL; 00043 00044 } 00045 00046 00047 //================================================================================ 00048 // Evaluating scalar hardening function h_s ( for the evaluation of Kp ) 00049 //================================================================================ 00050 00051 double EvolutionLaw_S::h_s( EPState *EPS, PotentialSurface *PS){ 00052 00053 return 0.0; 00054 00055 } 00056 00057 00058 //================================================================================ 00059 // Print content of the base class, might be overwritten! 00060 //================================================================================ 00061 void EvolutionLaw_S::print() 00062 { 00063 opserr << (*this); 00064 } 00065 00066 //================================================================================ 00067 // Overloaded Insertion Operator 00068 // prints an Evolution Law_S's contents 00069 //================================================================================ 00070 OPS_Stream& operator<< (OPS_Stream& os, const EvolutionLaw_S & EL) 00071 { 00072 os << "Scalar Evolution Law's Parameters: " << endln; 00073 return os; 00074 } 00075 00076 00077 00078 #endif 00079 |