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

Go to the source code of this file.

Namespaces

namespace  noh
 

Functions

 noh.parse_args ()
 Parse user input.
 

Variables

 noh.args = parse_args()
 
list noh.project_namespace = ["benchmarks", "exaparty", "noh2D"]
 Generate ExaParty project.
 
 noh.project
 
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 = 2.0 / cells_per_dimension * 3.0
 
 noh.particle
 
list noh.offset = [0, 0, 0]
 Set parameters for the SPH simulation If no parameters are passed to the exaparty project, it initializes with default values.
 
list noh.domain_size = [2, 2, 2]
 
list noh.periodic_boundary_conditions = [False, False, False]
 
int noh.HYDRO_DIMENSIONS = hydro_dimensions
 
 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
 
list noh.dx = domain_size[0] / args.particle_number
 
 noh.hydro_h_max
 
 noh.h_hydro_max
 
 noh.valid_mantissa_bits
 
 noh.particle_set = project.add_particle_species(particle)
 
 noh.build_mode = peano4.api.output.CompileMode.RELEASE
 
 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.realisation = args.realisation.split(".")
 
 noh.parallelisation = realisation[0]
 
 noh.storage = realisation[1]
 
 noh.sorting = realisation[2]
 
 noh.kernel_optimisation = realisation[3]
 
 noh.ICs = exaparty.api.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