Draft: Changes for compatibility with pystencils 2.0
Introduce a significant number of patches for compatibility with the upcoming pystencils 2.0.
Status:
-
Fix field duplication in create_lb_update_rule
: Remove the workaround once field duplication is fixed in pystencils -
Data types in boundary handling: LatticeBoltzmannBoundaryHandling
does not allow to specify a data type and always usesfloat64
. This leads to type errors when combined with LB fields withfloat32
dtype. -
Mixed precision: Need to explicitly insert casts at field reads/writes when computing and storing PDFs in different float formats
Edited by Frederik Hennig
Merge request reports
Activity
Filter activity
assigned to @da15siwa
added 1 commit
- a2cf1e3e - Add CI job to test against pystencils v2.0-dev
added 1 commit
- 7f6f3a57 - Adapt to changes from pystencils!420 (merged)
added 1 commit
- 3962799b - Fix field duplication in create_lb_update_rule. Fix API in legacy custom_code_nodes.
added 25 commits
-
c1c40069...e7a8f3a3 - 23 commits from branch
master
- 9d7abfa6 - Merge branch 'master' into fhennig/pystencils2.0-compat
- 902584c2 - fix: cast offsets in BC force calculation
-
c1c40069...e7a8f3a3 - 23 commits from branch
added 1 commit
- 4371098b - use cupy 12.3 in testsuite run. Introduce nox for pystencils-2.0 testing.
Please register or sign in to reply