Skip to content
Snippets Groups Projects
Commit c644b003 authored by Laura Christine Kühle's avatar Laura Christine Kühle
Browse files

Removed showing of plots.

parent c9a62663
No related branches found
No related tags found
No related merge requests found
......@@ -8,10 +8,19 @@ TODO: Replace loops with list comprehension if feasible
TODO: Write documentation for all methods (important)
TODO: Discuss adding kwargs to attributes in documentation
TODO: Check whether documentation style is correct
TODO: Check whether all types in doc are correct
TODO: Check whether 'projection' is always a np.array()
TODO: Check whether all instance variables sensible
TODO: Use cfl_number for updating, not just time
TODO: Adjust code to allow classes for all equations (Burger, linear advection, 1D Euler)
TODO: Add documentation to ANN files
TODO: Limit line to 80 characters
TODO: Remove object inheritance from classes
TODO: Rename files according to standard
TODO: Add verbose output
TODO: Adapt TCD from Soraya (Dropbox->...->TEST_troubled-cell-detector->Troubled_Cell_Detector)
TODO: Improve file naming (e.g. use '.' instead of '__')
TODO: Remove showing of plots -> Done
"""
import os
......@@ -105,6 +114,7 @@ class DGScheme(object):
Additional parameters for quadrature object. Default: {}.
update_scheme : str, optional
Name of update scheme for evaluation. Default: 'SSPRK3'.
"""
# Unpack keyword arguments
self._wave_speed = kwargs.pop('wave_speed', 1)
......@@ -196,9 +206,6 @@ class DGScheme(object):
# Plot exact/approximate results, errors, shock tubes and any detector-dependant plots
self._detector.plot_results(projection, troubled_cell_history, time_history)
if self._verbose:
plt.show()
def save_plots(self):
"""Saves plotted results.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment