Peano
Loading...
Searching...
No Matches
convergence-study.py File Reference

Go to the source code of this file.

Data Structures

class  convergence-study.Workers
 Number of scheme workers that are still running, and the lock to protect it. More...

Namespaces

namespace  convergence-study
namespace  convergence
 -study

Functions

 convergence-study.patch_size_of (volumes_per_axis)
 The patch size does not influence the solution.
 convergence-study.exact_lapse (x, t)
 Lapse of the gauge wave, i.e.
 convergence-study.mesh_cells (volumes_per_axis)
 Number of mesh cells (patches) of a run.
 convergence-study.name_of (study, volumes_per_axis)
 convergence-study.available_memory_in_kilobytes ()
 convergence-study.build_and_run (study, volumes_per_axis, threads, work_directory)
 Generate, compile and run gauge-wave-with-scalar-field.py.
 convergence-study.measure_error (directory, volumes_per_axis)
 Maximum error of the four scalar fields along y=z=0.5 in the last snapshot.
 convergence-study.estimated_order (coarse, fine)
 Order from two meshes whose volume sizes differ by a factor of three.
 convergence-study.footprint_of (process)
 Resident memory in kilobytes of a process and its children (/usr/bin/time forks the executable).
 convergence-study.watch_memory (process, name)
 Wait for a process, but kill it if the machine runs out of memory.
 convergence-study.plot (results, schemes, meshes, output_file)
 Max error over the volume size.
 convergence-study.table (results, studies, meshes)
 convergence-study.check_orders (results, studies, meshes)
 The studies whose order between the two finest meshes is outside the expected range.
 convergence-study.store ()
 convergence-study.run_scheme (scheme)
 One worker per scheme, all of them at the same time.

Variables

list convergence-study.Schemes = ["fv", "rk1fd4", "rk2fd4", "rk3fd4", "rk4fd4"]
int convergence-study.StagnationCells = 27
 Peano refines the root cell at least once, i.e.
 convergence-study.LargeRunSlots = threading.Semaphore(2)
 Runs on fine meshes are memory hungry, too.
 convergence-study.BuildSlots = threading.Semaphore(3)
 Compiling is memory hungry, i.e.
int convergence-study.MemoryFloor = 1500000
 Minimum memory (kilobytes) that has to stay available on the machine.
dict convergence-study.Footprints = {}
 Memory footprints (kilobytes) of the runs that currently run.
 convergence-study.choices
list convergence-study.todo
 convergence-study.alive
 convergence-study.max_workers