NOAA-GFDL / GFDL_atmos_cubed_sphere

The GFDL atmos_cubed_sphere dynamical core code
Other
56 stars 118 forks source link

Add mixed mode support to use in AM5 #354

Closed uramirez8707 closed 3 months ago

uramirez8707 commented 3 months ago

Description Adds mixed mode support for fv3 to be used in AM5 (i.e compile fv3 with r4 and the rest with r8)

The following subroutines were updated to accept r4 and r8 arguments:

This was done using the #include method to be consistent with FMS. This was needed because they are called from atmos_drivers.

If compiling with r4, the r4 version of fms constants is used.

Fixes # (issue)

How Has This Been Tested? AM5 was ran in mixed mode

Checklist:

Please check all whether they apply or not