-
Notifications
You must be signed in to change notification settings - Fork 0
/
interfaces_m.f90
31 lines (29 loc) · 1.39 KB
/
interfaces_m.f90
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
module interface_m
use, intrinsic :: iso_fortran_env, only: dp => real64, i64 => int64
implicit none
type :: databloc_params_t
! Particle-related variables
real(kind=dp) :: mass
real(kind=dp) :: lj_epsilon
real(kind=dp) :: lj_sigma
! Simulation-related variables
real(kind=dp) :: timestep ! Reduced time
real(kind=dp) :: cutoff_set
integer(kind=i64) :: n_particles
real(kind=dp) :: density ! Reduced density
integer(kind=i64) :: n_steps ! Equilibration steps
! I/O variables
integer(kind=i64) :: write_file ! How often do we write log information
integer(kind=i64) :: write_stats ! How often do we write statistics
integer(kind=i64) :: write_frame ! How often write frame
character(len=2048) :: sim_name ! Name of the simulation we are doing
! Thermostat variables
real(kind=dp) :: ref_temp ! Reference temperature for thermostats and velocity initialization
real(kind=dp) :: andersen_nu ! Andersen parameter
! Simulation-dependent variables
real(kind=dp) :: box ! Size of the box
! Analysis variables
integer(kind=i64) :: gdr_num_bins
real(kind=dp) :: gdr_max_dist
end type
end module interface_m