We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fe0dfab commit 9952603Copy full SHA for 9952603
1 file changed
src/simulation/m_ib_patches.fpp
@@ -140,8 +140,7 @@ contains
140
141
do patch_id = 1, num_ibs
142
if (patch_ib(patch_id)%geometry == 5 .or. patch_ib(patch_id)%geometry == 12) then
143
- @:ALLOCATE(models(patch_id)%model)
144
-
+ allocate(models(patch_id)%model)
145
print *, " * Reading model: "//trim(patch_ib(patch_id)%model_filepath)
146
147
model = f_model_read(patch_ib(patch_id)%model_filepath)
@@ -237,7 +236,7 @@ contains
237
236
end if
238
239
! update allocatables
240
- $:GPU_UPDATE(device='[models]')
+ $:GPU_ENTER_DATA(copyin='[models(patch_id)]')
241
$:GPU_ENTER_DATA(copyin='[models(patch_id)%boundary_v]')
242
$:GPU_ENTER_DATA(copyin='[models(patch_id)%model%trs]')
243
if (interpolate) then
0 commit comments