-
Notifications
You must be signed in to change notification settings - Fork 50
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Contact Details
No response
What happened?
When calling lettuce benchmark in command prompt and/or several other lettuce-functionalities, lettuce issues a UserWarning on deprecation of "boundaries" due to the new "post_boundaries" and "pre_boundaries" feature. So the flow that is used for "lettuce benchmark" seems to not implement boundaries in the currently accepted way.
The benchmark still runs, tho... (see log output below)
Version
0.2.0
What operating system are you seeing the problem on?
No response
Relevant log output
~$ lettuce benchmark
/home/<PATH TO MY LETTUCE INSTALL>/lettuce/_simulation.py:60: UserWarning: This warning occurs because either post_boundaries is not defined withinthe flow class or the `boundaries` method is usedwhich is deprecated and will be removed in a future version. Please use `pre_boundaries` or `post_boundaries` directly instead.
self.transformer = (flow.pre_boundaries or []) + [collision] + (flow.post_boundaries or [])
/home/<PATH TO MY LETTUCE INSTALL>/lettuce/_simulation.py:63: UserWarning: This warning occurs because either post_boundaries is not defined withinthe flow class or the `boundaries` method is usedwhich is deprecated and will be removed in a future version. Please use `pre_boundaries` or `post_boundaries` directly instead.
self.post_boundaries = flow.post_boundaries
Finished TaylorGreenVortex (D2Q9, cuda:0, True) for 10 steps in 64 bit precision with PRE_STREAMING. MLUPS: 187.27Metadata
Metadata
Labels
bugSomething isn't workingSomething isn't working