Skip to content
Snippets Groups Projects
Commit 5ac4d113 authored by Andreas Klöckner's avatar Andreas Klöckner
Browse files

Add EOCRecorder.max_error

parent 356ed7e3
No related branches found
No related tags found
No related merge requests found
......@@ -47,6 +47,9 @@ class EOCRecorder(object):
def order_estimate(self):
return self.estimate_order_of_convergence()[0, 1]
def max_error(self):
return max(err for absc, err in self.history)
def pretty_print(self, abscissa_label="h", error_label="Error", gliding_mean=2):
from pytools import Table
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment