PathIndependentMaterial.h

Go to the documentation of this file.
00001 /* ****************************************************************** **
00002 **    OpenSees - Open System for Earthquake Engineering Simulation    **
00003 **          Pacific Earthquake Engineering Research Center            **
00004 **                                                                    **
00005 **                                                                    **
00006 ** (C) Copyright 1999, The Regents of the University of California    **
00007 ** All Rights Reserved.                                               **
00008 **                                                                    **
00009 ** Commercial use of this program without express permission of the   **
00010 ** University of California, Berkeley, is strictly prohibited.  See   **
00011 ** file 'COPYRIGHT'  in main directory for information on usage and   **
00012 ** redistribution,  and for a DISCLAIMER OF ALL WARRANTIES.           **
00013 **                                                                    **
00014 ** Developed by:                                                      **
00015 **   Frank McKenna (fmckenna@ce.berkeley.edu)                         **
00016 **   Gregory L. Fenves (fenves@ce.berkeley.edu)                       **
00017 **   Filip C. Filippou (filippou@ce.berkeley.edu)                     **
00018 **                                                                    **
00019 ** ****************************************************************** */
00020                                                                         
00021 // $Revision: 1.6 $
00022 // $Date: 2006/08/03 23:42:19 $
00023 // $Source: /usr/local/cvs/OpenSees/SRC/material/uniaxial/PathIndependentMaterial.h,v $
00024                                                       
00025 // Written: MHS
00026 // Created: Aug 2000
00027 //
00028 // Description: This file contains the class definition for 
00029 // PathIndependentMaterial.  PathIndependentMaterial uses a UniaxialMaterial
00030 // object to represent a path-independent uniaxial material.  Since
00031 // it is path-independent, no state information is stored by
00032 // PathIndependentMaterial.
00033 
00034 #ifndef PathIndependentMaterial_h
00035 #define PathIndependentMaterial_h
00036 
00037 #include <UniaxialMaterial.h>
00038 
00039 class PathIndependentMaterial : public UniaxialMaterial
00040 {
00041   public:
00042     PathIndependentMaterial(int tag, UniaxialMaterial &material); 
00043     PathIndependentMaterial();
00044     ~PathIndependentMaterial();
00045 
00046     const char *getClassType(void) const {return "PathIndependentMaterial";}; 
00047 
00048     int setTrialStrain(double strain, double strainRate = 0.0); 
00049     double getStrain(void);          
00050     double getStrainRate(void);
00051     double getStress(void);
00052     double getTangent(void);
00053     double getDampTangent(void);
00054     double getInitialTangent(void);
00055 
00056     int commitState(void);
00057     int revertToLastCommit(void);    
00058     int revertToStart(void);        
00059 
00060     UniaxialMaterial *getCopy(void);
00061     
00062     int sendSelf(int commitTag, Channel &theChannel);  
00063     int recvSelf(int commitTag, Channel &theChannel, 
00064                  FEM_ObjectBroker &theBroker);    
00065     
00066     void Print(OPS_Stream &s, int flag =0);
00067     
00068   protected:
00069     
00070   private:
00071     UniaxialMaterial *theMaterial;
00072 };
00073 
00074 
00075 #endif
00076 

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