Peano
Loading...
Searching...
No Matches
fo_vs_so.py File Reference

Go to the source code of this file.

Namespaces

namespace  fo_vs_so
 First-order vs.

Functions

 fo_vs_so.directory_of (scheme, formulation, cells)
 fo_vs_so.build (scheme, formulation, cells)
 Generate and build one solver on one grid in its own directory.
 fo_vs_so.run (scheme, formulation, cells)
 Run the executable built by build() and store its wall time.
 fo_vs_so.snapshot (scheme, formulation, cells, unknowns, snapshot_index=-1)
 Return the unknowns of one snapshot of one solver.
 fo_vs_so.gauge_wave_lapse (x, t)
 Analytical lapse, see exagrype.initialvalues.gaugeWave().
 fo_vs_so.compare_one (scheme, cells, verbose)
 Compare FO and SO on one grid.
 fo_vs_so.compare_single (scheme, formulation, cells)
 Summarise one formulation on one grid against the analytical lapse.
 fo_vs_so.compare ()

Variables

 fo_vs_so.parser = argparse.ArgumentParser(description="First-order vs. second-order CCZ4")
 fo_vs_so.choices
 fo_vs_so.default
 fo_vs_so.help
 fo_vs_so.type
 fo_vs_so.float
 fo_vs_so.arguments = parser.parse_args()
 fo_vs_so.schemes = arguments.schemes
 fo_vs_so.formulations = arguments.formulations
 fo_vs_so.build_mode = peano4.api.output.CompileMode.RELEASE
 fo_vs_so.verbosity = peano4.api.LoggerVerbosity.OFF
 fo_vs_so.grid_sizes = arguments.sizes
 fo_vs_so.end_time = arguments.end_time
float fo_vs_so.time_in_between_plots = end_time / 2.0
int fo_vs_so.patch_size = 9