MODFLOW 6  version 6.7.0.dev3
USGS Modular Hydrologic Model
Subcell.f90
Go to the documentation of this file.
2 
4  use domainmodule, only: domaintype
5  implicit none
6  private
7  public :: subcelltype
8 
9  !> @brief A subcell of a cell.
10  type, abstract, extends(domaintype) :: subcelltype
11  integer, public :: isubcell !< index of subcell in the cell
12  integer, public :: icell !< index of cell in the source grid
13  contains
14  procedure(init), deferred :: init !< initializer
15  end type subcelltype
16 
17  abstract interface
18  subroutine init(this)
19  import subcelltype
20  class(subcelltype), intent(inout) :: this
21  end subroutine init
22  end interface
23 
24 end module subcellmodule
Base grid cell definition.
Definition: CellDefn.f90:25
A tracking domain.
Definition: Domain.f90:8
A subcell of a cell.
Definition: Subcell.f90:10