MODFLOW 6  version 6.5.0.dev2
MODFLOW 6 Code Documentation
mf6lists.f90
Go to the documentation of this file.
1 module listsmodule
2  ! -- Contains lists of base types BaseModelType,
3  ! BaseSolutionType, SolutionGroupType, and
4  ! BaseExchangeType for use by any MF6 module.
5 
6  use kindmodule, only: dp, i4b
7  use listmodule, only: listtype
8 
9  implicit none
10  private
13  public :: lists_da
14 
15  ! -- list of all models in simulation
17 
18  ! -- list of all solutions in simulation
20 
21  ! -- list of all solutiongroups in simulation
23 
24  ! -- list of all exchanges in simulation
26 
27  ! -- list of all connections in simulation
29 
30 contains
31 
32  subroutine lists_da()
33 ! ******************************************************************************
34 ! Deallocate the lists
35 ! ******************************************************************************
36 !
37 ! SPECIFICATIONS:
38 ! ------------------------------------------------------------------------------
39 ! ------------------------------------------------------------------------------
40  !
41  call basemodellist%Clear()
42  call basesolutionlist%Clear()
43  call solutiongrouplist%Clear()
44  call baseexchangelist%Clear()
45  call baseconnectionlist%Clear()
46 
47  return
48  end subroutine lists_da
49 
50 end module listsmodule
This module defines variable data types.
Definition: kind.f90:8
type(listtype), public basemodellist
Definition: mf6lists.f90:16
type(listtype), public baseexchangelist
Definition: mf6lists.f90:25
type(listtype), public solutiongrouplist
Definition: mf6lists.f90:22
type(listtype), public baseconnectionlist
Definition: mf6lists.f90:28
type(listtype), public basesolutionlist
Definition: mf6lists.f90:19
subroutine, public lists_da()
Definition: mf6lists.f90:33
A generic heterogeneous doubly-linked list.
Definition: List.f90:10