Attach the C-grid multilayer allocatables to the device. The
tracer registry uses the two-step pattern: array descriptor
first, then each element’s hTr / hTr0 — NVHPC stdpar can’t
dereference tracers(it)%hTr from a do-concurrent body
otherwise.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(multilayer_state_t), | intent(inout) | :: | this |
subroutine multilayer_state_enter_data(this) !! Attach the C-grid multilayer allocatables to the device. The !! tracer registry uses the two-step pattern: array descriptor !! first, then each element's hTr / hTr0 — NVHPC stdpar can't !! dereference `tracers(it)%hTr` from a do-concurrent body !! otherwise. class(multilayer_state_t), intent(inout) :: this select type (this) type is (multilayer_state_t) call multilayer_state_enter_data_impl(this) end select end subroutine multilayer_state_enter_data