Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

ElasticPPMaterial.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.2 $
00022 // $Date: 2000/12/13 05:53:01 $
00023 // $Source: /usr/local/cvs/OpenSees/SRC/material/uniaxial/ElasticPPMaterial.h,v $
00024                                                                         
00025                                                                         
00026 #ifndef ElasticPPMaterial_h
00027 #define ElasticPPMaterial_h
00028 
00029 // File: ~/material/ElasticPPMaterial.h
00030 //
00031 // Written: fmk 
00032 // Created: 07/98
00033 // Revision: A
00034 //
00035 // Description: This file contains the class definition for 
00036 // ElasticPPMaterial. ElasticPPMaterial provides the abstraction
00037 // of an elastic perfectly plastic uniaxial material, 
00038 //
00039 // What: "@(#) ElasticPPMaterial.h, revA"
00040 
00041 #include <UniaxialMaterial.h>
00042 
00053 class ElasticPPMaterial : public UniaxialMaterial
00054 {
00055   public:
00057     ElasticPPMaterial(int tag, double E, double eyp);    
00058 
00060     ElasticPPMaterial(int tag, double E, double eyp, double eyn, double ezero);    
00062     ElasticPPMaterial();    
00063 
00065     ~ElasticPPMaterial();
00066 
00068     int setTrialStrain(double strain, double strainRate = 0.0); 
00070     double getStrain(void);          
00072     double getStress(void);
00074     double getTangent(void);
00075 
00077     double getSecant (void);
00078 
00080     int commitState(void);
00082     int revertToLastCommit(void);    
00084     int revertToStart(void);    
00085 
00087     UniaxialMaterial *getCopy(void);
00088     
00090     int sendSelf(int commitTag, Channel &theChannel);  
00092     int recvSelf(int commitTag, Channel &theChannel, 
00093    FEM_ObjectBroker &theBroker);    
00094     
00096     void Print(ostream &s, int flag =0);
00097     
00098   protected:
00099     
00100   private:
00102     double fyp, fyn; 
00103     double ezero; 
00104     double E;  
00105     double trialStrain; 
00106     double eptrial; 
00107     double ep;  // plastic strain at last commit
00108 };
00109 
00110 
00111 #endif
00112 
00113 
00114 
Copyright Contact Us