psyclone.domain.lfric.lfric_loop_bounds#

This module provides the LFRicLoopBounds Class that handles all variables required for specifying loop limits within an LFRic PSy-layer routine.

Classes#

  • LFRicLoopBounds: Handles all variables required for specifying loop limits within

class psyclone.domain.lfric.lfric_loop_bounds.LFRicLoopBounds(node)[source]#

Handles all variables required for specifying loop limits within an LFRic PSy-layer routine.

Inheritance

Inheritance diagram of LFRicLoopBounds
initialise(cursor)[source]#

Updates the PSyIR so that all of the variables holding the lower and upper bounds of all loops in an Invoke are initialised.

Parameters:

cursor (int) – position where to add the next initialisation statements.

Return type:

int

Returns:

Updated cursor value.