aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Kummerlaender2019-11-09 15:41:56 +0100
committerAdrian Kummerlaender2019-11-09 15:41:56 +0100
commit0a68fc826a80123e3ce98f6696d834d0013b2c43 (patch)
treeeca70c2022a667eafe5b1a9b3989f6697be1acf4
parent4610b50bfe47ed0d75f30279fca69d0dcdc04ee2 (diff)
downloadboltzgen_examples-0a68fc826a80123e3ce98f6696d834d0013b2c43.tar
boltzgen_examples-0a68fc826a80123e3ce98f6696d834d0013b2c43.tar.gz
boltzgen_examples-0a68fc826a80123e3ce98f6696d834d0013b2c43.tar.bz2
boltzgen_examples-0a68fc826a80123e3ce98f6696d834d0013b2c43.tar.lz
boltzgen_examples-0a68fc826a80123e3ce98f6696d834d0013b2c43.tar.xz
boltzgen_examples-0a68fc826a80123e3ce98f6696d834d0013b2c43.tar.zst
boltzgen_examples-0a68fc826a80123e3ce98f6696d834d0013b2c43.zip
Adapt to upstream function rename
-rw-r--r--lid_driven_cavity/opencl/ldc_2d.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/lid_driven_cavity/opencl/ldc_2d.py b/lid_driven_cavity/opencl/ldc_2d.py
index 8d9e324..44802ef 100644
--- a/lid_driven_cavity/opencl/ldc_2d.py
+++ b/lid_driven_cavity/opencl/ldc_2d.py
@@ -60,14 +60,14 @@ if streaming == 'AB':
lattice.schedule('velocity_momenta_boundary_cells', lid_cells, numpy.array([0.1, 0.0], dtype=lattice.float_type[0]))
elif streaming == 'AA':
- lattice.schedule_tick('collide_and_stream_tick_cells', bulk_cells)
- lattice.schedule_tick('velocity_momenta_boundary_tick_cells', wall_cells, numpy.array([0.0, 0.0], dtype=lattice.float_type[0]))
- lattice.schedule_tick('velocity_momenta_boundary_tick_cells', lid_cells, numpy.array([0.1, 0.0], dtype=lattice.float_type[0]))
-
- lattice.schedule_tock('equilibrilize_tick_cells', ghost_cells)
- lattice.schedule_tock('collide_and_stream_tock_cells', bulk_cells)
- lattice.schedule_tock('velocity_momenta_boundary_tock_cells', wall_cells, numpy.array([0.0, 0.0], dtype=lattice.float_type[0]))
- lattice.schedule_tock('velocity_momenta_boundary_tock_cells', lid_cells, numpy.array([0.1, 0.0], dtype=lattice.float_type[0]))
+ lattice.schedule_tick('collide_and_stream_cells_tick', bulk_cells)
+ lattice.schedule_tick('velocity_momenta_boundary_cells_tick', wall_cells, numpy.array([0.0, 0.0], dtype=lattice.float_type[0]))
+ lattice.schedule_tick('velocity_momenta_boundary_cells_tick', lid_cells, numpy.array([0.1, 0.0], dtype=lattice.float_type[0]))
+
+ lattice.schedule_tock('equilibrilize_cells_tick', ghost_cells)
+ lattice.schedule_tock('collide_and_stream_cells_tock', bulk_cells)
+ lattice.schedule_tock('velocity_momenta_boundary_cells_tock', wall_cells, numpy.array([0.0, 0.0], dtype=lattice.float_type[0]))
+ lattice.schedule_tock('velocity_momenta_boundary_cells_tock', lid_cells, numpy.array([0.1, 0.0], dtype=lattice.float_type[0]))
print("Starting simulation using %d cells...\n" % lattice.geometry.volume)