psyclone.domain.lfric.lfric_halo_depths#

This module contains the LFRicHaloDepths class which manages the declarations for halo-depth arguments required by special kernels that iterate into the halo cells.

Classes#

  • LFRicHaloDepths: Manages the declarations for all halo-depth arguments (as needed by

class psyclone.domain.lfric.lfric_halo_depths.LFRicHaloDepths(node)[source]#

Manages the declarations for all halo-depth arguments (as needed by kernels that have operates_on == HALO_CELL_COLUMNS or OWNED_AND_HALO_CELL_COLUMNS) required by an Invoke.

Parameters:

node (py:class:psyclone.domain.lfric.lfric_invoke.LFRicInvoke) – the LFRic Invoke for which to manage halo-depth arguments.

Raises:

NotImplementedError – if the halo-depth passed to a Kernel from the Algorithm layer is not a literal or a scalar reference.

Inheritance

Inheritance diagram of LFRicHaloDepths
invoke_declarations()[source]#

Creates the declarations for the depths to which any ‘halo’ kernels iterate into the halos.