stfc / PSyclone

Domain-specific compiler and code transformation system for Finite Difference/Volume/Element Earth-system models in Fortran
BSD 3-Clause "New" or "Revised" License
104 stars 27 forks source link

Metadata extraction in LFRic and GOcean relies on string declaration attributes and fparser. #2643

Open JulienRemy opened 3 months ago

JulienRemy commented 3 months ago

In LFRicKernelMetadata and GOceanKernelMetadata, the metadata is extracted from UnsupportedFortranType().declaration strings using fparser2 as some derived types (represented by DataTypeSymbol) are not yet supported, see the features in #2642.