Skip to content

Commit 1354011

Browse files
committed
support 1D output in paraview with 1D meshes
1 parent eea226f commit 1354011

File tree

4 files changed

+167
-213
lines changed

4 files changed

+167
-213
lines changed

src/common/m_mpi_common.fpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1570,14 +1570,14 @@ contains
15701570
15711571
#ifdef MFC_POST_PROCESS
15721572
! Ghost zone at the beginning
1573-
if (proc_coords(1) > 0 .and. format == 1 .and. n > 0) then
1573+
if (proc_coords(1) > 0 .and. format == 1) then
15741574
offset_x%beg = 2
15751575
else
15761576
offset_x%beg = 0
15771577
end if
15781578
15791579
! Ghost zone at the end
1580-
if (proc_coords(1) < num_procs_x - 1 .and. format == 1 .and. n > 0) then
1580+
if (proc_coords(1) < num_procs_x - 1 .and. format == 1) then
15811581
offset_x%end = 2
15821582
else
15831583
offset_x%end = 0

0 commit comments

Comments
 (0)