src/consts.hpp

Go to the documentation of this file.
00001 //
00002 // Ephi - simulation of magnetic fields and particles
00003 // Copyright (C) 2007 Indrek Mandre <indrek(at)mare.ee>
00004 // For more information please see http://www.mare.ee/indrek/ephi/
00005 //
00006 // This program is free software; you can redistribute it and/or modify
00007 // it under the terms of the GNU General Public License as published by
00008 // the Free Software Foundation; either version 2 of the License, or
00009 // (at your option) any later version.
00010 //
00011 // This program is distributed in the hope that it will be useful,
00012 // but WITHOUT ANY WARRANTY; without even the implied warranty of
00013 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00014 // GNU General Public License for more details.
00015 //
00016 // You should have received a copy of the GNU General Public License along
00017 // with this program; if not, write to the Free Software Foundation, Inc.,
00018 // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
00019 //
00020 
00021 #ifndef __consts_hpp__
00022 #define __consts_hpp__
00023 
00024 // from http://physics.nist.gov/cuu/Constants/index.html
00025 #define ELEMENTARY_CHARGE 1.602176487e-19 //< coulomb
00026 #define ELECTRON_MASS 9.10938215e-31 //< kg
00027 #define MAGNETIC_CONSTANT 0.1e-6
00028 #define SPEED_OF_LIGHT 299792458.0 //< m/s
00029 
00030 #endif // !__consts_hpp__
00031 

Generated on Thu Dec 6 20:31:14 2007 for Ephi by  doxygen 1.5.0