Skip to content

Commit 518a645

Browse files
author
Hyeoksu Lee
committed
mpi buffer
1 parent 40164cf commit 518a645

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/post_process/m_mpi_proxy.fpp

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -67,18 +67,18 @@ contains
6767
6868
allocate (q_cons_buffer_in(0:buff_size* &
6969
sys_size* &
70-
(m + 2*buff_size + 1)* &
71-
(n + 2*buff_size + 1)* &
72-
(p + 2*buff_size + 1)/ &
70+
(m + 2*buff_size + 1)/ &
7371
(min(m, n, p) &
74-
+ 2*buff_size + 1) - 1))
72+
+ 2*buff_size + 1)* &
73+
(n + 2*buff_size + 1)* &
74+
(p + 2*buff_size + 1) - 1))
7575
allocate (q_cons_buffer_out(0:buff_size* &
7676
sys_size* &
77-
(m + 2*buff_size + 1)* &
78-
(n + 2*buff_size + 1)* &
79-
(p + 2*buff_size + 1)/ &
77+
(m + 2*buff_size + 1)/ &
8078
(min(m, n, p) &
81-
+ 2*buff_size + 1) - 1))
79+
+ 2*buff_size + 1)* &
80+
(n + 2*buff_size + 1)* &
81+
(p + 2*buff_size + 1) - 1))
8282
8383
! Simulation is 2D
8484
else

0 commit comments

Comments
 (0)