Skip to content
Snippets Groups Projects

Staggered field access and staggered fields with fluxes to edges/faces

Merged Michael Kuron requested to merge staggered into master

The first index dimension is always used to identify the staggered point, any further ones can be used to store vectors/tensors at these points. f.staggered_access("N") or f.staggered_access(0, sp.Rational(1, 2))) is now supported. The string representation of the resulting accessor is

f_{(0,\frac{1}{2})}
. Furthermore, staggered fields can now have more staggered points than spatial dimensions, i.e. to store fluxes to edge/face neighbors (e.g. f.staggered_access("NE").

Edited by Michael Kuron

Merge request reports

Loading
Loading

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