Skip to content

Commit ed207ac

Browse files
committed
Fix compile issue
1 parent 41f06fd commit ed207ac

File tree

4 files changed

+12
-12
lines changed

4 files changed

+12
-12
lines changed
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
#:def 1dHardcoded()
1+
#:def Hardcoded1D()
22

3-
if (patch_icpp%hcid == 100) then
3+
if (patch_icpp(patch_id)%hcid == 100) then
44

55
end if
66

7-
#:enddef
7+
#:enddef
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
#:def 2dHardcoded()
1+
#:def Hardcoded2D()
22

3-
if (patch_icpp%hcid == 200) then
3+
if (patch_icpp(patch_id)%hcid == 200) then
44

55
end if
66

7-
#:enddef
7+
#:enddef
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
#:def 3dHardcoded()
1+
#:def Hardcoded3D()
22

3-
if (patch_icpp%hcid == 300) then
3+
if (patch_icpp(patch_id)%hcid == 300) then
44

55
end if
66

7-
#:enddef
7+
#:enddef

src/pre_process/m_patches.fpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -816,7 +816,7 @@ contains
816816
call s_assign_patch_primitive_variables(patch_id, i, 0, 0, &
817817
eta, q_prim_vf, patch_id_fp)
818818
819-
@:1dHardcoded()
819+
@:Hardcoded1D()
820820
end if
821821
end do
822822
@@ -930,7 +930,7 @@ contains
930930
call s_assign_patch_primitive_variables(patch_id, i, j, 0, &
931931
eta, q_prim_vf, patch_id_fp)
932932
933-
@:2dHardcoded()
933+
@:Hardcoded2D()
934934
end if
935935
end do
936936
end do
@@ -1004,7 +1004,7 @@ contains
10041004
call s_assign_patch_primitive_variables(patch_id, i, j, k, &
10051005
eta, q_prim_vf, patch_id_fp)
10061006

1007-
@:3dHardcoded()
1007+
@:Hardcoded3D()
10081008

10091009
end if
10101010

0 commit comments

Comments
 (0)