Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • pystencils pystencils
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 18
    • Issues 18
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 6
    • Merge requests 6
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • pycodegen
  • pystencilspystencils
  • Merge requests
  • !86

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

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Michael Kuron requested to merge staggered into master Nov 14, 2019
  • Overview 0
  • Commits 3
  • Pipelines 5
  • Changes 7

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 Nov 15, 2019 by Michael Kuron
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: staggered