Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

9 - coupler_chksum_obj, coupler_atmos_tracer_driver_gather_data, coupler_sfc_boundary_layer #123

Merged
merged 26 commits into from
Jun 20, 2024

Conversation

mlee03
Copy link
Contributor

@mlee03 mlee03 commented Jun 12, 2024

In this PR,

  1. Coupler_chksum_obj of type coupler_chksum_type has been added and is used for input argument to coupler subroutines that compute checksums if do_chksum = .True. The purpose of this object is to simplify coupler subroutine arguments list.
  2. Subroutines coupler_atmos_tracer_driver_gather_data and coupler_sfc_boundary_layer have been added.

CHECKSUMS were only checked for the first timestep in run "CM4_piControl_C_2x0m15d_432x2a_2997x1o" and agree with those from main.

@mlee03 mlee03 changed the title 10 - coupler_chksum_obj, coupler_atmos_tracer_driver_gather_data, coupler_sfc_boundary_layer 9 - coupler_chksum_obj, coupler_atmos_tracer_driver_gather_data, coupler_sfc_boundary_layer Jun 12, 2024
@mlee03 mlee03 marked this pull request as ready for review June 12, 2024 16:15
@mlee03 mlee03 requested a review from uramirez8707 June 14, 2024 18:00
!! The members of this type point to the model components
type coupler_chksum_type
private
type(coupler_components_type) :: components
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

are these two of these? Should this point to coupler_components_obj?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it has been changed to a pointer

!> Function set_component sets the requested component in the coupler_components_type object
!! Users are required to provide the component to be set as an input argument. For example,
!! coupler_components_obj%get_component(Atm) will set coupler_components_obj%Atm = Atm
subroutine set_component(this, set_this_component )
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would be shocked if this worked. I don't think these types all have overloaded =

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It has been removed.

@rem1776 rem1776 merged commit f46b6bf into NOAA-GFDL:main Jun 20, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants