00001
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025 #ifndef _ElectricCharge_cc
00026 #define _ElectricCharge_cc
00027
00028 #include "Quantity/Variable.h"
00029
00030 #include "PhysicalQuantities/ElectricCharge.h"
00031
00032 namespace quantity {
00033 namespace electricCharge {
00034
00035
00036
00037
00038 template<> const std::string Coulombs::Basename = "coulomb";
00039 template<> const std::string Coulombs::Basesymbol = "C";
00040 template<> const bool Coulombs::SI = true;
00041
00042
00043
00044 template<> const std::string Franklin::Namestring = "franklin";
00045 template<> const std::string Franklin::Symbolstring = "Fr";
00046 template<> const bool Franklin::SI = false;
00047
00048
00049
00050 template<> const std::string Emu::Namestring = "emu";
00051 template<> const std::string Emu::Symbolstring = "";
00052 template<> const bool Emu::SI = false;
00053
00054
00055
00056 template<> const std::string ProtonCharge::Namestring = "proton_charge";
00057 template<> const std::string ProtonCharge::Symbolstring = "e";
00058 template<> const bool ProtonCharge::SI = false;
00059
00060 template<> const double Standard<Coulombs>::ratio = 1.0;
00061 template<> const bool Standard<Coulombs>::exact = true;
00062
00063 template<> const double Standard<Franklin>::ratio = 3.33564e-10;
00064 template<> const bool Standard<Franklin>::exact = false;
00065
00066 template<> const double Standard<Emu>::ratio = 10.0;
00067 template<> const bool Standard<Emu>::exact = true;
00068
00069 template<> const double Standard<ProtonCharge>::ratio = 1.60218e-19;
00070 template<> const bool Standard<ProtonCharge>::exact = false;
00071
00072 }
00073
00074 template<>
00075 const std::string Name<electricCharge::Quantity>::String = "charge";
00076 template<>
00077 const std::string Symbol<electricCharge::Quantity>::String = "Q";
00078
00079 }
00080
00081 #endif