mod_precision.f90 Source File

Files Dependent On This One

sourcefile~~mod_precision.f90~~AfferentGraph sourcefile~mod_precision.f90 mod_precision.f90 sourcefile~mod_stokes.f90 mod_stokes.f90 sourcefile~mod_precision.f90->sourcefile~mod_stokes.f90 sourcefile~mod_domain.f90 mod_domain.f90 sourcefile~mod_precision.f90->sourcefile~mod_domain.f90 sourcefile~mod_time_integration.f90 mod_time_integration.f90 sourcefile~mod_precision.f90->sourcefile~mod_time_integration.f90 sourcefile~mod_spectrum.f90 mod_spectrum.f90 sourcefile~mod_precision.f90->sourcefile~mod_spectrum.f90 sourcefile~mod_grid.f90 mod_grid.f90 sourcefile~mod_precision.f90->sourcefile~mod_grid.f90 sourcefile~mod_const.f90 mod_const.f90 sourcefile~mod_precision.f90->sourcefile~mod_const.f90 sourcefile~mod_source_functions.f90 mod_source_functions.f90 sourcefile~mod_precision.f90->sourcefile~mod_source_functions.f90 sourcefile~mod_io.f90 mod_io.f90 sourcefile~mod_precision.f90->sourcefile~mod_io.f90 sourcefile~mod_gravity.f90 mod_gravity.f90 sourcefile~mod_precision.f90->sourcefile~mod_gravity.f90 sourcefile~mod_advection.f90 mod_advection.f90 sourcefile~mod_precision.f90->sourcefile~mod_advection.f90 sourcefile~mod_spectral_shapes.f90 mod_spectral_shapes.f90 sourcefile~mod_precision.f90->sourcefile~mod_spectral_shapes.f90 sourcefile~mod_utility.f90 mod_utility.f90 sourcefile~mod_precision.f90->sourcefile~mod_utility.f90 sourcefile~mod_linear_wave_theory.f90 mod_linear_wave_theory.f90 sourcefile~mod_precision.f90->sourcefile~mod_linear_wave_theory.f90 sourcefile~mod_nondimensional.f90 mod_nondimensional.f90 sourcefile~mod_precision.f90->sourcefile~mod_nondimensional.f90 sourcefile~mod_domain.f90->sourcefile~mod_time_integration.f90 sourcefile~mod_spectrum.f90->sourcefile~mod_domain.f90 sourcefile~mod_spectrum.f90->sourcefile~mod_time_integration.f90 sourcefile~mod_spectrum.f90->sourcefile~mod_source_functions.f90 sourcefile~mod_grid.f90->sourcefile~mod_domain.f90 sourcefile~mod_const.f90->sourcefile~mod_domain.f90 sourcefile~mod_const.f90->sourcefile~mod_spectrum.f90 sourcefile~mod_const.f90->sourcefile~mod_source_functions.f90 sourcefile~mod_const.f90->sourcefile~mod_spectral_shapes.f90 sourcefile~mod_utility.f90->sourcefile~mod_spectrum.f90 sourcefile~mod_utility.f90->sourcefile~mod_grid.f90 sourcefile~mod_nondimensional.f90->sourcefile~mod_spectral_shapes.f90
Help

Source Code


Source Code

!
! wavy - A spectral ocean wave modeling and development framework
! Copyright (c) 2017, Wavebit Scientific LLC
! All rights reserved.
!
! Licensed under the BSD-3 clause license. See LICENSE for details.

module mod_precision

use iso_fortran_env,only:int16,int32,int64,real32,real64,real128

implicit none

private

public :: intkind,realkind

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

integer,parameter :: intkind = int32

endmodule mod_precision