mirror of
https://github.com/smyalygames/FiniteVolumeGPU.git
synced 2025-05-17 22:14:14 +02:00
Checkpoint. Next: Compose domain before writing
This commit is contained in:
parent
ad2be4b5a5
commit
11223f0890
@ -167,7 +167,7 @@ class SHMEMSimulatorGroup(Simulator.BaseSimulator):
|
||||
assert(len(sims) > 1)
|
||||
|
||||
self.sims = sims
|
||||
|
||||
|
||||
# XXX: This is not what was intended. Do we need extra wrapper class SHMEMSimulator?
|
||||
# See also getOutput() and check().
|
||||
#
|
||||
@ -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
|
||||
|
||||
|
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user