DamageResponse.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.1 $ 00022 // $Date: 2004/09/01 03:54:28 $ 00023 // $Source: /usr/local/cvs/OpenSees/SRC/damage/DamageResponse.h,v $ 00024 00025 // Written: Arash Altoontash, Gregory Deierlein 00026 // Created: Aug 2002 00027 // 00028 // Description: This file contains the DamageResponse class interface 00029 00030 #ifndef DamageResponse_h 00031 #define DamageResponse_h 00032 00033 #include <Information.h> 00034 #include <Response.h> 00035 00036 class ID; 00037 class Vector; 00038 class Matrix; 00039 class Tensor; 00040 class DamageModel; 00041 00042 class DamageResponse : public Response 00043 { 00044 public: 00045 DamageResponse(DamageModel *dmg, int id); 00046 DamageResponse(DamageModel *dmg, int id, int val); 00047 DamageResponse(DamageModel *dmg, int id, double val); 00048 DamageResponse(DamageModel *dmg, int id, const ID &val); 00049 DamageResponse(DamageModel *dmg, int id, const Vector &val); 00050 DamageResponse(DamageModel *dmg, int id, const Matrix &val); 00051 DamageResponse(DamageModel *dmg, int id, const Tensor &val); 00052 ~DamageResponse(); 00053 00054 int getResponse(void); 00055 00056 private: 00057 DamageModel *theDamage; 00058 int responseID; 00059 }; 00060 00061 #endif |