|
| | dastgen-test.parser = argparse.ArgumentParser(description="Dastgen2 testing script") |
| | Parse user input.
|
| |
| | dastgen-test.dest |
| |
| | dastgen-test.type |
| |
| | dastgen-test.int |
| |
| | dastgen-test.default |
| |
| | dastgen-test.help |
| |
| | dastgen-test.action |
| |
| | dastgen-test.args = parser.parse_args() |
| |
| list | dastgen-test.project_namespace = ["tests", "exaparty", "dastgenTest"] |
| | Generate ExaParty project.
|
| |
| | dastgen-test.project |
| |
| int | dastgen-test.dimensions = 2 |
| |
| float | dastgen-test.cell_size = 0.3 |
| |
| | dastgen-test.particle |
| |
| | dastgen-test.particle_set = project.add_particle_species(particle) |
| |
| | dastgen-test.build_mode = peano4.api.output.CompileMode.ASSERTS |
| |
| list | dastgen-test.offset = [0, 0, 0] |
| |
| list | dastgen-test.domain_size = [1, 1, 1] |
| |
| list | dastgen-test.periodic_boundary_conditions = [False, False, False] |
| |
| | dastgen-test.min_end_time |
| |
| | dastgen-test.max_end_time |
| |
| | dastgen-test.first_plot_time_stamp |
| |
| | dastgen-test.time_in_between_plots |
| |
| | dastgen-test.periodic_BC |
| |
| | dastgen-test.plotter_precision |
| |
| | dastgen-test.generated |
| |
| int | dastgen-test.Npart = 10 |
| | Initialisation snippet for the particle.
|
| |
| | dastgen-test.coords = np.zeros((Npart**dimensions, 3)) |
| |
| | dastgen-test.x = np.linspace(offset, 1, Npart, endpoint=False) |
| |
| | dastgen-test.y = np.linspace(offset, 1, Npart, endpoint=False) |
| |
| | dastgen-test.xp = xp.reshape((np.prod(xp.shape),)) |
| |
| | dastgen-test.yp = yp.reshape((np.prod(yp.shape),)) |
| |
| str | dastgen-test.initialisation_snippet |
| |
| | dastgen-test.peano4_project = project.generate_Peano4_project(verbose=args.verbose) |
| | Generate plain Peano 4 project.
|
| |
| list | dastgen-test.dirs = ["vertexdata/", "repositories/", "globaldata/", "observers/"] |
| | Cleanup and compilation.
|
| |
| | dastgen-test.overwrite |
| |
| | dastgen-test.Always |
| |
| | dastgen-test.throw_away_data_after_generation |
| |
| | dastgen-test.make_clean_first |
| |
| | dastgen-test.True |
| |
| | dastgen-test.number_of_parallel_builds |
| |
| list | dastgen-test.output_files |
| |