psyclone.domain.lfric.kernel.meta_ref_element_arg_metadata

Module containing the MetaRefElementArgMetadata class which captures the argument values for the LFRic kernel REFERENCE_ELEMENT metadata.

Classes

class psyclone.domain.lfric.kernel.meta_ref_element_arg_metadata.MetaRefElementArgMetadata(reference_element)

Class to capture the LFRic kernel metadata information for a meta_reference_element argument. This specifies any properties of the reference element that the kernel requires.

Parameters:

reference_element (str) – the name of the reference_element property.

Inheritance

Inheritance diagram of MetaRefElementArgMetadata
static create_from_fparser2(fparser2_tree)

Create an instance of this class from an fparser2 tree.

Parameters:

fparser2_tree (fparser.two.Fortran2003.Part_Ref) – fparser2 tree containing the metadata for a meta_reference_element argument.

Returns:

an instance of this class.

Return type:

psyclone.domain.lfric.kernel.            MetaRefElementArgMetadata

fortran_string()
Returns:

the metadata represented by this class as Fortran.

Return type:

str

property reference_element
Returns:

the reference element property for this meta_reference_element argument.

Return type:

str