Add ConditionalFieldAccess (Field.Access after out-of-bounds check)
- Oct 01, 2019
-
-
Martin Bauer authored
# Conflicts: # pystencils/data_types.py
800eaf6c
-
- Sep 30, 2019
-
-
Stephan Seitz authored8dfe844c
-
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.
# Conflicts: # pystencils/data_types.py