Peano 4
Loading...
Searching...
No Matches
noh.py File Reference

Go to the source code of this file.

Namespaces

namespace  noh
 

Variables

str noh.Parallelisation_DomainDecomposition = "domain-decomposition"
 Parse user input.
 
str noh.Parallelisation_TaskTree = "task-tree"
 
str noh.Parallelisation_TaskGraph = "task-graph"
 
list noh.ParallelisationVariants
 
str noh.Storage_Scattered = "scattered"
 
str noh.Storage_ContinuousPerVertex = "continuous-per-vertex"
 
str noh.Storage_GlobalContinuous = "global-continuous"
 
list noh.StorageVariants = [Storage_ContinuousPerVertex, Storage_GlobalContinuous]
 
str noh.Sorting_MultiscaleSort = "multiscale-sort"
 
str noh.Sorting_BucketSort = "bucket-sort"
 
list noh.SortingVariants = [Sorting_MultiscaleSort, Sorting_BucketSort]
 
str noh.KernelOptimisation_NoOptimisation = "no-optimisation"
 
str noh.KernelOptimisation_OuterGuards = "outer-guards"
 
str noh.KernelOptimisation_VectoriseAll = "vectorise-all"
 
str noh.KernelOptimisation_VectoriseDistanceChecks = "vectorise-distance-checks"
 
list noh.BasicKernelOptimisationVariants
 
list noh.AllKernelOptimisationVariants
 
list noh.Choices
 
 noh.parser = argparse.ArgumentParser(description="SPH benchmarking script")
 Parse user input.
 
 noh.dest
 
 noh.type
 
 noh.default
 
 noh.help
 
 noh.action
 
 noh.required
 
 noh.choices
 
 noh.args = parser.parse_args()
 
list noh.project_namespace = ["benchmarks", "swift2", "noh"]
 Generate SWIFT project.
 
 noh.project
 
 noh.algorithm_steps_task_graph_compiler
 
 noh.initialisation_steps_task_graph_compiler
 
str noh.name = "HydroPart"
 
int noh.dimensions = 2
 
int noh.hydro_dimensions = 2
 
 noh.particles_per_cell = args.particles_per_cell
 
int noh.total_number_of_particles = args.particle_number**hydro_dimensions
 
int noh.total_number_of_cells = total_number_of_particles / particles_per_cell
 
int noh.cells_per_dimension = total_number_of_cells ** (1.0 / hydro_dimensions)
 
float noh.max_cell_size = 1.0 / cells_per_dimension * 3.0
 
tuple noh.particle_interaction_kernel_realisation
 
 noh.particle
 
int noh.HYDRO_DIMENSIONS = hydro_dimensions
 Set parameters for the SPH simulation If no parameters are passed to the swift2 project, it initializes with default values.
 
 noh.HYDRO_PART_NUMBER = args.particle_number
 
 noh.GLOBAL_TIME_STEP_SIZE = args.timestep_size
 
 noh.CFL_CONSTANT = args.cfl_factor
 
list noh.gamma_hydro_list = [str(5 / 3), str(7 / 5), str(4 / 3), str(2 / 1)]
 
list noh.gamma_hydro_list_symbols
 
list noh.GAMMA = gamma_hydro_list[0]
 
list noh.GAMMA_HYDRO_SYMBOL = gamma_hydro_list_symbols[0]
 
 noh.kernel = args.kernel
 
 noh.KERNEL_SYMBOL = sphtools.sph_kernel_macro_name[kernel]
 
 noh.KERNEL_SUPPORT_RAD = sphtools.sph_kernel_H_over_h[HYDRO_DIMENSIONS - 1][kernel]
 
float noh.hydro_h_max = max_cell_size / 2
 
 noh.h_hydro_max
 
 noh.valid_mantissa_bits
 
 noh.particle_set = project.add_particle_species(particle)
 
 noh.generator
 
 noh.build_mode = peano4.output.CompileMode.Release
 
list noh.offset = [0, 0, 0]
 Set parameters for the SPH simulation If no parameters are passed to the swift2 project, it initializes with default values.
 
list noh.domain_size = [1, 1, 1]
 
list noh.periodic_boundary_conditions = [False, False, False]
 
 noh.min_end_time
 
 noh.max_end_time
 
 noh.first_plot_time_stamp
 
 noh.time_in_between_plots
 
 noh.periodic_BC
 
 noh.plotter_precision
 
 noh.ICs = swift2.scenario.NohProblemIC(dimensions=HYDRO_DIMENSIONS)
 Initialisation snippet for the particle.
 
 noh.initialisation_snippet = ICs.initialisation_snippet
 
 noh.particle_plotter
 Set up the plotter.
 
 noh.peano4_project = project.generate_Peano4_project(verbose=args.verbose)
 Generate plain Peano 4 project.
 
list noh.dirs = ["vertexdata/", "repositories/", "globaldata/", "observers/"]
 Cleanup and compilation.
 
 noh.overwrite
 
 noh.Always
 
 noh.throw_away_data_after_generation
 
 noh.make_clean_first
 
 noh.True
 
 noh.number_of_parallel_builds
 
list noh.output_files