psyclone.domain.lfric.lfric_psy#

This module creates an LFRic-specific Invokes object which controls all the required invocation calls. It also overrides the PSy gen method so that LFRic-specific PSy module code is generated.

Classes#

  • LFRicPSy: The LFRic-specific PSy class. This creates an LFRic-specific

class psyclone.domain.lfric.lfric_psy.LFRicPSy(invoke_info)[source]#

The LFRic-specific PSy class. This creates an LFRic-specific Invokes object (which controls all the required invocation calls). It also overrides the PSy gen method so that we generate LFRic-specific PSy module code.

Parameters:

invoke_info (psyclone.parse.algorithm.FileInfo) – object containing the required invocation information for code optimisation and generation.

Inheritance

Inheritance diagram of LFRicPSy
property name#
Returns:

a name for the PSy layer. This is used as the PSy module name. We override the default value as the Met Office prefer “_psy” to be appended, rather than prepended.

Return type:

str

property orig_name#
Returns:

the unmodified PSy-layer name.

Return type:

str