Neko  0.9.0
A portable framework for high-order spectral element flow simulations
num_types.f90
Go to the documentation of this file.
1 module num_types
2  use, intrinsic :: iso_fortran_env
3  use, intrinsic :: iso_c_binding
4  private
5  integer, public, parameter :: i2 = int16
6  integer, public, parameter :: i4 = int32
7  integer, public, parameter :: i8 = int64
8  integer, public, parameter :: sp = real32
9  integer, public, parameter :: dp = real64
10  integer, public, parameter :: qp = real128
12  integer, public, parameter :: rp = dp
13  integer, public, parameter :: c_rp = c_double
14  integer, public, parameter :: xp = dp
15  integer, public, parameter :: c_xp = c_double
16 end module num_types
17 
18 
integer, parameter, public i2
Definition: num_types.f90:5
integer, parameter, public i8
Definition: num_types.f90:7
integer, parameter, public qp
Definition: num_types.f90:10
integer, parameter, public i4
Definition: num_types.f90:6
integer, parameter, public c_xp
Definition: num_types.f90:15
integer, parameter, public xp
Definition: num_types.f90:14
integer, parameter, public dp
Definition: num_types.f90:9
integer, parameter, public sp
Definition: num_types.f90:8
integer, parameter, public c_rp
Definition: num_types.f90:13
integer, parameter, public rp
Global precision used in computations.
Definition: num_types.f90:12