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
ScalarArgMetadata
: Class to capture LFRic kernel metadata information for a scalar
- class psyclone.domain.lfric.kernel.scalar_arg_metadata.ScalarArgMetadata(datatype, access)
Class to capture LFRic kernel metadata information for a scalar argument.
Inheritance
- static check_access(value)
- Parameters:
value (str) – the access descriptor to validate.
- static check_datatype(value)
- Parameters:
value (str) – the datatype to check for validity.
- fortran_string()
- Returns:
the metadata represented by this class as Fortran.
- Return type:
str