psyclone.domain.lfric.kernel.scalar_arg_metadata#

Module containing the ScalarArgMetadata class which captures the metadata associated with a scalar argument. Supports the creation, modification and Fortran output of a Scalar argument.

Classes#

class psyclone.domain.lfric.kernel.scalar_arg_metadata.ScalarArgMetadata(datatype, access)[source]#

Class to capture LFRic kernel metadata information for a scalar argument.

Inheritance

Inheritance diagram of ScalarArgMetadata
static check_access(value)[source]#
Parameters:

value (str) – the access descriptor to validate.

static check_datatype(value)[source]#
Parameters:

value (str) – the datatype to check for validity.

fortran_string()[source]#
Returns:

the metadata represented by this class as Fortran.

Return type:

str