Peano
Loading...
Searching...
No Matches
compute-errors.py File Reference

Go to the source code of this file.

Namespaces

namespace  compute-errors
namespace  compute
 -errors

Functions

 compute-errors.exact_density (x, t)
 compute-errors.snap (offset, size)
 Snap a patch's offset and size onto the regular mesh over the domain.
 compute-errors.errors (run_directory)
 Return (time stamp, grid cells per axis, max error, rms error) of the last snapshot of a run.

Variables

float compute-errors.DOMAIN_OFFSET = -0.1
float compute-errors.DOMAIN_WIDTH = 0.2
float compute-errors.VELOCITY = 1.0
 compute-errors.parser = argparse.ArgumentParser(description=__doc__.strip().split("\n")[0])
 compute-errors.nargs
 compute-errors.help
 compute-errors.type
 compute-errors.default
 compute-errors.args = parser.parse_args()
 compute-errors.previous = None
 compute-errors.time_stamp
 compute-errors.cells
 compute-errors.max_error
 compute-errors.rms_error
list compute-errors.orders = ["", ""]
 compute-errors.ratio = cells / previous[0]
list compute-errors.last_order = "" else math.nan