Patches and 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.
Patches and Patch Data#
Cuboid volume of space, discretized by a cartesian grid. |
|
Proxy representing a grid superimposed on a patch. |
|
Variable placements on a patch's grid. |
Manage simulation data and field arrays for a given patch. |
Tensor Fields#
Tensor field mapping each point of a \(d\)-dimensional index space to a rank \(n\) tensor. |
|
Access into a tensor field. |
Helper Classes#
Common field memory layouts available in pystencils. |
Infrastructure and Protocols#
Interface for algebraic fields to the pystencils code generator. |
|
Interface for expressions that should be translated to buffer accesses for an algebraic field. |
|
Specification for a field's memory buffers. |
|
Kernel iteration limits prescribed by a field. |
|
Create an |
|
Extract the interior view onto an |