ocean_sponge_enter_data Subroutine

private subroutine ocean_sponge_enter_data(this)

Type-bound wrapper — delegates to the non-polymorphic impl so the device-attach map base is the heap object, not a polymorphic stack box (AMD libomptarget cross-slot-overlap fix; copied verbatim from rdb_ocean_surface_flux.F90).

Type Bound

ocean_sponge_t

Arguments

Type IntentOptional Attributes Name
class(ocean_sponge_t), intent(inout) :: this

Calls

proc~~ocean_sponge_enter_data~~CallsGraph proc~ocean_sponge_enter_data ocean_sponge_t%ocean_sponge_enter_data proc~ocean_sponge_enter_data_impl ocean_sponge_enter_data_impl proc~ocean_sponge_enter_data->proc~ocean_sponge_enter_data_impl

Source Code

   subroutine ocean_sponge_enter_data(this)
      !! Type-bound wrapper — delegates to the non-polymorphic impl so the
      !! device-attach map base is the heap object, not a polymorphic stack
      !! box (AMD libomptarget cross-slot-overlap fix; copied verbatim from
      !! `rdb_ocean_surface_flux.F90`).
      class(ocean_sponge_t), intent(inout) :: this
      select type (this)
      type is (ocean_sponge_t)
         call ocean_sponge_enter_data_impl(this)
      end select
   end subroutine ocean_sponge_enter_data