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 | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(ocean_sponge_t), | intent(inout) | :: | this |
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