DrainHardeningMaterial.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.2 $ 00022 // $Date: 2001/10/01 17:08:54 $ 00023 // $Source: /usr/local/cvs/OpenSees/SRC/material/uniaxial/drain/DrainHardeningMaterial.cpp,v $ 00024 00025 // Written: MHS 00026 // Created: June 2001 00027 // 00028 // Description: This file contains the class definition for 00029 // DrainHardeningMaterial. 00030 00031 #include <DrainHardeningMaterial.h> 00032 #include <Vector.h> 00033 00034 DrainHardeningMaterial::DrainHardeningMaterial(int tag, 00035 double E, double sigY, double Hiso, double Hkin, double b): 00036 // 3 history variables and 4 material parameters 00037 DrainMaterial(tag, MAT_TAG_DrainHardening, 3, 4, b) 00038 { 00039 data[0] = E; 00040 data[1] = sigY; 00041 data[2] = Hiso; 00042 data[3] = Hkin; 00043 } 00044 00045 DrainHardeningMaterial::DrainHardeningMaterial(void): 00046 DrainMaterial(0, MAT_TAG_DrainHardening, 3, 4) 00047 { 00048 // Does nothing 00049 } 00050 00051 DrainHardeningMaterial::~DrainHardeningMaterial(void) 00052 { 00053 // Does nothing 00054 } |