Changing the snapshot file after each timestep
Hi,
I'd like to run a simulation where, after each timestep, I increase the
velocities of a small set of particles. It seems to me that the best way to
do this is to somehow pause GADGET-2 after each timestep has completed,
modify the snapshot file to increase the velocities, and restart GADGET. In
that case, is there a way to instruct GADGET to quit after only one
timestep? If so, I think I can create a script repeatedly calling GADGET
followed by a small snapshot-modification program.
Is this indeed the best way?
Thanks for any and all help,
Chris
Received on 2007-07-31 06:20:06
This archive was generated by hypermail 2.3.0
: 2023-01-10 10:01:30 CET