psyclone.domain.lfric.kernel.meta_mesh_arg_metadata

Module containing the MetaMeshArgMetadata class which captures the argument values for the LFRic kernel META_MESH metadata.

Classes

class psyclone.domain.lfric.kernel.meta_mesh_arg_metadata.MetaMeshArgMetadata(mesh)

Class to capture the LFRic kernel metadata information for a meta_mesh argument.

Parameters:

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

Inheritance

Inheritance diagram of MetaMeshArgMetadata
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_mesh argument.

Returns:

an instance of this class.

Return type:

psyclone.domain.lfric.kernel.MetaMeshArgMetadata

fortran_string()
Returns:

the metadata represented by this class as Fortran.

Return type:

str

property mesh
Returns:

the mesh property for this meta_mesh argument.

Return type:

str