; RUN CONTROL PARAMETERS
integrator              = md        ; leap-frog integrator
nsteps                  = 2500000   ; 0,002 * 2.500.000 = 5000 ps / 1000 = 5 ns
dt                      = 0.002     ; 2 fs

; OUTPUT CONTROL OPTIONS
nstxout			= 0	    ; save coordinates in trr
nstvout                 = 0         ; save velocities in trr
nstfout			= 0	    ; save forces in trr
nstenergy               = 5000      ; save energies in edr
nstxout-compressed      = 5000      ; save coordinates in xtc (0,002 * 5000 = 10 ps)
nstlog                  = 5000      ; update log file
compressed-x-grps       = System    ; save the whole system

; NEIGHBORSEARCHING PARAMETERS
cutoff-scheme           = Verlet    ; Buffered neighbor searching
nstlist                 = 20        ; 20 steps, largely irrelevant with Verlet scheme
pbc                     = xyz       ; 3-D PBC
rlist                   = 1.0       ; nm, Cut-off for making neighbor list 

; ELECTROSTATICS
coulombtype             = PME       ; Particle Mesh Ewald for long-range electrostatics
rcoulomb                = 1.0       ; short-range electrostatic cutoff (in nm)
pme-order               = 4         ; cubic interpolation
fourierspacing          = 0.12      ; in nm, grid spacing for FFT

; VDW
vdwtype                 = Cut-off   ; using rlist and rvdw, where rlist >= rvdw
rvdw                    = 1.0       ; short-range van der Waals cutoff (in nm)
dispcorr                = EnerPres  ; account for cut-off vdW scheme

; Temperature coupling
tcoupl                  = V-rescale            ; modified Berendsen thermostat
tc-grps                 = Protein non-Protein  ; two coupling groups - more accurate (Water non-Water)
tau-t                   = 1.0       1.0        ; time constant, in ps
ref-t                   = 298.15    298.15     ; reference temperature, one for each group, in K

; Pressure coupling
pcoupl                  = C-rescale             ; Pressure coupling on in NPT
pcoupltype              = isotropic             ; uniform scaling of box vectors
tau-p                   = 3.0                   ; time constant, in ps
ref-p                   = 1.0                   ; reference pressure, in bar
compressibility         = 4.5e-5                ; isothermal compressibility of water, bar^-1
refcoord-scaling        = com			; Scale the center of mass an pressure coupling.

; GENERATE VELOCITIES FOR STARTUP RUN
gen-vel                 = no        ; velocity generation is off

; OPTIONS FOR BONDS    
continuation            = yes       ; restarting after NVT
constraint-algorithm    = lincs     ; holonomic constraints 
constraints             = h-bonds   ; bonds involving H are constrained
lincs-iter              = 1         ; accuracy of LINCS
lincs-order             = 4         ; also related to accuracy

