MODFLOW 6  version 6.6.0.dev0
USGS Modular Hydrologic Model
Cell.f90
Go to the documentation of this file.
1 module cellmodule
2 
4  use kindmodule, only: i4b
5  implicit none
6  private
7  public :: celltype
8 
9  integer(I4B), public, parameter :: max_poly_cells = 10
10 
11  !> @brief Base type for grid cells of a concrete type. Contains
12  !! a cell-definition which is information shared by cell types.
13  type, abstract :: celltype
14  character(len=40), pointer :: type ! tracking domain type
15  type(celldefntype), pointer :: defn => null() ! cell defn
16  contains
17  procedure(destroy), deferred :: destroy !< destroy the cell
18  end type celltype
19 
20  abstract interface
21  subroutine destroy(this)
22  import celltype
23  class(celltype), intent(inout) :: this
24  end subroutine
25  end interface
26 
27 end module cellmodule
integer(i4b), parameter, public max_poly_cells
Definition: Cell.f90:9
This module defines variable data types.
Definition: kind.f90:8
Base grid cell definition.
Definition: CellDefn.f90:10
Base type for grid cells of a concrete type. Contains a cell-definition which is information shared b...
Definition: Cell.f90:13