/*
FEMSuite - (C) 2018 Fady Kamel
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
FEMSuite is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with FEMSuite. If not, see .
*/
#pragma once
/// This namespace is to define constants
namespace constant
{
#pragma region Physical Constants
/// Speed of light in a vacuum
/// m/s
const Speed c0 = 299792000.00;
/// Electron charge
/// Coulombs
const Charge qe = 1.60217646e-19;
/// Electron charge
/// kg
const Mass me = 9.10938188e-31;
/// Planck's constant
/// m2 kg / s
const PhotonEnergyToFreq h = 6.62606896e-34;
/// Permittivity of free space
/// m^-3 kg^-1 s4 A2
const Permittivity FreeSpacePermittivity = 8.85318782e-12; // Complex( 8.85418782e-12, 0 );
/// Permeability of free space
/// m kg s^-2 A^-2t
const Permeability FreeSpacePermeability = 1.25663706;
/// Final permittivity of the PML region
/// m^-3 kg^-1 s^4 A^2
const Permittivity FinalPMLPermittivity = 100;
/// Final permeability of the perfectly matched layer
/// m kg s^-2 A^-2t
const Permeability FinalPMLPermeability = 100;
#pragma endregion
};