EL_T.cpp

Go 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_T                                                #
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_T_CPP
00029 #define EL_T_CPP
00030 
00031 #include "EL_T.h"
00032 #include <basics.h>
00033     
00034 
00035 //================================================================================
00036 //  Create a clone of itself 
00037 //================================================================================
00038 EvolutionLaw_T * EvolutionLaw_T::newObj() {
00039     
00040     EvolutionLaw_T *newEL = new EvolutionLaw_T( *this );
00041     
00042     return newEL;
00043 
00044 }
00045 
00046 //================================================================================
00047 // Evaluating h_ ( for the evaluation of Kp )
00048 //================================================================================
00049 
00050 tensor EvolutionLaw_T::h_t( EPState *EPS, PotentialSurface *PS)
00051 {
00052     // Return zero valued tensor
00053     stresstensor temp;
00054     return temp;
00055 }
00056 
00057 //================================================================================
00058 // updating E, e D and m for Manzari-Dafalias model
00059 //================================================================================
00060 
00061 int EvolutionLaw_T::updateEeDm( EPState *EPS, double st_vol, double dLamda)
00062 {
00063    // do nothing
00064    return 0;
00065 }  
00066 
00067 
00068 
00069 //================================================================================
00070 //  Print vars defined in Linear Evolution Law_T
00071 //================================================================================
00072 void EvolutionLaw_T::print()
00073 {
00074     opserr << (*this);
00075 }
00076 
00077 //================================================================================
00078 // Overloaded Insertion Operator
00079 // prints base Evolution Law_T's contents 
00080 //================================================================================
00081 OPS_Stream& operator<< (OPS_Stream& os, const EvolutionLaw_T & EL)
00082 {
00083    os << "Base of Tensorial Evolution Law's Parameters: Nothing" << endln;
00084    return os;
00085 }
00086 
00087 
00088 
00089 
00090 #endif
00091 

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