This prog simulates the system of hard rods on a 3D cubic lattice in grand canonical ensemble to study phase transitions.
The code requires two input files consisting of the list of probabilities for open (accept*) and periodic (periodic*) boundary conditions.
The code has been parallelized using CUDA C to run on GPU.
Here, the chemical potential