MODFLOW 6  version 6.7.0.dev2
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  !> @brief Base type for grid cells of a concrete type. Contains
10  !! a cell-definition which is information shared by cell types.
11  type, abstract :: celltype
12  character(len=40), pointer :: type ! tracking domain type
13  type(celldefntype), pointer :: defn => null() ! cell defn
14  contains
15  procedure(destroy), deferred :: destroy !< destroy the cell
16  end type celltype
17 
18  abstract interface
19  subroutine destroy(this)
20  import celltype
21  class(celltype), intent(inout) :: this
22  end subroutine
23  end interface
24 
25 end module cellmodule
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:11