mirror of
https://github.com/smyalygames/FiniteVolumeGPU.git
synced 2026-01-14 15:48:43 +01:00
Fixed global boundary conditions
This commit is contained in:
@@ -63,11 +63,11 @@ class LxF (Simulator.BaseSimulator):
|
||||
super().__init__(context,
|
||||
nx, ny,
|
||||
dx, dy,
|
||||
boundary_conditions,
|
||||
cfl_scale,
|
||||
1,
|
||||
block_width, block_height);
|
||||
self.g = np.float32(g)
|
||||
self.boundary_conditions = boundary_conditions.asCodedInt()
|
||||
|
||||
# Get kernels
|
||||
module = context.get_module("cuda/SWE2D_LxF.cu",
|
||||
|
||||
Reference in New Issue
Block a user