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

Go to the source code of this file.

Data Structures

class  plot_celldepth_benchmarks.BenchmarkData
 

Namespaces

namespace  plot_celldepth_benchmarks
 

Functions

 plot_celldepth_benchmarks.get_all_logs ()
 Find all log files.
 

Variables

 plot_celldepth_benchmarks.parser = argparse.ArgumentParser(description="Plot benchmark outputs.")
 
 plot_celldepth_benchmarks.dest
 
 plot_celldepth_benchmarks.action
 
 plot_celldepth_benchmarks.default
 
 plot_celldepth_benchmarks.help
 
 plot_celldepth_benchmarks.args = parser.parse_args()
 
 plot_celldepth_benchmarks.log = args.log
 
 plot_celldepth_benchmarks.both = args.both
 
 plot_celldepth_benchmarks.logfiles = get_all_logs()
 
list plot_celldepth_benchmarks.alldata = [BenchmarkData(l) for l in logfiles]
 
list plot_celldepth_benchmarks.npartlist = []
 
list plot_celldepth_benchmarks.data_by_npart = []
 
list plot_celldepth_benchmarks.templist = []
 
list plot_celldepth_benchmarks.sort_val_list = [t.cellmax * 1e3 + t.cellmin for t in templist]
 
 plot_celldepth_benchmarks.fig = plt.figure(figsize=(24, 6), dpi=300)
 
 plot_celldepth_benchmarks.ax1 = fig.add_subplot(1, 2, 1)
 
 plot_celldepth_benchmarks.ax2 = fig.add_subplot(1, 2, 2)
 
 plot_celldepth_benchmarks.ax = fig.add_subplot(1, 1, 1)
 
list plot_celldepth_benchmarks.markers = ["s", "o", "^", "<", ">"]
 
list plot_celldepth_benchmarks.data = data_by_npart[n]
 
list plot_celldepth_benchmarks.xvals = [str(d.cellmax) + "/" + str(d.cellmin) for d in data]
 
list plot_celldepth_benchmarks.walltimes = [d.walltime for d in data]
 
list plot_celldepth_benchmarks.timestepping = [d.timestepping for d in data]
 
 plot_celldepth_benchmarks.marker
 
 plot_celldepth_benchmarks.label
 
 plot_celldepth_benchmarks.linestyle
 
 plot_celldepth_benchmarks.c
 
str plot_celldepth_benchmarks.suffix = ""
 
str plot_celldepth_benchmarks.fname = "celldepth_benchmark" + suffix + ".png"