psyclone.domain.lfric.lfric_fields#
This module contains the LFRicFields class which manages the declarations for field arguments required by an Invoke or Kernel stub.
Classes#
LFRicFields: Manages the declarations for all field arguments required by an Invoke
- class psyclone.domain.lfric.lfric_fields.LFRicFields(node)[source]#
Manages the declarations for all field arguments required by an Invoke or Kernel stub.
Inheritance

- invoke_declarations()[source]#
Add field-related declarations to the PSy-layer routine. Note: PSy layer in LFRic does not modify the field objects. Hence, their Fortran intents are always in (the data updated in the kernels is only pointed to from the field object and is thus not a part of the object).
- Raises:
InternalError – for unsupported intrinsic types of field argument data.
- stub_declarations()[source]#
Add field-related declarations to a Kernel stub.
- Raises:
InternalError – for an unsupported data type of field argument data.