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