MPI-AMRVAC  2.2
The MPI - Adaptive Mesh Refinement - Versatile Advection Code
mod_basic_types.t
Go to the documentation of this file.
1 !> Module with basic data types used in amrvac
3  implicit none
4  public
5 
6  !> Size (in bytes) of single precision real
7  integer, parameter :: size_real = 4
8 
9  !> Size (in bytes) of double precision real
10  integer, parameter :: size_double = 8
11 
12  !> Size (in bytes) of default integer
13  integer, parameter :: size_int = 4
14 
15  !> Size (in bytes) of default logical
16  integer, parameter :: size_logical = 4
17 
18  !> Default length for strings
19  integer, parameter :: std_len = 131
20 
21  !> Default length for names (of e.g. variables)
22  integer, parameter :: name_len = 16
23 
24 end module mod_basic_types
Module with basic data types used in amrvac.
integer, parameter std_len
Default length for strings.
integer, parameter size_logical
Size (in bytes) of default logical.
integer, parameter size_double
Size (in bytes) of double precision real.
integer, parameter size_real
Size (in bytes) of single precision real.
integer, parameter name_len
Default length for names (of e.g. variables)
integer, parameter size_int
Size (in bytes) of default integer.