...
- computes the maximum value of
energy[index]
- writes this value as a function of time to a file
energy_maximum.xg
using the same format asphi_maximum.xg
. Time is accessible as the variablecctk_time
.
Please compile the code once more, run it and send me the modified source file as well as energy_maximum.xg
to me before the interview.
...