NCAR / MOM6

NCAR/CESM fork of the Modular Ocean Model v.6 (MOM6)
Other
3 stars 20 forks source link

Logical not being used in the CFC cap #218

Open gustavo-marques opened 2 years ago

gustavo-marques commented 2 years ago

@klindsay28, can we delete logical from_file, or are you planning to use it later?
https://github.com/NCAR/MOM6/blob/b1eda273774965d9f673fb03912b145b17da93e1/src/tracer/MOM_CFC_cap.F90#L195

gustavo-marques commented 2 years ago

Here is another variable (integer m) that is not used and can be deleted.

https://github.com/NCAR/MOM6/blob/b1eda273774965d9f673fb03912b145b17da93e1/src/tracer/MOM_CFC_cap.F90#L309

marshallward commented 2 years ago

This commit removes those variables:

https://github.com/NOAA-GFDL/MOM6/pull/112/files#diff-fb34acfc13ae3238e59b1421deea7c02e3291ac0598cf767d45191aabdec69b4

This is part of the current PR to main.