Skip to content
Snippets Groups Projects
Commit 97b94aaf authored by Martin Bauer's avatar Martin Bauer
Browse files

Merge branch 'opencl-iterative-initialization' into 'master'

Enable iterative initialization for target='opencl'

See merge request !24
parents e586475c 2466d110
Branches
Tags
1 merge request!24Enable iterative initialization for target='opencl'
Pipeline #22112 failed with stages
in 21 minutes and 45 seconds
...@@ -334,7 +334,7 @@ class LatticeBoltzmannStep: ...@@ -334,7 +334,7 @@ class LatticeBoltzmannStep:
tuple (residuum, steps_run) if successful or raises ValueError if not converged tuple (residuum, steps_run) if successful or raises ValueError if not converged
""" """
dh = self.data_handling dh = self.data_handling
gpu = self._optimization['target'] == 'gpu' gpu = self._gpu
def on_first_call(): def on_first_call():
self._velocity_init_vel_backup = 'velocity_init_vel_backup' self._velocity_init_vel_backup = 'velocity_init_vel_backup'
......
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