ecmwf-ifs / field_api

Apache License 2.0
3 stars 8 forks source link

Make FIELD_2RB an alias of FIELD_2RD or FIELD_2RM #37

Closed pmarguinaud closed 4 months ago

pmarguinaud commented 5 months ago

Using name associations, this PR makes :

This should make it possible for having a single library for both single/double precision (it we want to). Only a few front-end modules (field_module.fypp, field_array_module.fypp, etc.) would need to be compiled specifically for double/single precision.

This PR prepares the following PR : https://github.com/pmarguinaud/field_api/tree/access-optional

Tested with ARPEGE.