MODFLOW 6  version 6.7.0.dev2
USGS Modular Hydrologic Model
methodsubcellmodule Module Reference

Data Types

type  methodsubcelltype
 

Functions/Subroutines

subroutine assess (this, particle, cell_defn, tmax)
 
subroutine subcellexit (this, particle)
 Particle exits a subcell. More...
 
integer(i4b) function get_level (this)
 Get the subcell method's level. More...
 

Function/Subroutine Documentation

◆ assess()

subroutine methodsubcellmodule::assess ( class(methodsubcelltype), intent(inout)  this,
type(particletype), intent(inout), pointer  particle,
type(celldefntype), intent(inout), pointer  cell_defn,
real(dp), intent(in)  tmax 
)
private

Definition at line 22 of file MethodSubcell.f90.

23  ! dummy
24  class(MethodSubcellType), intent(inout) :: this
25  type(ParticleType), pointer, intent(inout) :: particle
26  type(CellDefnType), pointer, intent(inout) :: cell_defn
27  real(DP), intent(in) :: tmax
28  ! noop

◆ get_level()

integer(i4b) function methodsubcellmodule::get_level ( class(methodsubcelltype), intent(in)  this)
private

Definition at line 47 of file MethodSubcell.f90.

48  class(MethodSubcellType), intent(in) :: this
49  integer(I4B) :: level
50  level = level_subfeature

◆ subcellexit()

subroutine methodsubcellmodule::subcellexit ( class(methodsubcelltype), intent(inout)  this,
type(particletype), intent(inout), pointer  particle 
)
private

Definition at line 32 of file MethodSubcell.f90.

33  class(MethodSubcellType), intent(inout) :: this
34  type(ParticleType), pointer, intent(inout) :: particle
35  class(ParticleEventType), pointer :: event
36 
37  allocate (subcellexiteventtype :: event)
38  select type (event)
39  type is (subcellexiteventtype)
40  event%isc = particle%itrdomain(level_subfeature)
41  event%exit_face = particle%iboundary(level_subfeature)
42  end select
43  call this%events%dispatch(particle, event)