marbl-ecosys / MARBL

Marine Biogeochemistry Library
https://marbl-ecosys.github.io
Other
14 stars 25 forks source link

Refactor how total Chlorophyll is summed #474

Closed mnlevy1981 closed 1 month ago

mnlevy1981 commented 1 month ago

Created a new marbl_interior_tendency_compute_totChl() routine to populate interior_tendency_output%outputs_for_GCM(ofg_ind%total_Chl_id), which is called from interior_tendency_compute(). This function is also available through the compute_totChl() function on the MARBL_interface_class, so GCMs can get the initial Chl field during initialization -- just need to copy non-negative values of tracers into tracers(:,:) component of the class after reading from IC / restart file.