MOM5 icon indicating copy to clipboard operation
MOM5 copied to clipboard

ACCESS coupling improvements

Open nichannah opened this issue 10 years ago • 0 comments

An email from Russ:

Further to yesterday's chat here is the way I redid the coupling from the mom side of things

The original loop was

do nc=1, num_cpld_calls get_bcs_from_ice step_the_ocean send_ocean_sfc_to_ice end

I changed this to:

do nc=1, num_cpld_calls get_bcs_from_ice if (nc /= 1 ) send_ocean_sfc_to_ice step_the_ocean end send_ocean_to_ice

In the ice code

do nc send_to_ocean step get_from_ocean enddo

to

do nc send_to_ocean if(nc /= 1) get_from_ocean step_the_ice end get_from_ocean

So the ice boundary is sent twice (step 1 and 2) before the ocean BCs are first sent we then have to send the ocean BCs a final time at the end of the loop.

nichannah avatar May 14 '14 06:05 nichannah