Commit 2466d110 authored by Stephan Seitz's avatar Stephan Seitz
Browse files

Enable iterative initialization for target='opencl'

parent a7f92ff4
......@@ -334,7 +334,7 @@ class LatticeBoltzmannStep:
tuple (residuum, steps_run) if successful or raises ValueError if not converged
"""
dh = self.data_handling
gpu = self._optimization['target'] == 'gpu'
gpu = self._gpu
def on_first_call():
self._velocity_init_vel_backup = 'velocity_init_vel_backup'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment