pystencils.codegen.config.CreateKernelConfig.index_field

pystencils.codegen.config.CreateKernelConfig.index_field#

CreateKernelConfig.index_field: BasicOption[Field] = None#

Index field for a sparse kernel.

If this option is set, a sparse kernel with the given field as index field will be generated.

Note

At most one of ghost_layers, iteration_slice, and index_field may be set.