MODFLOW 6  version 6.6.0.dev0
USGS Modular Hydrologic Model
methodcellpasstobotmodule Module Reference

Data Types

type  methodcellpasstobottype
 

Functions/Subroutines

subroutine, public create_method_cell_ptb (method)
 Create a new pass-to-bottom tracking method. More...
 
subroutine deallocate (this)
 Deallocate the pass-to-bottom tracking method. More...
 
subroutine apply_ptb (this, particle, tmax)
 Pass particle vertically and instantaneously to the cell bottom. More...
 

Function/Subroutine Documentation

◆ apply_ptb()

subroutine methodcellpasstobotmodule::apply_ptb ( class(methodcellpasstobottype), intent(inout)  this,
type(particletype), intent(inout), pointer  particle,
real(dp), intent(in)  tmax 
)
private

Definition at line 43 of file MethodCellPassToBot.f90.

44  ! -- dummy
45  class(MethodCellPassToBotType), intent(inout) :: this
46  type(ParticleType), pointer, intent(inout) :: particle
47  real(DP), intent(in) :: tmax
48 
49  call this%update(particle, this%cell%defn)
50  if (.not. particle%advancing) return
51  particle%z = this%cell%defn%bot
52  particle%iboundary(2) = this%cell%defn%npolyverts + 2
53  call this%save(particle, reason=1)

◆ create_method_cell_ptb()

subroutine, public methodcellpasstobotmodule::create_method_cell_ptb ( type(methodcellpasstobottype), pointer  method)

Definition at line 28 of file MethodCellPassToBot.f90.

29  type(MethodCellPassToBotType), pointer :: method
30  allocate (method)
31  allocate (method%type)
32  method%type = "passtobottom"
33  method%delegates = .false.
Here is the caller graph for this function:

◆ deallocate()

subroutine methodcellpasstobotmodule::deallocate ( class(methodcellpasstobottype), intent(inout)  this)
private

Definition at line 37 of file MethodCellPassToBot.f90.

38  class(MethodCellPassToBotType), intent(inout) :: this
39  deallocate (this%type)