afivo-streamer 1.1
1D/2D/3D streamer simulations with AMR
Loading...
Searching...
No Matches
m_types.f90
Go to the documentation of this file.
1!> Module with basic types
2module m_types
3
4 implicit none
5 public
6
7 integer, parameter, private :: dp = kind(0.0d0)
8
9 !> Undefined string
10 character(len=*), parameter :: undefined_str = "UNDEFINED"
11
12 !> Undefined number
13 real(dp), parameter :: undefined_real = -1e100_dp
14
15 !> Huge number
16 real(dp), parameter :: huge_real = 1e100_dp
17
18 !> Small number
19 real(dp), parameter :: tiny_real = 1/huge_real
20
21 !> Default length of strings
22 integer, parameter :: string_len = 200
23
24 !> Default length of names
25 integer, parameter :: name_len = 20
26
27 !> Default length of component names
28 integer, parameter :: comp_len = 20
29
30end module m_types
Module with basic types.
Definition m_types.f90:2
real(dp), parameter huge_real
Huge number.
Definition m_types.f90:16
integer, parameter comp_len
Default length of component names.
Definition m_types.f90:28
integer, parameter string_len
Default length of strings.
Definition m_types.f90:22
character(len= *), parameter undefined_str
Undefined string.
Definition m_types.f90:10
integer, parameter name_len
Default length of names.
Definition m_types.f90:25
real(dp), parameter tiny_real
Small number.
Definition m_types.f90:19
real(dp), parameter undefined_real
Undefined number.
Definition m_types.f90:13