Peano
Loading...
Searching...
No Matches
kernel-throughput.py File Reference

Go to the source code of this file.

Namespaces

namespace  kernel-throughput
 

Variables

list kernel-throughput.Kernels_GPU = ["drift_gpu", "kick1_gpu", "kick2_gpu", "density_gpu", "force_gpu"]
 Parse user input.
 
list kernel-throughput.Kernels = [ "drift", "kick1", "kick2", "density", "force" ] + Kernels_GPU
 
 kernel-throughput.parser = argparse.ArgumentParser(description="SPH kernel benchmarking script")
 
 kernel-throughput.dest
 
 kernel-throughput.type
 
 kernel-throughput.default
 
 kernel-throughput.help
 
 kernel-throughput.action
 
 kernel-throughput.required
 
 kernel-throughput.choices
 
 kernel-throughput.nargs
 
 kernel-throughput.args = parser.parse_args()
 
list kernel-throughput.project_namespace = ["benchmarks", "exaparty", "hydro", "kernel_throughput"]
 Create ExaParty project and particle species.
 
 kernel-throughput.project
 
str kernel-throughput.name = "HydroPart"
 
 kernel-throughput.dimensions = args.dimensions
 
int kernel-throughput.hydro_dimensions = 2
 
 kernel-throughput.particle
 
int kernel-throughput.HYDRO_DIMENSIONS = hydro_dimensions
 Set parameters for the SPH simulation.
 
list kernel-throughput.gamma_hydro_list = [str(5 / 3), str(7 / 5), str(4 / 3), str(2 / 1)]
 
list kernel-throughput.gamma_hydro_list_symbols
 
list kernel-throughput.GAMMA = gamma_hydro_list[0]
 
list kernel-throughput.GAMMA_HYDRO_SYMBOL = gamma_hydro_list_symbols[0]
 
str kernel-throughput.kernel = "quartic_spline"
 
 kernel-throughput.KERNEL_SYMBOL = sphtools.sph_kernel_macro_name[kernel]
 
 kernel-throughput.KERNEL_SUPPORT_RAD = sphtools.sph_kernel_H_over_h[HYDRO_DIMENSIONS - 1][kernel]
 
 kernel-throughput.h_hydro_max
 
 kernel-throughput.particle_set = project.add_particle_species(particle)
 Add particle species to project.
 
 kernel-throughput.build_mode = peano4.api.output.CompileMode.RELEASE
 
list kernel-throughput.offset = [0, 0, 0]
 
list kernel-throughput.domain_size = [1, 1, 1]
 
list kernel-throughput.periodic_boundary_conditions = [False, False, False]
 
 kernel-throughput.min_end_time
 
 kernel-throughput.max_end_time
 
 kernel-throughput.first_plot_time_stamp
 
 kernel-throughput.time_in_between_plots
 
 kernel-throughput.periodic_BC
 
 kernel-throughput.plotter_precision
 
 kernel-throughput.peano4_project = project.generate_Peano4_project(verbose=args.verbose)
 Generate plain Peano 4 project.
 
 kernel-throughput.cpu_only = args.cpu_only
 
 kernel-throughput.gpu_only = args.gpu_only
 
tuple kernel-throughput.enabled = (cpu_only and 'gpu' not in kernel) or (gpu_only and 'gpu' in kernel) or (not cpu_only and not gpu_only)
 
list kernel-throughput.dirs = ["vertexdata/", "repositories/", "globaldata/", "observers/", "Constants.h"]
 Compilation.
 
 kernel-throughput.dir
 
 kernel-throughput.ignore_errors
 
 kernel-throughput.overwrite
 
 kernel-throughput.Default
 
 kernel-throughput.throw_away_data_after_generation
 
 kernel-throughput.make_clean_first
 
 kernel-throughput.True
 
 kernel-throughput.number_of_parallel_builds