|
| procedure | init (this, niunit, cunit) |
| | Allocate the cunit and iunit entries of this object, and copy cunit into the object.
|
| procedure | addfile (this, ftyp, iunit, ipos, namefilename) |
| | Add an ftyp and unit number.
|
| procedure | getunitnumber (this, ftyp, iunit, iremove) |
| | Get the last unit number for type ftyp or return 0 for iunit.
|
Definition at line 28 of file Iunit.f90.
◆ addfile()
| procedure iunitmodule::iunittype::addfile |
( |
class(iunittype), intent(inout) | this, |
|
|
character(len=*), intent(in) | ftyp, |
|
|
integer(i4b), intent(in) | iunit, |
|
|
integer(i4b), intent(in) | ipos, |
|
|
character(len=*), intent(in) | namefilename ) |
Find the row for the ftyp and store another iunit value.
Definition at line 34 of file Iunit.f90.
◆ getunitnumber()
| procedure iunitmodule::iunittype::getunitnumber |
( |
class(iunittype), intent(inout) | this, |
|
|
character(len=*), intent(in) | ftyp, |
|
|
integer(i4b), intent(inout) | iunit, |
|
|
integer(i4b), intent(in) | iremove ) |
If iremove is 1, then remove this unit number. Similar to a list.pop().
Definition at line 35 of file Iunit.f90.
◆ init()
| procedure iunitmodule::iunittype::init |
( |
class(iunittype), intent(inout) | this, |
|
|
integer(i4b), intent(in) | niunit, |
|
|
character(len=*), dimension(niunit), intent(in) | cunit ) |
◆ cunit
| character(len=lenftype), dimension(:), allocatable iunitmodule::iunittype::cunit |
Definition at line 30 of file Iunit.f90.
30 character(len=LENFTYPE), allocatable, dimension(:) :: cunit
◆ iunit
| type(iunitrowtype), dimension(:), allocatable iunitmodule::iunittype::iunit |
Definition at line 31 of file Iunit.f90.
31 type(IunitRowType), allocatable, dimension(:) :: iunit
◆ niunit
| integer(i4b) iunitmodule::iunittype::niunit = 0 |
The documentation for this type was generated from the following file:
- /home/runner/work/modflow6/modflow6/src/Utilities/Iunit.f90