User's guide
Developer's guide
Tutorials
Glossary
Compute the error for a given resolution
mesh_name (str) – The name of the mesh
variable_name (str) – The variable name of which to evaluate error with respect to the exact solution
zidx (int, optional) – The z index to use to slice the field given by variable name
error_type ({'l2', 'inf'}, optional) – The type of error to compute
error (float) – The error of the variable given by variable_name