Skip to content
Snippets Groups Projects

Add ConditionalFieldAccess (Field.Access after out-of-bounds check)

Closed Stephan Seitz requested to merge seitz/pystencils:ConditionalFieldAccess into master

Adds a wrapper around a Field.Access that the access is only performed if a certain condition is met.

If I use this, I can safely perform calculations and adjoint calculations with ghost_layers=0 and obtain the correct gradients without separate boundary handling.

Edited by Stephan Seitz

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