rk_comparison.core.controller package
Submodules
rk_comparison.core.controller.controller module
- class rk_comparison.core.controller.controller.Controller[source]
Bases:
object
Class that calls methods to initialize data, to calculate the problem and to plot the results.
- calculate()[source]
Method loops through the list of rk and frk methods, calculating the problem and saving the results to the proper lists. Added optional log to console for verification if the data are saved to correct lists. On the last loop iteration, the list of time values is saved to temporary variable and after loop finishes, it is assigned back to time output data.
- calculate_analytical()[source]
Method calculates the nuclear decay problem in analytical way. Requires the time list to be filled with results from the numerical calculations.