Constants.h revision 10448:bc1a3b7ab5ef
112855Sgabeblack@google.com/* Copyright (c) 2012 Massachusetts Institute of Technology 212855Sgabeblack@google.com * 312855Sgabeblack@google.com * Permission is hereby granted, free of charge, to any person obtaining a copy 412855Sgabeblack@google.com * of this software and associated documentation files (the "Software"), to deal 512855Sgabeblack@google.com * in the Software without restriction, including without limitation the rights 612855Sgabeblack@google.com * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 712855Sgabeblack@google.com * copies of the Software, and to permit persons to whom the Software is 812855Sgabeblack@google.com * furnished to do so, subject to the following conditions: 912855Sgabeblack@google.com * 1012855Sgabeblack@google.com * The above copyright notice and this permission notice shall be included in 1112855Sgabeblack@google.com * all copies or substantial portions of the Software. 1212855Sgabeblack@google.com * 1312855Sgabeblack@google.com * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 1412855Sgabeblack@google.com * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 1512855Sgabeblack@google.com * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 1612855Sgabeblack@google.com * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 1712855Sgabeblack@google.com * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 1812855Sgabeblack@google.com * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 1912855Sgabeblack@google.com * THE SOFTWARE. 2012855Sgabeblack@google.com */ 2112855Sgabeblack@google.com 2212855Sgabeblack@google.com#ifndef __DSENT_UTIL_CONSTANTS_H__ 2312855Sgabeblack@google.com#define __DSENT_UTIL_CONSTANTS_H__ 2412855Sgabeblack@google.com 2512855Sgabeblack@google.comnamespace DSENT 2612855Sgabeblack@google.com{ 2712855Sgabeblack@google.com class Constants 2812855Sgabeblack@google.com { 2912855Sgabeblack@google.com public: 3012855Sgabeblack@google.com // Physical constants 3112855Sgabeblack@google.com static const double pi; 3212855Sgabeblack@google.com static const double k; 3312855Sgabeblack@google.com static const double c; 3412855Sgabeblack@google.com static const double q; 3512855Sgabeblack@google.com static const double e0; 3612855Sgabeblack@google.com static const double es; 3712855Sgabeblack@google.com }; 3812855Sgabeblack@google.com 3912855Sgabeblack@google.com} // namespace DSENT 4012855Sgabeblack@google.com 4112855Sgabeblack@google.com#endif // __DSENT_UTIL_CONSTANTS_H__ 4212855Sgabeblack@google.com 4312855Sgabeblack@google.com