Skip to content

Commit ae35b3b

Browse files
author
Ben Fulton
committed
Initialize LIMDOLD
Declare some vars on their own lines for easier tracking
1 parent 42b971a commit ae35b3b

File tree

1 file changed

+17
-2
lines changed

1 file changed

+17
-2
lines changed

ICFERST/src/cv-adv-dif.F90

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -422,8 +422,22 @@ SUBROUTINE CV_ASSEMB( state, packed_state, &
422422
REAL, DIMENSION ( final_phase, Mdims%cv_nloc ) :: LOC_FEMT, LOC2_FEMT, LOC_FEMTOLD, LOC2_FEMTOLD, LOC_FEMT2, LOC2_FEMT2, &
423423
LOC_FEMT2OLD, LOC2_FEMT2OLD
424424
! nphase Variables:
425-
real, dimension(final_phase)::NDOTQ, INCOME, CAP_DIFF_COEF_DIVDX, DIFF_COEF_DIVDX, DIFF_COEFOLD_DIVDX, NDOTQNEW, LIMDTOLD, &
426-
INCOMEOLD, NDOTQOLD, LIMTOLD, LIMT, LIMT_HAT, LIMDOLD, FVT, LIMD, LIMDT
425+
real, dimension(final_phase) :: NDOTQ
426+
real, dimension(final_phase) :: INCOME
427+
real, dimension(final_phase) :: CAP_DIFF_COEF_DIVDX
428+
real, dimension(final_phase) :: DIFF_COEF_DIVDX
429+
real, dimension(final_phase) :: DIFF_COEFOLD_DIVDX
430+
real, dimension(final_phase) :: NDOTQNEW
431+
real, dimension(final_phase) :: LIMDTOLD
432+
real, dimension(final_phase) :: INCOMEOLD
433+
real, dimension(final_phase) :: NDOTQOLD
434+
real, dimension(final_phase) :: LIMTOLD
435+
real, dimension(final_phase) :: LIMT
436+
real, dimension(final_phase) :: LIMT_HAT
437+
real, dimension(final_phase) :: LIMDOLD
438+
real, dimension(final_phase) :: FVT
439+
real, dimension(final_phase) :: LIMD
440+
real, dimension(final_phase) :: LIMDT
427441
real, dimension(final_phase)::LIMT2, LIMT2OLD
428442
real, dimension(final_phase, Mdims%cv_nonods) :: FEMT_ALL, FEMTOLD_ALL, FEMT2_ALL, FEMT2OLD_ALL, FEMDEN_ALL, FEMDENOLD_ALL
429443
REAL, DIMENSION( Mdims%ndim, final_phase, Mdims%cv_nloc, Mdims%totele ) :: DTX_ELE_ALL, DTOLDX_ELE_ALL
@@ -519,6 +533,7 @@ SUBROUTINE CV_ASSEMB( state, packed_state, &
519533

520534
T2_ALL => null()
521535
T2OLD_ALL => null()
536+
LIMDOLD = 0.0
522537
!Decide if we are solving for nphases-1
523538
Solve_all_phases = .not. have_option("/numerical_methods/solve_nphases_minus_one")
524539
!Check vanishing artificial diffusion options

0 commit comments

Comments
 (0)