MODFLOW 6
version 6.7.0.dev0
USGS Modular Hydrologic Model
|
Data Types | |
type | sfrcrosssectiontype |
type | sfrcrosssection |
Functions/Subroutines | |
subroutine, public | cross_section_cr (this, iout, iprpak, nreaches) |
Create a cross-section object. More... | |
subroutine | initialize (this, ncrossptstot, ncrosspts, iacross, station, height, roughfraction) |
Initialize a cross-section object. More... | |
subroutine | read_table (this, irch, width, filename) |
Read a cross-section table. More... | |
subroutine | validate (this, irch) |
Validate cross-section tables. More... | |
subroutine | output (this, widths, roughs, kstp, kper) |
Write cross-section tables. More... | |
integer(i4b) function | get_ncrossptstot (this) |
Get the total number of cross-section points. More... | |
subroutine | pack (this, ncrossptstot, ncrosspts, iacross, station, height, roughfraction) |
Pack the cross-section object. More... | |
subroutine | destroy (this) |
Deallocate the cross-section object. More... | |
subroutine, public sfrcrosssectionmanager::cross_section_cr | ( | type(sfrcrosssection), pointer | this, |
integer(i4b), intent(in), pointer | iout, | ||
integer(i4b), intent(in), pointer | iprpak, | ||
integer(i4b), intent(in), pointer | nreaches | ||
) |
Subroutine to calculate the maximum top width for a reach using the cross-section station data.
this | SfrCrossSection object | |
[in] | iout | model listing file |
[in] | iprpak | flag for printing table input data |
[in] | nreaches | number of reaches |
Definition at line 57 of file SfrCrossSectionManager.f90.
subroutine sfrcrosssectionmanager::destroy | ( | class(sfrcrosssection) | this | ) |
Subroutine to deallocate the cross-section object.
this | SfrCrossSection object |
Definition at line 681 of file SfrCrossSectionManager.f90.
integer(i4b) function sfrcrosssectionmanager::get_ncrossptstot | ( | class(sfrcrosssection) | this | ) |
Function to get the total number of cross-section points to get the new size of the station xsheight data for all reaches.
Definition at line 625 of file SfrCrossSectionManager.f90.
subroutine sfrcrosssectionmanager::initialize | ( | class(sfrcrosssection) | this, |
integer(i4b), intent(in) | ncrossptstot, | ||
integer(i4b), dimension(this%nreaches), intent(in) | ncrosspts, | ||
integer(i4b), dimension(this%nreaches + 1), intent(in) | iacross, | ||
real(dp), dimension(ncrossptstot), intent(in) | station, | ||
real(dp), dimension(ncrossptstot), intent(in) | height, | ||
real(dp), dimension(ncrossptstot), intent(in) | roughfraction | ||
) |
Subroutine to initialize the cross-section object with the current data.
this | SfrCrossSection object | |
[in] | ncrossptstot | total number of cross-section points |
[in] | ncrosspts | pointers to cross-section data in data vector |
[in] | iacross | pointers to cross-section data in data vector |
[in] | station | cross-section station data |
[in] | height | cross-section height data |
[in] | roughfraction | cross-section roughness fraction data |
Definition at line 86 of file SfrCrossSectionManager.f90.
subroutine sfrcrosssectionmanager::output | ( | class(sfrcrosssection) | this, |
real(dp), dimension(this%nreaches), intent(in) | widths, | ||
real(dp), dimension(this%nreaches), intent(in) | roughs, | ||
integer(i4b), intent(in), optional | kstp, | ||
integer(i4b), intent(in), optional | kper | ||
) |
Subroutine to write the cross-section tables to the model listing file.
this | SfrCrossSection object | |
[in] | widths | reach widths |
[in] | roughs | reach Manning's roughness coefficients |
[in] | kstp | time step |
[in] | kper | stress period |
Definition at line 463 of file SfrCrossSectionManager.f90.
subroutine sfrcrosssectionmanager::pack | ( | class(sfrcrosssection) | this, |
integer(i4b), intent(in) | ncrossptstot, | ||
integer(i4b), dimension(this%nreaches), intent(inout) | ncrosspts, | ||
integer(i4b), dimension(this%nreaches + 1), intent(inout) | iacross, | ||
real(dp), dimension(ncrossptstot), intent(inout) | station, | ||
real(dp), dimension(ncrossptstot), intent(inout) | height, | ||
real(dp), dimension(ncrossptstot), intent(inout) | roughfraction | ||
) |
Subroutine to pack the cross-section object into vectors.
this | SfrCrossSection object | |
[in] | ncrossptstot | total number of cross-section points |
[in,out] | ncrosspts | pointers to cross-section data in data vector |
[in,out] | iacross | pointers to cross-section data in data vector |
[in,out] | station | cross-section station data |
[in,out] | height | cross-section height data |
[in,out] | roughfraction | cross-section roughness fraction data |
Definition at line 644 of file SfrCrossSectionManager.f90.
subroutine sfrcrosssectionmanager::read_table | ( | class(sfrcrosssection) | this, |
integer(i4b), intent(in) | irch, | ||
real(dp), intent(in) | width, | ||
character(len=*), intent(in) | filename | ||
) |
Subroutine to read a cross-section table file for a reach.
this | SfrCrossSection object | |
[in] | irch | current reach |
[in] | width | reach width |
[in] | filename | table file with station height data |
Definition at line 146 of file SfrCrossSectionManager.f90.
subroutine sfrcrosssectionmanager::validate | ( | class(sfrcrosssection) | this, |
integer(i4b), intent(in) | irch | ||
) |
Subroutine to validate a cross-section table.
this | SfrCrossSection object | |
[in] | irch | current reach |
Definition at line 323 of file SfrCrossSectionManager.f90.