00001 /*************************************************************************** 00002 ** 00003 ** Copyright (C) 2002-2009 Marc Wathelet. All rights reserved. 00004 ** 00005 ** This file is part of build_array. 00006 ** 00007 ** This file may be distributed and/or modified under the terms of the 00008 ** GNU General Public License version 2 or 3 as published by the Free 00009 ** Software Foundation and appearing in the file LICENSE.GPL included 00010 ** in the packaging of this file. 00011 ** 00012 ** This file is distributed in the hope that it will be useful, but WITHOUT 00013 ** ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 00014 ** FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for 00015 ** more details. 00016 ** 00017 ** See http://www.geopsy.org for more information. 00018 ** 00019 ** Created : 2007-11-13 00020 ** Authors: 00021 ** Marc Wathelet (LGIT, Grenoble, France) 00022 ** 00023 ***************************************************************************/ 00024 00025 #ifndef MEDIUMPARAMETERS_H 00026 #define MEDIUMPARAMETERS_H 00027 00028 class MediumParameters 00029 { 00030 public: 00031 MediumParameters(); 00032 00033 void setFrequency(double f) {_frequency=f;} 00034 double frequency() const {return _frequency;} 00035 00036 void setAttenuation(double Q) {_attenuation=Q;} 00037 double attenuation() const {return _attenuation;} 00038 private: 00039 double _frequency; 00040 double _attenuation; 00041 }; 00042 00043 #endif // MEDIUMPARAMETERS_H