I am trying to write a piece of fortran using modules instead of common variables in order to increase the voulme of data that can be passed between the files,
However when i try to do that ,the fortran programme takes corrupt values for one of the variables from my input file.
!Use the module blocks
integer :: kb,kt,over_cut,Astar,decatt,contact_cutoff,fstar,fact,time,rep_cutoff,overs
This file takes this value from here
contact_cutoff = (contact_cutoff + 2.D0)**2 in another file
which in turn takes its value from the input file