47
48 class(MethodCellPassToBotType), intent(inout) :: this
49 type(ParticleType), pointer, intent(inout) :: particle
50 real(DP), intent(in) :: tmax
51
52 integer(I4B) :: nlay
53
54 call this%assess(particle, this%cell%defn, tmax)
55 if (.not. particle%advancing) return
56
57
58 particle%z = this%cell%defn%bot
59 particle%iboundary(level_feature) = this%cell%defn%npolyverts + 2
60
61
62 select type (dis => this%fmi%dis)
63 type is (distype)
64 nlay = dis%nlay
65 type is (disvtype)
66 nlay = dis%nlay
67 end select
68 if (particle%ilay == nlay) then
70 else
71 call this%cellexit(particle)
72 end if
@ term_no_exits
terminated in a cell with no exit face