Skip to content
Snippets Groups Projects

Reimplement create_staggered_kernel

Merged Michael Kuron requested to merge staggered_kernel into master

create_staggered_kernel now takes a list of assignments to staggered fields and otherwise behaves like create_kernel. I have included a diffusion equation test case in both D2Q5 and D2Q9. Putting vectorial/tensorial quantities on the staggered points also works.

This merge requests break API compatibility with the previous create_staggered_kernel.

Fixes #16 (closed). My next step is to implement automatic FV discretization.

Build of dependent projects (pygrandchem, pystencils_walberla) passes as per https://i10git.cs.fau.de/pycodegen/pycodegen/merge_requests/6.

Edited by Michael Kuron

Merge request reports

Pipeline #20158 passed with warnings

Pipeline passed with warnings for 7cdc885a on staggered_kernel

Test coverage 77.94% (0.17%) from 1 job

Merged by Martin BauerMartin Bauer 5 years ago (Dec 1, 2019 8:44am UTC)

Loading

Pipeline #20168 passed

Pipeline passed for e1b452f7 on master

Test coverage 77.95% (0.17%) from 1 job

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply