Material.hGo 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.5 $ 00022 // $Date: 2006/09/05 21:17:10 $ 00023 // $Source: /usr/local/cvs/OpenSees/SRC/material/Material.h,v $ 00024 00025 00026 #ifndef Material_h 00027 #define Material_h 00028 00029 // Written: fmk 00030 // Created: 05/98 00031 // Revision: A 00032 // 00033 // Description: This file contains the class definition for Material. 00034 // Material is an abstract base class and thus no objects of it's type 00035 // can be instantiated. It has pure virtual functions which must be 00036 // implemented in it's derived classes. 00037 // 00038 // What: "@(#) Material.h, revA" 00039 00040 #include <DomainComponent.h> 00041 #include <MovableObject.h> 00042 00043 class OPS_Stream; 00044 class Information; 00045 class Response; 00046 00047 class Material : public TaggedObject, public MovableObject 00048 { 00049 public: 00050 Material(int tag, int classTag); 00051 virtual ~Material(); 00052 00053 virtual int setVariable(const char *argv); 00054 virtual int getVariable(int variableID, double &info); 00055 00056 virtual Response *setResponse(const char **argv, int argc, Information &eleInformation, OPS_Stream &s); 00057 virtual int getResponse(int responseID, Information &info); 00058 virtual int getResponseSensitivity(int responseID, int gradNumber, 00059 Information &info); 00060 00061 // method for this material to update itself according to its new parameters 00062 virtual void update(void) {return;} 00063 00064 protected: 00065 00066 private: 00067 }; 00068 00069 00070 #endif 00071 |