Skip to content

Commit 4189aa1

Browse files
Anand RadhakrishnanAnand
authored andcommitted
Frontier tests pass
1 parent 3e85540 commit 4189aa1

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/simulation/m_ibm.fpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ contains
7373

7474
! @:ALLOCATE(ib_markers%sf(0:m, 0:n, 0:p))
7575
@:ALLOCATE(levelset(0:m, 0:n, 0:p, num_ibs))
76-
@:ALLOCATE(levelset_norm(0:m, 0:n, 0:p, num_ibs, 3))
76+
@:ALLOCATE(levelset_norm(0:m, 0:n, 0:p, 1:num_ibs, 1:3))
7777

7878
!$acc enter data copyin(gp_layers, num_gps, num_inner_gps)
7979

@@ -93,8 +93,8 @@ contains
9393
call s_find_num_ghost_points()
9494

9595
!$acc update device(num_gps, num_inner_gps)
96-
@:ALLOCATE(ghost_points(num_gps))
97-
@:ALLOCATE(inner_points(num_inner_gps))
96+
@:ALLOCATE(ghost_points(1:num_gps))
97+
@:ALLOCATE(inner_points(1:num_inner_gps))
9898

9999
!$acc enter data copyin(ghost_points, inner_points)
100100

src/simulation/m_qbmm.fpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ contains
6666

6767
#:endif
6868

69-
@:ALLOCATE(momrhs(3, 0:2, 0:2, nterms, nb))
69+
@:ALLOCATE(momrhs(1:3, 0:2, 0:2, 1:nterms, 1:nb))
7070
momrhs = 0d0
7171

7272
! Assigns the required RHS moments for moment transport equations

0 commit comments

Comments
 (0)