![]() |
MODFLOW 6 version 6.9.0.dev0
USGS Modular Hydrologic Model
|
– Module to manage unit numbers. Allows for multiple unit numbers – assigned to a single package type, as shown below. – row(i) cunit(i) iunit(i)nval iunit(i)iunit iunit(i)ipos – 1 BCF6 1 (1000) (1) – 2 WEL 3 (1001,1003,1005) (2,5,7) – 3 GHB 1 (1002) (4) – 4 EVT 2 (1004,1006) (6,10) – 5 RIV 0 () () – ...
Data Types | |
| type | iunitrowtype |
| type | iunittype |
Functions/Subroutines | |
| subroutine | init (this, niunit, cunit) |
| Allocate the cunit and iunit entries of this object, and copy cunit into the object. | |
| subroutine | addfile (this, ftyp, iunit, ipos, namefilename) |
| Add an ftyp and unit number. | |
| subroutine | getunitnumber (this, ftyp, iunit, iremove) |
| Get the last unit number for type ftyp or return 0 for iunit. | |
|
private |
Find the row for the ftyp and store another iunit value.
Definition at line 63 of file Iunit.f90.

|
private |
If iremove is 1, then remove this unit number. Similar to a list.pop().
Definition at line 121 of file Iunit.f90.
| subroutine iunitmodule::init | ( | class(iunittype), intent(inout) | this, |
| integer(i4b), intent(in) | niunit, | ||
| character(len=*), dimension(niunit), intent(in) | cunit ) |
Definition at line 43 of file Iunit.f90.