Skip to content

Commit 2228ec7

Browse files
Formatting
1 parent 78bffd4 commit 2228ec7

File tree

3 files changed

+22
-23
lines changed

3 files changed

+22
-23
lines changed

src/gpu/SELF_GPUInterfaces.f90

-1
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,6 @@ subroutine ApplyFlip_2D_gpu(extBoundary,sideInfo,elemToRank,rankId,offset,N,nVar
118118
endsubroutine ApplyFlip_2D_gpu
119119
endinterface
120120

121-
122121
interface
123122
subroutine DG_BoundaryContribution_2D_gpu(bmatrix,qweights,bf,df,N,nvar,nel) &
124123
bind(c,name="DG_BoundaryContribution_2D_gpu")

src/gpu/SELF_MappedVector_2D.f90

+11-11
Original file line numberDiff line numberDiff line change
@@ -133,23 +133,23 @@ subroutine MPIExchangeAsync_MappedVector2D(this,mesh,resetCount)
133133
s2 = mesh%sideInfo(4,s1,e1)/10
134134
globalSideId = abs(mesh%sideInfo(2,s1,e1))
135135
! create unique tag for each side and each variable
136-
tag = globalsideid+mesh%nUniqueSides*(ivar-1 + this%nvar*(idir-1))
136+
tag = globalsideid+mesh%nUniqueSides*(ivar-1+this%nvar*(idir-1))
137137

138138
msgCount = msgCount+1
139139
call MPI_IRECV(extBoundary(:,s1,e1,ivar,idir), &
140-
(this%interp%N+1), &
141-
mesh%decomp%mpiPrec, &
142-
r2,tag, &
143-
mesh%decomp%mpiComm, &
144-
mesh%decomp%requests(msgCount),iError)
140+
(this%interp%N+1), &
141+
mesh%decomp%mpiPrec, &
142+
r2,tag, &
143+
mesh%decomp%mpiComm, &
144+
mesh%decomp%requests(msgCount),iError)
145145

146146
msgCount = msgCount+1
147147
call MPI_ISEND(boundary(:,s1,e1,ivar,idir), &
148-
(this%interp%N+1), &
149-
mesh%decomp%mpiPrec, &
150-
r2,tag, &
151-
mesh%decomp%mpiComm, &
152-
mesh%decomp%requests(msgCount),iError)
148+
(this%interp%N+1), &
149+
mesh%decomp%mpiPrec, &
150+
r2,tag, &
151+
mesh%decomp%mpiComm, &
152+
mesh%decomp%requests(msgCount),iError)
153153
endif
154154
endif
155155

src/gpu/SELF_MappedVector_3D.f90

+11-11
Original file line numberDiff line numberDiff line change
@@ -140,23 +140,23 @@ subroutine MPIExchangeAsync_MappedVector3D(this,mesh,resetCount)
140140
s2 = mesh%sideInfo(4,s1,e1)/10
141141
globalSideId = abs(mesh%sideInfo(2,s1,e1))
142142
! create unique tag for each side and each variable
143-
tag = globalsideid+mesh%nUniqueSides*(ivar-1 + this%nvar*(idir-1))
143+
tag = globalsideid+mesh%nUniqueSides*(ivar-1+this%nvar*(idir-1))
144144

145145
msgCount = msgCount+1
146146
call MPI_IRECV(extBoundary(:,:,s1,e1,ivar,idir), &
147-
(this%interp%N+1)*(this%interp%N+1), &
148-
mesh%decomp%mpiPrec, &
149-
r2,tag, &
150-
mesh%decomp%mpiComm, &
151-
mesh%decomp%requests(msgCount),iError)
147+
(this%interp%N+1)*(this%interp%N+1), &
148+
mesh%decomp%mpiPrec, &
149+
r2,tag, &
150+
mesh%decomp%mpiComm, &
151+
mesh%decomp%requests(msgCount),iError)
152152

153153
msgCount = msgCount+1
154154
call MPI_ISEND(boundary(:,:,s1,e1,ivar,idir), &
155-
(this%interp%N+1)*(this%interp%N+1), &
156-
mesh%decomp%mpiPrec, &
157-
r2,tag, &
158-
mesh%decomp%mpiComm, &
159-
mesh%decomp%requests(msgCount),iError)
155+
(this%interp%N+1)*(this%interp%N+1), &
156+
mesh%decomp%mpiPrec, &
157+
r2,tag, &
158+
mesh%decomp%mpiComm, &
159+
mesh%decomp%requests(msgCount),iError)
160160
endif
161161
endif
162162

0 commit comments

Comments
 (0)