69 minimum_order = args.minimum_order
if args.minimum_order
is not None else MINIMUM_ORDERS[scheme]
70 print(f
"scheme {scheme}", flush=
True)
72 for volume_size
in VOLUME_SIZES:
73 run = os.path.join(work, scheme, f
"run-{volume_size}")
75 executable = os.path.join(run,
"smooth-convergence-test")
76 if not os.path.exists(
77 os.path.join(run,
"solution-EulerSmooth.peano-patch-file")
79 print(f
"build and run {scheme} {volume_size}", flush=
True)
83 os.path.join(HERE,
"smooth-convergence-test.py"),
96 stdout=subprocess.DEVNULL,
98 with open(os.path.join(run,
"run.log"),
"w")
as log:
99 subprocess.run([executable], cwd=run, check=
True, stdout=log, stderr=log)
100 return subprocess.run(
103 os.path.join(HERE,
"compute-errors.py"),