psyclone.domain.lfric.kernel.meta_args_metadata#
Module containing the MetaArgsMetadata class which captures the values for the LFRic kernel meta_args metadata.
Classes#
MetaArgsMetadata: Class to capture the values of the LFRic kernel
- class psyclone.domain.lfric.kernel.meta_args_metadata.MetaArgsMetadata(meta_args_args)[source]#
Class to capture the values of the LFRic kernel meta_args metadata. This class supports the creation, modification and Fortran output of this metadata.
meta_args metadata specifies information about data that the kernel code expects to be passed to it via its argument list.
- Parameters:
meta_args_args (List[
psyclone.domain.lfric.kernel. CommonMetaArgMetadata]) – a list of meta_args arguments.
Inheritance

- static create_from_fparser2(fparser2_tree)[source]#
Create an instance of MetaArgsMetadata from an fparser2 tree.
- Parameters:
fparser2_tree (
fparser.two.Fortran2003. Data_Component_Def_Stmt) – fparser2 tree capturing the meta args metadata.- Returns:
an instance of MetaArgsMetadata.
- Return type:
psyclone.domain.lfric.kernel. MetaArgsMetadata- Raises:
ParseError – if an unknown MetaArgsArgMetadata argument is found.
- property meta_args_args#
- Returns:
a list of meta args argument objects.
- Return type:
List[
psyclone.domain.lfric.kernel. CommonArg]