|
Peano
|
Functions | |
| exact_density (x, t) | |
| snap (offset, size) | |
| Snap a patch's offset and size onto the regular mesh over the domain. | |
| errors (run_directory) | |
| Return (time stamp, grid cells per axis, max error, rms error) of the last snapshot of a run. | |
Variables | |
| float | DOMAIN_OFFSET = -0.1 |
| float | DOMAIN_WIDTH = 0.2 |
| float | VELOCITY = 1.0 |
| parser = argparse.ArgumentParser(description=__doc__.strip().split("\n")[0]) | |
| nargs | |
| help | |
| args = parser.parse_args() | |
| previous = None | |
| time_stamp | |
| cells | |
| max_error | |
| rms_error | |
| list | orders = ["", ""] |
| ratio = cells / previous[0] | |
| compute-errors.errors | ( | run_directory | ) |
Return (time stamp, grid cells per axis, max error, rms error) of the last snapshot of a run.
Definition at line 45 of file compute-errors.py.
References exact_density(), and snap().

| compute-errors.exact_density | ( | x, | |
| t | |||
| ) |
Definition at line 32 of file compute-errors.py.
Referenced by errors().

| compute-errors.snap | ( | offset, | |
| size | |||
| ) |
Snap a patch's offset and size onto the regular mesh over the domain.
Definition at line 38 of file compute-errors.py.
Referenced by errors().

| compute-errors.args = parser.parse_args() |
Definition at line 90 of file compute-errors.py.
| compute-errors.cells |
Definition at line 97 of file compute-errors.py.
| float compute-errors.DOMAIN_OFFSET = -0.1 |
Definition at line 27 of file compute-errors.py.
| float compute-errors.DOMAIN_WIDTH = 0.2 |
Definition at line 28 of file compute-errors.py.
| compute-errors.help |
Definition at line 88 of file compute-errors.py.
| compute-errors.max_error |
Definition at line 97 of file compute-errors.py.
| compute-errors.nargs |
Definition at line 88 of file compute-errors.py.
| list compute-errors.orders = ["", ""] |
Definition at line 98 of file compute-errors.py.
| compute-errors.parser = argparse.ArgumentParser(description=__doc__.strip().split("\n")[0]) |
Definition at line 86 of file compute-errors.py.
| tuple compute-errors.previous = None |
Definition at line 95 of file compute-errors.py.
Definition at line 100 of file compute-errors.py.
| compute-errors.rms_error |
Definition at line 97 of file compute-errors.py.
| compute-errors.time_stamp |
Definition at line 97 of file compute-errors.py.
| float compute-errors.VELOCITY = 1.0 |
Definition at line 29 of file compute-errors.py.