Skip to content

Commit ad8f527

Browse files
author
Himpu Marbona
committed
Suggestion by CoPilot
1 parent b726cd9 commit ad8f527

3 files changed

Lines changed: 4 additions & 6 deletions

File tree

Solver/src/libs/mesh/StorageClass.f90

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1355,8 +1355,8 @@ impure elemental subroutine ElementStorage_InterpolateSolution(this,other,nodes,
13551355
outArray = other % U_z )
13561356
end if
13571357

1358-
this % Q(1:,0:,0:,0:) => this % QbaseSponge
1359-
other % Q(1:,0:,0:,0:) => other % QbaseSponge
1358+
this % Q => this % QbaseSponge
1359+
other % Q=> other % QbaseSponge
13601360

13611361
call Interp3DArrays (Nvars = NCONS , &
13621362
Nin = this % Nxyz , &

Solver/src/libs/timeintegrator/ExplicitMethods.f90

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1021,8 +1021,6 @@ SUBROUTINE TakeMLRK3Step( mesh, particles, t, deltaT, ComputeTimeDerivative, dt_
10211021
REAL(KIND=RP) :: corrector, corrector2, aLoc
10221022
REAL(KIND=RP), ALLOCATABLE :: cLL(:) , tk(:), deltaTL(:) !
10231023

1024-
!$acc enter data copyin(a,b,c,d)
1025-
10261024
nLevel = mesh % MLRK % maxLevel
10271025

10281026
allocate(k(nLevel), cLL(nLevel), tk(nLevel), deltaTL(nLevel), MLIterN(nLevel) , MLIter(nLevel+1), MLIter_eIDN(size(mesh % elements)))
@@ -1034,7 +1032,7 @@ SUBROUTINE TakeMLRK3Step( mesh, particles, t, deltaT, ComputeTimeDerivative, dt_
10341032
deltaTL(:) = deltaT ! Local timestep, for level 1 is the deltaT
10351033
tk(:) = t
10361034

1037-
!$acc data copyin(MLIter_eIDN,MLIterN,t)
1035+
!$acc data copyin(MLIter_eIDN,MLIterN,t,a,b,c,d)
10381036
k(:) = kmax ! A counter array to track at which stage and level , 3 is the total number of stages
10391037
do k1 = 1,kmax
10401038
! LEVEL 1

Solver/src/libs/timeintegrator/TimeIntegrator.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -461,7 +461,7 @@ subroutine IntegrateInTime( self, sem, controlVariables, monitors, ComputeTimeDe
461461
use ChannelForcing, only: initializeChannel, updateChannel
462462
#endif
463463
#if defined(FLOW)
464-
use SpongeClass, only: sponge, ConstructSponge, DestructSponge, UpdateBaseFlowSponge, WriteBaseFlowSponge
464+
use SpongeClass
465465
#endif
466466

467467
#if defined(NAVIERSTOKES) || defined(MULTIPHASE)

0 commit comments

Comments
 (0)