define main_loop in direct_numerical_simulation
this means i defined a virtual "step" method, as well as "do_stats" and "write_checkpoint". I think this makes it even more clear what job is assigned to which class.
Please register or sign in to comment