New-Style Algebraic Fields [Experimental]

New-Style Algebraic Fields [Experimental]#

Caution

The pystencils.grids module is meant to replace the legacy fields module (pystencils.field) in the near future. It is still under active development and considered experimental.

Tensor Fields#

TensorField

Tensor field mapping each point of a \(d\)-dimensional index space to a rank \(n\) tensor.

TensorFieldAccess

Access into a tensor field.

Helper Classes#

MemoryLayout

Common field memory layouts available in pystencils.

Infrastructure and Protocols#

IField

Interface for algebraic fields to the pystencils code generator.

IFieldAccess

Interface for expressions that should be translated to buffer accesses for an algebraic field.

FieldBufferSpec

Specification for a field's memory buffers.

IterationLimits

Kernel iteration limits prescribed by a field.