<p><b>mpetersen@lanl.gov</b> 2012-07-17 07:54:41 -0600 (Tue, 17 Jul 2012)</p><p>BRANCH COMMIT: Add halo update to u and tracers after implicit vertical mixing.  This is required because IVM changes the values of u and tracer, while the halo updates earlier in the code are on the tendancy.  This removes the halo edges observed by Todd in the EUC test case.  When b-f-b restartability is complete, this can be tested against one processor.<br>
</p><hr noshade><pre><font color="gray">Modified: branches/ocean_projects/rich_vert_mix_bug/src/core_ocean/mpas_ocn_time_integration_split.F
===================================================================
--- branches/ocean_projects/rich_vert_mix_bug/src/core_ocean/mpas_ocn_time_integration_split.F        2012-07-17 13:51:20 UTC (rev 2029)
+++ branches/ocean_projects/rich_vert_mix_bug/src/core_ocean/mpas_ocn_time_integration_split.F        2012-07-17 13:54:41 UTC (rev 2030)
@@ -895,6 +895,14 @@
       end do
       call mpas_timer_stop(&quot;se timestep&quot;, timer_main)
 
+      ! A halo update is required after implicit vertical mixing, because 
+      ! IVM changes the values of u and tracer, while the halo updates above 
+      ! are on the tendancy.
+      if (config_implicit_vertical_mix) then
+         call mpas_dmpar_exch_halo_field(domain % blocklist % state % time_levs(2) % state % u)
+         call mpas_dmpar_exch_halo_field(domain % blocklist % state % time_levs(2) % state % tracers)
+      end if
+
    end subroutine ocn_time_integrator_split!}}}
 
 end module ocn_time_integration_split

</font>
</pre>