hrweno_kinds.F90 Source File


Files dependent on this one

sourcefile~~hrweno_kinds.f90~~AfferentGraph sourcefile~hrweno_kinds.f90 hrweno_kinds.F90 sourcefile~example1_burgers_1d_fv.f90 example1_burgers_1d_fv.f90 sourcefile~example1_burgers_1d_fv.f90->sourcefile~hrweno_kinds.f90 sourcefile~hrweno_fluxes.f90 hrweno_fluxes.f90 sourcefile~example1_burgers_1d_fv.f90->sourcefile~hrweno_fluxes.f90 sourcefile~hrweno_grids.f90 hrweno_grids.f90 sourcefile~example1_burgers_1d_fv.f90->sourcefile~hrweno_grids.f90 sourcefile~hrweno_tvdode.f90 hrweno_tvdode.f90 sourcefile~example1_burgers_1d_fv.f90->sourcefile~hrweno_tvdode.f90 sourcefile~hrweno_weno.f90 hrweno_weno.f90 sourcefile~example1_burgers_1d_fv.f90->sourcefile~hrweno_weno.f90 sourcefile~example2_pbe_2d_fv.f90 example2_pbe_2d_fv.f90 sourcefile~example2_pbe_2d_fv.f90->sourcefile~hrweno_kinds.f90 sourcefile~example2_pbe_2d_fv.f90->sourcefile~hrweno_fluxes.f90 sourcefile~example2_pbe_2d_fv.f90->sourcefile~hrweno_grids.f90 sourcefile~example2_pbe_2d_fv.f90->sourcefile~hrweno_tvdode.f90 sourcefile~example2_pbe_2d_fv.f90->sourcefile~hrweno_weno.f90 sourcefile~hrweno_fluxes.f90->sourcefile~hrweno_kinds.f90 sourcefile~hrweno_grids.f90->sourcefile~hrweno_kinds.f90 sourcefile~hrweno_tvdode.f90->sourcefile~hrweno_kinds.f90 sourcefile~hrweno_weno.f90->sourcefile~hrweno_kinds.f90

Source Code

module hrweno_kinds
!! Aux module to define real precision.
   use, intrinsic :: iso_fortran_env, only: real32, real64, real128
   implicit none
   private

   public :: rk

#ifdef REAL32
   integer, parameter :: rk = real32
#elif REAL64
   integer, parameter :: rk = real64
#elif REAL128
   integer, parameter :: rk = real128
#else
   integer, parameter :: rk = real64
#endif

end module hrweno_kinds