fluidsim.util.console.bench

Run benchmarks (fluidsim.util.console.bench)

Functions

bench(solver[, dim, n0, n1, n2, path_dir, ...])

Instantiate simulation object and run benchmarks.

estimate_shapes_weak_scaling(n0_max, n1_max)

Use this function to get a recommendation of shapeX_seq to initialize the solver with to perform weak scaling analysis.

get_opfft(n0, n1[, n2, dim, type_fft, only_dict])

Instantiate FFT operator provided by fluidfft.

init_parser(parser)

Initialize argument parser for fluidsim bench.

print_shape_loc(n0, n1[, n2, type_fft])

Display the local shape of arrays, shapeX_loc and shapeK_loc.

run(args)

Run fluidsim bench command.