pystencils.grids.protocols.IFieldAccess#
- class pystencils.grids.protocols.IFieldAccess(*args, **kwargs)#
Interface for expressions that should be translated to buffer accesses for an algebraic field.
This protocol should be implemented by any expression types that constitute field accesses, to communicate the associated field and buffer indices to the code generator.