Checkpoint. Next: Compose domain before writing

This commit is contained in:
Martin Lilleeng Sætra 2021-05-23 18:26:18 +00:00
parent ad2be4b5a5
commit 11223f0890
2 changed files with 3 additions and 3 deletions

View File

@ -187,7 +187,6 @@ class SHMEMSimulatorGroup(Simulator.BaseSimulator):
sims[0].block_size[0], sims[0].block_size[1])
sims[0].context.autotuner = autotuner
self.nsubdomains = grid.ngpus
self.sims = sims
self.grid = grid

View File

@ -75,7 +75,8 @@ logger.info("Generating initial conditions")
nx = 128
ny = 128
gamma = 1.4
save_times = np.linspace(0, 0.01, 10)
#save_times = np.linspace(0, 0.01, 10)
save_times = np.linspace(0, 10, 10)
save_var_names = ['rho', 'rho_u', 'rho_v', 'E']
outfile = "shmem_out.nc"