phys_consts Module


Uses

  • module~~phys_consts~~UsesGraph module~phys_consts phys_consts iso_fortran_env iso_fortran_env module~phys_consts->iso_fortran_env

Used by

  • module~~phys_consts~~UsedByGraph module~phys_consts phys_consts program~test_interp1 test_interp1 program~test_interp1->module~phys_consts module~interpolation interpolation program~test_interp1->module~interpolation program~test_sza test_sza program~test_sza->module~phys_consts module~timeutils timeutils program~test_sza->module~timeutils module~potential_comm potential_comm module~potential_comm->module~phys_consts module~pdeelliptic PDEelliptic module~potential_comm->module~pdeelliptic module~potentialbcs_mumps potentialBCs_mumps module~potential_comm->module~potentialbcs_mumps module~mesh mesh module~potential_comm->module~mesh module~mpimod mpimod module~potential_comm->module~mpimod module~grid grid module~potential_comm->module~grid module~potential_mumps potential_mumps module~potential_comm->module~potential_mumps module~calculus calculus module~potential_comm->module~calculus module~collisions collisions module~potential_comm->module~collisions module~interpolation->module~phys_consts module~pdeelliptic->module~phys_consts module~pdeelliptic->module~mpimod module~io io module~io->module~phys_consts module~io->module~mpimod module~io->module~grid program~gemini3d Gemini3D program~gemini3d->module~phys_consts program~gemini3d->module~potential_comm program~gemini3d->module~io module~temporal temporal program~gemini3d->module~temporal program~gemini3d->module~potentialbcs_mumps program~gemini3d->module~mesh program~gemini3d->module~mpimod program~gemini3d->module~grid module~multifluid multifluid program~gemini3d->module~multifluid program~gemini3d->module~timeutils module~precipbcs_mod precipBCs_mod program~gemini3d->module~precipbcs_mod module~neutral neutral program~gemini3d->module~neutral program~test_fang test_fang program~test_fang->module~phys_consts module~ionrate ionrate program~test_fang->module~ionrate module~pdeparabolic PDEparabolic module~pdeparabolic->module~phys_consts module~readgrid_hdf5 readgrid_hdf5 module~readgrid_hdf5->module~phys_consts module~grid_read grid_read module~readgrid_hdf5->module~grid_read module~diffusion diffusion module~diffusion->module~phys_consts module~diffusion->module~pdeparabolic module~diffusion->module~mesh module~diffusion->module~grid module~temporal->module~phys_consts module~temporal->module~mesh module~temporal->module~mpimod module~ionization ionization module~ionization->module~phys_consts module~ionization->module~mesh module~ionization->module~mpimod module~ionization->module~grid module~ionization->module~timeutils module~ionize_fang ionize_fang module~ionization->module~ionize_fang module~ionization->module~neutral program~test_dayrollover test_dayrollover program~test_dayrollover->module~phys_consts program~test_dayrollover->module~timeutils module~ionrate->module~phys_consts module~ionrate->module~ionize_fang module~potentialbcs_mumps->module~phys_consts module~potentialbcs_mumps->module~interpolation module~potentialbcs_mumps->module~mesh module~potentialbcs_mumps->module~mpimod module~potentialbcs_mumps->module~grid module~reader reader module~potentialbcs_mumps->module~reader module~potentialbcs_mumps->module~timeutils module~mesh->module~phys_consts module~mpimod->module~phys_consts module~grid->module~phys_consts module~grid->module~mesh module~grid->module~mpimod module~grid->module~reader module~potential_mumps->module~phys_consts module~potential_mumps->module~interpolation module~potential_mumps->module~pdeelliptic module~potential_mumps->module~mesh module~potential_mumps->module~mpimod module~potential_mumps->module~calculus module~sources sources module~sources->module~phys_consts module~sources->module~mesh module~sources->module~grid module~sources->module~calculus module~sources->module~collisions module~reader->module~phys_consts program~test_formats test_formats program~test_formats->module~phys_consts program~test_formats->module~timeutils module~multifluid->module~phys_consts module~multifluid->module~diffusion module~multifluid->module~ionization module~multifluid->module~mesh module~multifluid->module~mpimod module~multifluid->module~grid module~multifluid->module~sources module~multifluid->module~timeutils module~multifluid->module~precipbcs_mod module~advec_mpi advec_mpi module~multifluid->module~advec_mpi module~multifluid->module~calculus module~multifluid->module~collisions module~timeutils->module~phys_consts module~precipbcs_mod->module~phys_consts module~precipbcs_mod->module~interpolation module~precipbcs_mod->module~mesh module~precipbcs_mod->module~mpimod module~precipbcs_mod->module~grid module~precipbcs_mod->module~reader module~precipbcs_mod->module~timeutils program~testinterp3 testinterp3 program~testinterp3->module~phys_consts program~testinterp3->module~interpolation module~advec advec module~advec->module~phys_consts module~advec_mpi->module~phys_consts module~advec_mpi->module~mesh module~advec_mpi->module~mpimod module~advec_mpi->module~grid program~magcalc MagCalc program~magcalc->module~phys_consts program~magcalc->module~io program~magcalc->module~mesh program~magcalc->module~mpimod program~magcalc->module~grid program~magcalc->module~timeutils program~test_potential2d test_potential2d program~test_potential2d->module~phys_consts program~test_potential2d->module~pdeelliptic module~glow_mod glow_mod module~glow_mod->module~phys_consts module~glow_mod->module~ionization program~test_interp2 test_interp2 program~test_interp2->module~phys_consts program~test_interp2->module~interpolation module~calculus->module~phys_consts module~calculus->module~mesh module~ionize_fang->module~phys_consts module~collisions->module~phys_consts module~neutral->module~phys_consts module~neutral->module~interpolation module~neutral->module~mesh module~neutral->module~mpimod module~neutral->module~grid module~neutral->module~reader module~neutral->module~timeutils program~test_diffusion1d test_diffusion1d program~test_diffusion1d->module~phys_consts program~test_diffusion1d->module~pdeparabolic module~readgrid_raw readgrid_raw module~readgrid_raw->module~phys_consts module~readgrid_raw->module~grid_read module~plasma_output_hdf5 plasma_output_hdf5 module~plasma_output_hdf5->module~timeutils module~plasma plasma module~plasma_output_hdf5->module~plasma module~reader_raw reader_raw module~reader_raw->module~reader module~gradient gradient module~gradient->module~calculus program~mhd1d_snd MHD1D_SND program~mhd1d_snd->module~advec module~io_aurora_hdf5 io_aurora_hdf5 module~io_aurora_hdf5->module~timeutils module~io_aurora io_aurora module~io_aurora_hdf5->module~io_aurora program~mhd1d_saw MHD1D_SAW program~mhd1d_saw->module~advec module~mag_hdf5~2 mag_hdf5 module~mag_hdf5~2->module~io module~mag_hdf5~2->module~timeutils module~mag_hdf5 mag_hdf5 module~mag_hdf5->module~io module~mag_hdf5->module~timeutils module~div div module~div->module~calculus module~output output module~output->module~io module~interpolation2d interpolation2d module~interpolation2d->module~interpolation program~mhd1d_shock MHD1D_shock program~mhd1d_shock->module~advec module~mag mag module~mag->module~io module~reader_hdf5 reader_hdf5 module~reader_hdf5->module~reader module~plasma_input_hdf5 plasma_input_hdf5 module~plasma_input_hdf5->module~timeutils module~plasma_input_hdf5->module~plasma module~mpihalo mpihalo module~mpihalo->module~mpimod module~potential_root potential_root module~potential_root->module~potential_comm module~input input module~input->module~io module~io_aurora_hdf5~2 io_aurora_hdf5 module~io_aurora_hdf5~2->module~timeutils module~io_aurora_hdf5~2->module~io_aurora module~atmos atmos module~atmos->module~neutral module~plasma_output_hdf5~2 plasma_output_hdf5 module~plasma_output_hdf5~2->module~timeutils module~plasma_output_hdf5~2->module~plasma module~mpirecv mpirecv module~mpirecv->module~mpimod module~glow_dummy glow_dummy module~glow_dummy->module~ionization module~io_aurora->module~io module~mpisend mpisend module~mpisend->module~mpimod module~grid_read->module~grid module~sources_mpi sources_mpi module~sources_mpi->module~mpimod module~sources_mpi->module~sources module~plasma->module~io module~plasma->module~reader module~plasma_output_raw plasma_output_raw module~plasma_output_raw->module~timeutils module~plasma_output_raw->module~plasma module~integral integral module~integral->module~calculus module~io_aurora_raw io_aurora_raw module~io_aurora_raw->module~timeutils module~io_aurora_raw->module~io_aurora module~elliptic3d elliptic3d module~elliptic3d->module~pdeelliptic module~potential2d potential2d module~potential2d->module~pdeelliptic module~potential2d->module~grid module~potential2d->module~potential_mumps module~potential2d->module~calculus module~mag_raw mag_raw module~mag_raw->module~io module~mag_raw->module~timeutils module~plasma_input_raw plasma_input_raw module~plasma_input_raw->module~timeutils module~plasma_input_raw->module~plasma module~potential_worker potential_worker module~potential_worker->module~potential_comm module~elliptic2d elliptic2d module~elliptic2d->module~pdeelliptic module~path_exists path_exists module~path_exists->module~input module~path_exists~2 path_exists module~path_exists~2->module~input

Contents


Variables

TypeVisibility AttributesNameInitial
character(len=5), public, parameter:: red =char(27)//'[31m'

colored output text (for Unix-like systems at least). It should be compatible across compiler vendors.

character(len=5), public, parameter:: black =char(27)//'[0m'

colored output text (for Unix-like systems at least). It should be compatible across compiler vendors.

real(kind=wp), public, parameter:: pi =4.0_wp*atan(1.0_wp)
real(kind=wp), public, parameter:: kB =1.38064852e-23_wp
real(kind=wp), public, parameter:: elchrg =1.60217662e-19_wp
real(kind=wp), public, parameter:: amu =1.660539040e-27_wp
real(kind=wp), public, parameter:: Gconst =6.67408e-11_wp
real(kind=wp), public, parameter:: mu0 =4.0_wp*pi*1e-7_wp
real(kind=wp), public, parameter:: Mmag =7.94e22_wp

EARTH-RELATED PARAMETERS Earth's magnetic moment

real(kind=wp), public, parameter:: Re =6371.0e3_wp

Earth Radius [meters]

real(kind=wp), public, parameter:: Me =5.9722e24_wp

Earth mass

integer, public, parameter:: lsp =7

ION DATA (need to be doubled?) number of ion/electron species

real(kind=wp), public, parameter:: ms(lsp) =[16.0_wp, 30.0_wp, 28.0_wp, 32.0_wp, 14.0_wp, 1.0_wp, 5.485799090e-4_wp]*amu

mass of each species

real(kind=wp), public, parameter:: qs(lsp) =[1.0_wp, 1.0_wp, 1.0_wp, 1.0_wp, 1.0_wp, 1.0_wp, -1.0_wp]*elchrg

charge of each species

real(kind=wp), public, parameter:: gammas(lsp) =[5.0_wp/3.0_wp, 7.0_wp/5.0_wp, 7.0_wp/5.0_wp, 7.0_wp/5.0_wp, 5.0_wp/3.0_wp, 5.0_wp/3.0_wp, 5.0_wp/3.0_wp]

adiabatic index for each speces

integer, public, parameter:: ln =4

NEUTRAL DATA number of neutral densities, and number of neutrals in chem. rxns.

integer, public, parameter:: lnchem =6

NEUTRAL DATA number of neutral densities, and number of neutrals in chem. rxns.

real(kind=wp), public, parameter:: mn(ln) =[16.0_wp, 28.0_wp, 32.0_wp, 1.0_wp]*amu

mass of neutral species

integer, public, parameter:: lwave =15
real(kind=wp), public, parameter:: wavelengths(lwave) =[3371.0_wp, 4278.0_wp, 5200.0_wp, 5577.0_wp, 6300.0_wp, 7320.0_wp, 10400.0_wp, 3644.0_wp, 7774.0_wp, 8446.0_wp, 3276.0_wp, 1700.0_wp, 1356.0_wp, 1493.0_wp, 1304.0_wp]
real(kind=wp), public, parameter:: mindens =1.0e-100_wp

HOUSEKEEPING PARAMETERS

real(kind=wp), public, parameter:: mindensnull =1.0e-20_wp
real(kind=wp), public, parameter:: mindensdiv =1.0e-5_wp
logical, public :: debug =.false.