MODFLOW 6  version 6.7.0.dev2
USGS Modular Hydrologic Model
MethodModel.f90
Go to the documentation of this file.
2  use kindmodule, only: dp, i4b
7 
8  private
9  public :: methodmodeltype
10 
11  type, abstract, extends(methodtype) :: methodmodeltype
12  contains
13  procedure, public :: assess
14  procedure, public :: get_level
15  end type methodmodeltype
16 
17 contains
18 
19  !> @brief Check particle reporting/termination status
20  subroutine assess(this, particle, cell_defn, tmax)
21  ! dummy
22  class(methodmodeltype), intent(inout) :: this
23  type(particletype), pointer, intent(inout) :: particle
24  type(celldefntype), pointer, intent(inout) :: cell_defn
25  real(DP), intent(in) :: tmax
26  ! noop
27  end subroutine assess
28 
29  !> @brief Get the model method's level.
30  function get_level(this) result(level)
31  class(methodmodeltype), intent(in) :: this
32  integer(I4B) :: level
33  level = level_model
34  end function get_level
35 
36 end module MethodModelModule
This module defines variable data types.
Definition: kind.f90:8
integer(i4b) function get_level(this)
Get the model method's level.
Definition: MethodModel.f90:31
Particle tracking strategies.
Definition: Method.f90:2
@, public level_model
Definition: Method.f90:36
Base grid cell definition.
Definition: CellDefn.f90:10
Base type for particle tracking methods.
Definition: Method.f90:54
Base type for particle events.
Particle tracked by the PRT model.
Definition: Particle.f90:56