ocean_dyn_enter_data_impl Subroutine

private subroutine ocean_dyn_enter_data_impl(this)

Arguments

Type IntentOptional Attributes Name
type(ocean_dyn_t), intent(inout) :: this

Calls

proc~~ocean_dyn_enter_data_impl~~CallsGraph proc~ocean_dyn_enter_data_impl ocean_dyn_enter_data_impl proc~barotropic_workstate_enter_data_impl barotropic_workstate_enter_data_impl proc~ocean_dyn_enter_data_impl->proc~barotropic_workstate_enter_data_impl

Called by

proc~~ocean_dyn_enter_data_impl~~CalledByGraph proc~ocean_dyn_enter_data_impl ocean_dyn_enter_data_impl proc~ocean_dyn_enter_data ocean_dyn_t%ocean_dyn_enter_data proc~ocean_dyn_enter_data->proc~ocean_dyn_enter_data_impl

Source Code

   subroutine ocean_dyn_enter_data_impl(this)
      type(ocean_dyn_t), intent(inout) :: this
      call barotropic_workstate_enter_data_impl(this%bt_work)
      ! accel_visc_rem stage-entry snapshots: eagerly allocated at setup
      ! (host source=0) only when the knob is on, so `copyin` (not `create`)
      ! and gate on allocation — symmetric with the setup allocation and the
      ! exit_data delete.
      if (allocated(this%avr_u0)) then
         !$acc enter data copyin(this%avr_u0, this%avr_v0)
      end if
      ! bt_wide is attached by ocean_dyn_enable_bt_wide (AFTER enter_data
      ! for the rest of dyn); no attach here — see ocean_dyn_enable_bt_wide.
   end subroutine ocean_dyn_enter_data_impl