MODFLOW 6  version 6.5.0.dev2
MODFLOW 6 Code Documentation
Subcell.f90
Go to the documentation of this file.
2 
4  implicit none
5  private
6  public :: subcelltype
7 
8  !> @brief A subcell of a cell.
9  type, abstract :: subcelltype
10  private
11  character(len=40), pointer, public :: type !< character string that names the tracking domain type
12  integer, public :: isubcell !< index of subcell in the cell
13  integer, public :: icell !< index of cell in the source grid
14  contains
15  procedure(destroy), deferred :: destroy !< destructor
16  procedure(init), deferred :: init !< initializer
17  end type subcelltype
18 
19  abstract interface
20  subroutine destroy(this)
21  import subcelltype
22  class(subcelltype), intent(inout) :: this
23  end subroutine
24 
25  subroutine init(this)
26  import subcelltype
27  class(subcelltype), intent(inout) :: this
28  end subroutine init
29  end interface
30 
31 end module subcellmodule
Base grid cell definition.
Definition: CellDefn.f90:10
A subcell of a cell.
Definition: Subcell.f90:9