Closed arichar6 closed 3 years ago
The Simulation.read_diagnostics_from_input method is overly complex. This makes it hard to maintain and potentially extend: https://github.com/NRL-Plasma-Physics-Division/turbopy/blob/67907c575a40a792b3e4634f12b2259ff3632b04/turbopy/core.py#L248
Simulation.read_diagnostics_from_input
I think that the main problem with this method is that it mixes the "what" with the "how" way too much.
I'm satisfied with the improvements in PR #175
The
Simulation.read_diagnostics_from_input
method is overly complex. This makes it hard to maintain and potentially extend: https://github.com/NRL-Plasma-Physics-Division/turbopy/blob/67907c575a40a792b3e4634f12b2259ff3632b04/turbopy/core.py#L248I think that the main problem with this method is that it mixes the "what" with the "how" way too much.