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

Material.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/18 10:32:44 $
00023 // $Source: /usr/local/cvs/OpenSees/SRC/material/Material.h,v $
00024                                                                         
00025                                                                         
00026 #ifndef Material_h
00027 #define Material_h
00028 
00029 // File: ~/material/Material.h
00030 //
00031 // Written: fmk 
00032 // Created: 05/98
00033 // Revision: A
00034 //
00035 // Description: This file contains the class definition for Material.
00036 // Material is an abstract base class and thus no objects of it's type
00037 // can be instantiated. It has pure virtual functions which must be
00038 // implemented in it's derived classes. 
00039 //
00040 // What: "@(#) Material.h, revA"
00041 
00042 #include <DomainComponent.h>
00043 #include <MovableObject.h>
00044 
00045 #include <Information.h>
00046 #include <Response.h>
00047 
00058 class Material : public TaggedObject, public MovableObject
00059 {
00060   public:
00062     Material(int tag, int classTag);    
00063 
00065     virtual ~Material();
00066 
00068     virtual int setVariable(const char *argv);
00070     virtual int getVariable(int variableID, double &info);
00071 
00073     virtual int setParameter(char **argv, int argc, Information &eleInformation);
00075     virtual int updateParameter(int responseID, Information &eleInformation); 
00076 
00078     virtual Response *setResponse(char **argv, int argc, Information &info);
00080     virtual int getResponse(int responseID, Information &info);
00081 
00083     virtual void update(void) {return;}
00084 
00085   protected:
00086     
00087   private:
00088 };
00089 
00090 
00091 #endif
00092 
Copyright Contact Us