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

UniaxialMaterial.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.3 $
00022 // $Date: 2001/05/03 06:37:59 $
00023 // $Source: /usr/local/cvs/OpenSees/SRC/material/uniaxial/UniaxialMaterial.h,v $
00024                                                                         
00025                                                                         
00026 // File: ~/material/UniaxialMaterial.h
00027 //
00028 // Written: fmk 
00029 // Created: 05/98
00030 // Revision: A
00031 //
00032 // Description: This file contains the class definition for 
00033 // UniaxialMaterial. UniaxialMaterial is a base class and 
00034 // thus no objects of it's type can be instantiated. It has pure virtual 
00035 // functions which must be implemented in it's derived classes. 
00036 //
00037 // What: "@(#) UniaxialMaterial.h, revA"
00038 
00039 #ifndef UniaxialMaterial_h
00040 #define UniaxialMaterial_h
00041 
00042 #define POS_INF_STRAIN        1.0e16
00043 #define NEG_INF_STRAIN       -1.0e16
00044 
00045 #include <Material.h>
00046 #include <ID.h>
00047 #include <Vector.h>
00048 #include <Matrix.h>
00049 #include <Information.h>
00050 #include <Response.h>
00051 
00052 #include <SectionForceDeformation.h>
00053 
00065 class UniaxialMaterial : public Material
00066 {
00067   public:
00074     UniaxialMaterial (int tag, int classTag);    
00075 
00077     virtual ~UniaxialMaterial();
00078 
00079 
00081     virtual int setTrialStrain (double strain, double strainRate = 0.0) = 0;
00083     virtual int setTrial (double strain, double &stress, double &tangent, double strainRate = 0.0);
00085     virtual double getStrain (void) = 0;
00087     virtual double getStrainRate (void);
00089     virtual double getStress (void) = 0;
00091     virtual double getTangent (void) = 0;
00093     virtual double getDampTangent (void);
00095     virtual double getSecant (void);
00096 
00098     virtual int commitState (void) = 0;
00100     virtual int revertToLastCommit (void) = 0;    
00102     virtual int revertToStart (void) = 0;        
00103 
00105     virtual UniaxialMaterial *getCopy (void) = 0;
00107  virtual UniaxialMaterial *getCopy(SectionForceDeformation *s);
00108 
00110     virtual Response *setResponse (char **argv, int argc, Information &matInformation);
00112     virtual int getResponse (int responseID, Information &matInformation);    
00113 
00114   protected:
00115     
00116   private:
00117 };
00118 
00119 
00120 #endif
00121 
Copyright Contact Us