Constants.h revision 10448:bc1a3b7ab5ef
14679Sgblack@eecs.umich.edu/* Copyright (c) 2012 Massachusetts Institute of Technology 24679Sgblack@eecs.umich.edu * 34679Sgblack@eecs.umich.edu * Permission is hereby granted, free of charge, to any person obtaining a copy 44679Sgblack@eecs.umich.edu * of this software and associated documentation files (the "Software"), to deal 54679Sgblack@eecs.umich.edu * in the Software without restriction, including without limitation the rights 64679Sgblack@eecs.umich.edu * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 74679Sgblack@eecs.umich.edu * copies of the Software, and to permit persons to whom the Software is 84679Sgblack@eecs.umich.edu * furnished to do so, subject to the following conditions: 94679Sgblack@eecs.umich.edu * 104679Sgblack@eecs.umich.edu * The above copyright notice and this permission notice shall be included in 114679Sgblack@eecs.umich.edu * all copies or substantial portions of the Software. 124679Sgblack@eecs.umich.edu * 134679Sgblack@eecs.umich.edu * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 144679Sgblack@eecs.umich.edu * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 154679Sgblack@eecs.umich.edu * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 164679Sgblack@eecs.umich.edu * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 174679Sgblack@eecs.umich.edu * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 184679Sgblack@eecs.umich.edu * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 194679Sgblack@eecs.umich.edu * THE SOFTWARE. 204679Sgblack@eecs.umich.edu */ 214679Sgblack@eecs.umich.edu 224679Sgblack@eecs.umich.edu#ifndef __DSENT_UTIL_CONSTANTS_H__ 234679Sgblack@eecs.umich.edu#define __DSENT_UTIL_CONSTANTS_H__ 244679Sgblack@eecs.umich.edu 254679Sgblack@eecs.umich.edunamespace DSENT 264679Sgblack@eecs.umich.edu{ 274679Sgblack@eecs.umich.edu class Constants 284679Sgblack@eecs.umich.edu { 294679Sgblack@eecs.umich.edu public: 304679Sgblack@eecs.umich.edu // Physical constants 314679Sgblack@eecs.umich.edu static const double pi; 324679Sgblack@eecs.umich.edu static const double k; 334679Sgblack@eecs.umich.edu static const double c; 344679Sgblack@eecs.umich.edu static const double q; 354679Sgblack@eecs.umich.edu static const double e0; 364679Sgblack@eecs.umich.edu static const double es; 374679Sgblack@eecs.umich.edu }; 384679Sgblack@eecs.umich.edu 394679Sgblack@eecs.umich.edu} // namespace DSENT 404679Sgblack@eecs.umich.edu 414679Sgblack@eecs.umich.edu#endif // __DSENT_UTIL_CONSTANTS_H__ 424679Sgblack@eecs.umich.edu 434679Sgblack@eecs.umich.edu