MaterialResponse.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.4 $
00022 // $Date: 2002/12/13 00:14:44 $
00023 // $Source: /usr/local/cvs/OpenSees/SRC/recorder/response/MaterialResponse.h,v $
00024                                                                         
00025 // Written: MHS 
00026 // Created: Oct 2000
00027 //
00028 // Description: This file contains the MaterialResponse class interface
00029 
00030 #ifndef MaterialResponse_h
00031 #define MaterialResponse_h
00032 
00033 #include <Response.h>
00034 #include <Information.h>
00035 
00036 class Material;
00037 
00038 class ID;
00039 class Vector;
00040 class Matrix;
00041 class Tensor;
00042 
00043 class MaterialResponse : public Response
00044 {
00045  public:
00046   MaterialResponse(Material *mat, int id);
00047   MaterialResponse(Material *mat, int id, int val);
00048   MaterialResponse(Material *mat, int id, double val);
00049   MaterialResponse(Material *mat, int id, const ID &val);
00050   MaterialResponse(Material *mat, int id, const Vector &val);
00051   MaterialResponse(Material *mat, int id, const Matrix &val);
00052   MaterialResponse(Material *mat, int ID, const Tensor &val);
00053   ~MaterialResponse();
00054   
00055   int getResponse(void);
00056 
00057 private:
00058   Material *theMaterial;
00059   int responseID;
00060 };
00061 
00062 #endif

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