|
| | test_smoothing_length_computation_2D.parser = argparse.ArgumentParser(description="SPH benchmarking script") |
| | Parse user input.
|
| |
| | test_smoothing_length_computation_2D.dest |
| |
| | test_smoothing_length_computation_2D.type |
| |
| | test_smoothing_length_computation_2D.int |
| |
| | test_smoothing_length_computation_2D.default |
| |
| | test_smoothing_length_computation_2D.help |
| |
| | test_smoothing_length_computation_2D.action |
| |
| | test_smoothing_length_computation_2D.choices |
| |
| | test_smoothing_length_computation_2D.args = parser.parse_args() |
| |
| | test_smoothing_length_computation_2D.nneigh = args.nneigh |
| |
| | test_smoothing_length_computation_2D.kernel = args.kernel |
| |
| | test_smoothing_length_computation_2D.h_tol = args.h_tol |
| |
| list | test_smoothing_length_computation_2D.project_namespace = ["tests", "exaparty", "testSML2D"] |
| | Generate ExaParty project.
|
| |
| | test_smoothing_length_computation_2D.project |
| |
| float | test_smoothing_length_computation_2D.cfl_factor = 0.2 |
| |
| float | test_smoothing_length_computation_2D.init_dt = 1.0e-16 |
| |
| list | test_smoothing_length_computation_2D.offset = [0, 0, 0] |
| |
| list | test_smoothing_length_computation_2D.domain_size = [1, 1, 1] |
| |
| list | test_smoothing_length_computation_2D.periodic_boundary_conditions = [False, False, False] |
| |
| str | test_smoothing_length_computation_2D.name = "HydroPart" |
| |
| int | test_smoothing_length_computation_2D.dimensions = 2 |
| |
| int | test_smoothing_length_computation_2D.hydro_dimensions = 2 |
| |
| | test_smoothing_length_computation_2D.particle |
| |
| int | test_smoothing_length_computation_2D.HYDRO_DIMENSIONS = hydro_dimensions |
| | Set parameters for the SPH simulation If no parameters are passed to the exaparty project, it initializes with default values.
|
| |
| | test_smoothing_length_computation_2D.hfile = h5py.File(args.ic_filename, "r") |
| |
| | test_smoothing_length_computation_2D.header = hfile["Header"] |
| |
| | test_smoothing_length_computation_2D.npart = header.attrs["NumPart_ThisFile"][0] |
| |
| | test_smoothing_length_computation_2D.npart_base = header.attrs["NumPart_base"][0] |
| |
| | test_smoothing_length_computation_2D.HYDRO_PART_NUMBER = npart |
| |
| float | test_smoothing_length_computation_2D.GLOBAL_TIME_STEP_SIZE = init_dt |
| |
| float | test_smoothing_length_computation_2D.CFL_CONSTANT = cfl_factor |
| |
| list | test_smoothing_length_computation_2D.gamma_hydro_list = [str(5 / 3), str(7 / 5), str(4 / 3), str(2 / 1)] |
| |
| list | test_smoothing_length_computation_2D.gamma_hydro_list_symbols |
| |
| list | test_smoothing_length_computation_2D.GAMMA = gamma_hydro_list[0] |
| |
| list | test_smoothing_length_computation_2D.GAMMA_HYDRO_SYMBOL = gamma_hydro_list_symbols[0] |
| |
| | test_smoothing_length_computation_2D.KERNEL_SYMBOL = exaparty.api.sphtools.sph_kernel_macro_name[kernel] |
| |
| list | test_smoothing_length_computation_2D.dx = domain_size[0] / npart_base |
| |
| int | test_smoothing_length_computation_2D.hydro_H_max = 3 * dx |
| |
| | test_smoothing_length_computation_2D.hydro_h_max |
| |
| | test_smoothing_length_computation_2D.h_hydro_max |
| |
| | test_smoothing_length_computation_2D.eta_factor |
| |
| | test_smoothing_length_computation_2D.ndim |
| |
| | test_smoothing_length_computation_2D.h_hydro_min |
| |
| | test_smoothing_length_computation_2D.h_max_iterations |
| |
| | test_smoothing_length_computation_2D.h_tolerance |
| |
| | test_smoothing_length_computation_2D.particle_set = project.add_particle_species(particle) |
| |
| | test_smoothing_length_computation_2D.build_mode = peano4.api.output.CompileMode.DEBUG |
| |
| | test_smoothing_length_computation_2D.min_end_time |
| |
| | test_smoothing_length_computation_2D.max_end_time |
| |
| | test_smoothing_length_computation_2D.first_plot_time_stamp |
| |
| | test_smoothing_length_computation_2D.time_in_between_plots |
| |
| | test_smoothing_length_computation_2D.periodic_BC |
| |
| | test_smoothing_length_computation_2D.plotter_precision |
| |
| | test_smoothing_length_computation_2D.particle_plotter |
| | Set up the plotter.
|
| |
| | test_smoothing_length_computation_2D.peano4_project = project.generate_Peano4_project(verbose=args.verbose) |
| | Generate plain Peano 4 project.
|
| |
| list | test_smoothing_length_computation_2D.dirs = ["vertexdata/", "repositories/", "globaldata/", "observers/"] |
| | Cleanup and compilation.
|
| |
| | test_smoothing_length_computation_2D.overwrite |
| |
| | test_smoothing_length_computation_2D.Always |
| |
| | test_smoothing_length_computation_2D.throw_away_data_after_generation |
| |
| | test_smoothing_length_computation_2D.make_clean_first |
| |
| | test_smoothing_length_computation_2D.True |
| |
| | test_smoothing_length_computation_2D.number_of_parallel_builds |
| |
| list | test_smoothing_length_computation_2D.output_files |
| |