Hi,
I'm relatively new to Fortran 77, which I am currently writing code for as part of my research. I work with proteins, and am currently editing an in-house Monte Carlo code. My problem is that I need to effectively project a grid onto the system, and then be able to recall and cycle through each grid point to do calculations on it.
What I've tried to do is set up 3 DO loops, i.e. do igrix=1,100, and defining igridx as a double precision variable. Ideally, I'd like to be able to tell the system to go from 0 to 0.5 to 1 and so on (i.e. in non-integer jumps). Is there an easy way of doing this?
Secondly, has anyone got any ideas on any other ways how I could project a grid onto the system?
Thanks
I'm relatively new to Fortran 77, which I am currently writing code for as part of my research. I work with proteins, and am currently editing an in-house Monte Carlo code. My problem is that I need to effectively project a grid onto the system, and then be able to recall and cycle through each grid point to do calculations on it.
What I've tried to do is set up 3 DO loops, i.e. do igrix=1,100, and defining igridx as a double precision variable. Ideally, I'd like to be able to tell the system to go from 0 to 0.5 to 1 and so on (i.e. in non-integer jumps). Is there an easy way of doing this?
Secondly, has anyone got any ideas on any other ways how I could project a grid onto the system?
Thanks