DamageModel.cppGo 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/DamageModel.cpp,v $ 00024 00025 // Written: Arash Altoontash, Gregory Deierlein 00026 // Created: 08/02 00027 // Revision: AA 00028 // 00029 // Description: This file contains the class implementation for DamageModel 00030 00031 #include <DamageModel.h> 00032 #include <Response.h> 00033 #include <DamageResponse.h> 00034 #include <string.h> 00035 00036 DamageModel::DamageModel(int tag, int clasTag) 00037 :TaggedObject(tag), MovableObject(clasTag) 00038 { 00039 00040 } 00041 00042 00043 DamageModel::~DamageModel() 00044 { 00045 // does nothing 00046 00047 00048 } 00049 00050 00051 int 00052 DamageModel::setParameter(char **argv, int argc, Information &eleInformation) 00053 { 00054 return -1; 00055 } 00056 00057 int 00058 DamageModel::updateParameter(int responseID, Information &eleInformation) 00059 { 00060 return -1; 00061 } 00062 00063 Response* 00064 DamageModel::setResponse(char **argv, int argc, Information &info) 00065 { 00066 return 0; 00067 } 00068 00069 int 00070 DamageModel::getResponse(int responseID, Information &info) 00071 { 00072 return -1; 00073 } |