Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
wpbonelli committed Jul 6, 2024
1 parent eee1c9e commit 7f1b4f5
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion autotest/test_prt_disv1.py
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,7 @@ def check_output(idx, test):
lines = [l.strip() for l in lines]
for iprp in range(1, 3):
i = lines.index(f"PARTICLE RELEASE FOR PRP {iprp}")
assert "THE FOLLOWING TIMES WILL BE SCHEDULED: 0.0" in lines[i + 1]
assert "THE FOLLOWING TIMES WILL BE SCHEDULED:" in lines[i + 1]

# load mp7 pathline results
plf = PathlineFile(mp7_ws / mp7_pathline_file)
Expand Down
2 changes: 1 addition & 1 deletion autotest/test_prt_release_timing.py
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ def check_output(idx, test, snapshot):
lines = open(list_file).readlines()
lines = [l.strip() for l in lines]
li = lines.index("PARTICLE RELEASE FOR PRP 1")
assert "THE FOLLOWING TIMES WILL BE SCHEDULED: 0.0" in lines[li + 1]
assert "THE FOLLOWING TIMES WILL BE SCHEDULED:" in lines[li + 1]

# load mp7 pathline results
plf = PathlineFile(mp7_ws / mp7_pathline_file)
Expand Down
2 changes: 0 additions & 2 deletions src/Model/ModelUtilities/TimeStepSelect.f90
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@ subroutine read (this, line)
lloc = 1

call urword(l, lloc, istart, istop, 1, ival, rval, 0, 0)
print *, l(istart:istop)
select case (l(istart:istop))
case ('ALL')
this%all = .true.
Expand All @@ -118,7 +117,6 @@ subroutine read (this, line)
end do listsearch
case ('FREQUENCY')
call urword(l, lloc, istart, istop, 2, ival, rval, -1, 0)
print *, "freq: ", ival
this%freq = ival
case ('FIRST')
this%first = .true.
Expand Down
2 changes: 0 additions & 2 deletions src/Model/ParticleTracking/prt-prp.f90
Original file line number Diff line number Diff line change
Expand Up @@ -351,8 +351,6 @@ subroutine schedule_release(this, ip, trelease)
real(DP), allocatable :: polyverts(:, :)
type(ParticleType), pointer :: particle

print *, 'Scheduling prp ', this%ibcnum, ' particle ', ip, ' at ', trelease

! Increment particle release count
np = this%nparticles + 1
this%nparticles = np
Expand Down

0 comments on commit 7f1b4f5

Please sign in to comment.