We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6ef3733 commit 84b0960Copy full SHA for 84b0960
src_mtln/mtl.F90
@@ -379,9 +379,10 @@ subroutine initCommunicators(this, alloc_z)
379
z_end = alloc_z(2)
380
381
do j = 1, size(this%segments)
382
+ if (this%segments(j)%orientation == -1) cycle
383
+
384
z = this%segments(j)%z
-
- if (.not. isSegmentZOriented(j) .and. (z == z_end) .or. (z == z_init + 1)) then
385
+ if (.not. isSegmentZOriented(j) .and. ((z == z_end) .or. (z == z_init + 1))) then
386
387
n = size(this%mpi_comm%comms)
388
deallocate(aux_comm)
0 commit comments