jam31118 / qprop

Visualized QPROP
GNU General Public License v3.0
0 stars 1 forks source link

Optimize `.flux.Probability_Flux_at_R.__getitem__()` in terms of file IO overhead etc. #42

Open jam31118 opened 6 years ago

jam31118 commented 6 years ago

Currently, the file should be opened and closed so many times, which is the same as the number of propagation timesteps. The timesteps typically reach hundred-thousands, which isn't that small.

jam31118 commented 5 years ago

As a work-around, implemented get_probabilty_dissipation_rate_per_lm_at_once() and get_probabilty_dissipation_rate_at_once() at 53e6a5fc3945d8c9109e7a987a2c9ea6a15efaf8, which minimizes the file I/O overhead.