Tracing configuration
I think @astr-mle did mention somehing about how we should be able to configure what should be traced and how/when.
And yes, what would be nice.
I'm planing to use something similar to the boundary condition configuration:
Tracking {
NbSteps 100;
Tracker text_planet_trajectories {
file_format "planet%1%.dat" ; planet Jupiter trajectory will be tracked in planetJupiter.dat
when "planet_moved" ; could be "step"
once_every 10 ; once every 10 moves
track_last true
}
Tracker hdf5_disk_snapshot {
file_format "disk%1%.h5" ; step 20 will be in disk20.h5
once_every 10 ; every 10 steps
track_last True
}
}
@astr-mle , @elena, any thought ? this would allow great flexibility (tracker could be easily added and configured), including in situations like #382 (closed) :
Tracking {
NbSteps 380
...
Tracker hdf5_movie {
directory "out" ; put disk<N>.h5, planets.h5 in directory out
;filename "movie.h5" ; pack disk<N> and planets groups in movie.h5
packed False ; could be considered redundant with above information
}
...
Tracker step_timer ; print time spent in each step