MD_PS01.hGo to the documentation of this file.00001 // 00002 //================================================================================ 00003 //# COPYRIGHT (C): :-)) # 00004 //# PROJECT: Object Oriented Finite Element Program # 00005 //# PURPOSE: Manzari-Dafalias potential criterion 01 (with Pc) # 00006 //# CLASS: MDPotentialSurface01 # 00007 //# # 00008 //# VERSION: # 00009 //# LANGUAGE: C++.ver >= 2.0 ( Borland C++ ver=3.00, SUN C++ ver=2.1 ) # 00010 //# TARGET OS: DOS || UNIX || . . . # 00011 //# PROGRAMMER(S): Boris Jeremic, Zhaohui Yang # 00012 //# # 00013 //# # 00014 //# DATE: August 08 '00 # 00015 //# UPDATE HISTORY: December 13 '00 # 00016 //# # 00017 //# # 00018 //# # 00019 //# # 00020 //# SHORT EXPLANATION: # 00021 //# # 00022 //# # 00023 //# # 00024 //# # 00025 //# # 00026 //# # 00027 //# # 00028 //# # 00029 //# # 00030 //# # 00031 //================================================================================ 00032 // 00033 00034 #ifndef MD_PS01_H 00035 #define MD_PS01_H 00036 00037 #include "EPState.h" 00038 #include "PS.h" 00039 #include <BJtensor.h> 00040 00041 00042 class MDPotentialSurface01 : public PotentialSurface 00043 { 00044 private: 00045 double Pc; 00046 00047 public: 00048 PotentialSurface *newObj(); //create a colne of itself 00049 MDPotentialSurface01(double pc); // Default constructor 00050 00051 tensor dQods(const EPState *EPS) const; 00052 tensor d2Qods2(const EPState *EPS) const ; 00053 00054 //aux. functions for d2Qods2 00055 tensor dnods(const EPState *EPS) const; 00056 tensor dthetaoverds(const EPState *EPS) const; 00057 double dgoverdt(double theta, double c) const; 00058 tensor apqdnods(const EPState *EPS) const; 00059 00060 void print() { opserr << *this; }; 00061 00062 //================================================================================ 00063 // Overloaded Insertion Operator 00064 // prints an PotentialSurface's contents 00065 //================================================================================ 00066 friend OPS_Stream& operator<< (OPS_Stream& os, const MDPotentialSurface01 &PS); 00067 00068 }; 00069 00070 #endif 00071 |