I’m trying to calculate the temperature of my system according to bins with fix temp/profile and then average it with ave/time.
For plotting purposes, it would be really helpful to have the timestep column near each block of data (to generate a 2D contour plot).
I was wondering how I can add a column of timesteps to the output file of ave/time.
The output file contains the timestep on top of each block of bins, whereas I would like to print the timestep as the 1st column (to the left of the Row column).
I think the easiest way would be to modify the files after the run using a script.
If you really wanted to do it with fix ave/time, you'd have to modify the source. If I remember correctly, the writing is done in the constructor and the invoke_* methods of the FixAveTime class (fix_ave_time.cpp).