MODFLOW 6  version 6.5.0.dev2
MODFLOW 6 Code Documentation
methodcellpasstobotmodule Module Reference

Data Types

type  methodcellpasstobottype
 

Functions/Subroutines

subroutine, public create_method_cell_ptb (method)
 Create a new tracking method. More...
 
subroutine destroy (this)
 Destroy the 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 45 of file MethodCellPassToBot.f90.

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

◆ create_method_cell_ptb()

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

Definition at line 29 of file MethodCellPassToBot.f90.

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

◆ destroy()

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

Definition at line 39 of file MethodCellPassToBot.f90.

40  class(MethodCellPassToBotType), intent(inout) :: this
41  deallocate (this%type)