MODFLOW 6  version 6.5.0.dev2
MODFLOW 6 Code Documentation
Cell.f90
Go to the documentation of this file.
1 module cellmodule
2 
4  implicit none
5  private
6  public :: celltype
7 
8  !> @brief Base type for grid cells of a concrete type. Contains
9  !! a cell-definition which is information shared by cell types.
10  type, abstract :: celltype
11  character(len=40), pointer :: type ! tracking domain type
12  type(celldefntype), pointer :: defn => null() ! cell defn
13  contains
14  procedure(destroy), deferred :: destroy !< destroy the cell
15  end type celltype
16 
17  abstract interface
18  subroutine destroy(this)
19  import celltype
20  class(celltype), intent(inout) :: this
21  end subroutine
22  end interface
23 
24 end module cellmodule
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:10