Skip to content

Commit 821a89c

Browse files
committed
cleanup
1 parent f280640 commit 821a89c

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/Model/ParticleTracking/prt.f90

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ module PrtModule
6363
real(DP), dimension(:), pointer, contiguous :: massstoold => null() !< particle mass storage in cells, old value
6464
real(DP), dimension(:), pointer, contiguous :: ratesto => null() !< particle mass storage rate in cells
6565
real(DP), dimension(:), pointer, contiguous :: masstrm => null() !< particle mass terminating in cells, new value
66-
real(DP), dimension(:), pointer, contiguous :: masstrmold => null() !< particle mass terminating in cells, old value
6766
real(DP), dimension(:), pointer, contiguous :: ratetrm => null() !< particle mass termination rate in cells
6867
type(HashTableType), pointer :: trm_ids => null() !< terminated particle ids
6968
contains
@@ -370,7 +369,6 @@ subroutine prt_ad(this)
370369
! Update look-behind mass
371370
do n = 1, this%dis%nodes
372371
this%massstoold(n) = this%masssto(n)
373-
this%masstrmold(n) = this%masstrm(n)
374372
end do
375373

376374
! Advance fmi
@@ -876,7 +874,6 @@ subroutine prt_da(this)
876874
call mem_deallocate(this%massstoold)
877875
call mem_deallocate(this%ratesto)
878876
call mem_deallocate(this%masstrm)
879-
call mem_deallocate(this%masstrmold)
880877
call mem_deallocate(this%ratetrm)
881878

882879
call this%tracks%destroy()
@@ -934,8 +931,6 @@ subroutine allocate_arrays(this)
934931
'RATESTO', this%memoryPath)
935932
call mem_allocate(this%masstrm, this%dis%nodes, &
936933
'MASSTRM', this%memoryPath)
937-
call mem_allocate(this%masstrmold, this%dis%nodes, &
938-
'MASSTRMOLD', this%memoryPath)
939934
call mem_allocate(this%ratetrm, this%dis%nodes, &
940935
'RATETRM', this%memoryPath)
941936
! explicit model, so these must be manually allocated
@@ -947,7 +942,6 @@ subroutine allocate_arrays(this)
947942
this%massstoold(n) = DZERO
948943
this%ratesto(n) = DZERO
949944
this%masstrm(n) = DZERO
950-
this%masstrmold(n) = DZERO
951945
this%ratetrm(n) = DZERO
952946
this%x(n) = DZERO
953947
this%rhs(n) = DZERO

0 commit comments

Comments
 (0)