MD_PS.h

Go to the documentation of this file.
00001 //
00002 //================================================================================
00003 //# COPYRIGHT (C):     :-))                                                      #
00004 //# PROJECT:           Object Oriented Finite Element Program                    #
00005 //# PURPOSE:           Mazari - Dafalias  potential criterion                    #
00006 //# CLASS:             MDPotentialSurface                                        #
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:                                                              #
00016 //#                                                                              #
00017 //#                                                                              #
00018 //#                                                                              #
00019 //#                                                                              #
00020 //# SHORT EXPLANATION:                                                           #
00021 //#                                                                              #
00022 //#                                                                              #
00023 //#                                                                              #
00024 //#                                                                              #
00025 //#                                                                              #
00026 //#                                                                              #
00027 //#                                                                              #
00028 //#                                                                              #
00029 //#                                                                              #
00030 //#                                                                              #
00031 //================================================================================
00032 //
00033 
00034 #ifndef MD_PS_H    
00035 #define MD_PS_H
00036 
00037 #include "EPState.h"
00038 #include "PS.h"
00039 #include <BJtensor.h>
00040 
00041 
00042 class MDPotentialSurface : public PotentialSurface
00043 {
00044 
00045   public:
00046     PotentialSurface *newObj();  //create a colne of itself
00047     MDPotentialSurface();          // Default constructor
00048 
00049     tensor dQods(const EPState *EPS) const; 
00050     tensor d2Qods2(const EPState *EPS) const ;   
00051 
00052     //aux. functions for d2Qods2
00053     tensor dnods(const EPState *EPS) const;
00054     tensor dthetaoverds(const EPState *EPS) const;
00055     double dgoverdt(double theta, double c) const;
00056     tensor apqdnods(const EPState *EPS) const;
00057     
00058     void print() { opserr << *this; };
00059 
00060     //================================================================================
00061     // Overloaded Insertion Operator
00062     // prints an PotentialSurface's contents 
00063     //================================================================================
00064     friend OPS_Stream& operator<< (OPS_Stream& os, const MDPotentialSurface &PS)
00065     {
00066        os << "Manzari-Dafalias Potential Surface Parameters: " << endln;
00067        return os;
00068     }
00069 };
00070 
00071 #endif
00072 

Generated on Mon Oct 23 15:05:16 2006 for OpenSees by doxygen 1.5.0