psyclone.domain.lfric.kernel.meta_funcs_metadata
Module containing the MetaFuncsMetadata class which captures the values for the LFRic kernel meta_funcs metadata.
Classes
MetaFuncsMetadata
: Class to capture the values of the LFRic kernel
- class psyclone.domain.lfric.kernel.meta_funcs_metadata.MetaFuncsMetadata(meta_funcs_args)
Class to capture the values of the LFRic kernel meta_funcs metadata. This class supports the creation, modification and Fortran output of this metadata.
meta_funcs metadata specifies whether any quadrature or evaluator data is required for a given function space.
- Parameters:
meta_funcs_args (List[
psyclone.domain.lfric.kernel. MetaFuncsArgMetadata
]) – a list of meta_funcs arguments.
Inheritance
- static create_from_fparser2(fparser2_tree)
Create an instance of MetaFuncsMetadata from an fparser2 tree.
- Parameters:
fparser2_tree (
fparser.two.Fortran2003. Data_Component_Def_Stmt
) – fparser2 tree capturing the meta funcs metadata.- Returns:
an instance of MetaFuncsMetadata.
- Return type:
psyclone.domain.lfric.kernel. MetaFuncsMetadata
- fortran_string()
- Returns:
the meta_funcs metadata as Fortran.
- Return type:
str
- property meta_funcs_args
- Returns:
a list of meta funcs argument objects.
- Return type:
List[
psyclone.domain.lfric.kernel. MetaFuncsArgMetadata
]