Reference Guide  2.5.0
psyclone.dynamo0p3.MeshPropertiesMetaData Class Reference

Public Member Functions

def __init__ (self, kernel_name, type_declns)
 

Public Attributes

 properties
 

Static Public Attributes

list supported_properties = [MeshProperty.ADJACENT_FACE]
 

Detailed Description

Parses any mesh-property kernel metadata and stores the properties that
a kernel requires.

:param str kernel_name: name of the kernel that the metadata is for.
:param type_declns: list of fparser1 parse tree nodes representing type \
                    declaration statements.
:type type_declns: list of :py:class:`fparser.one.typedecl_statements.Type`

:raises ParseError: if an unrecognised mesh property is found.
:raises ParseError: if a duplicate mesh property is found.

Definition at line 299 of file dynamo0p3.py.


The documentation for this class was generated from the following file: