MODFLOW 6
version 6.6.0.dev0
USGS Modular Hydrologic Model
|
Data Types | |
type | swfcxstype |
Functions/Subroutines | |
subroutine, public | cxs_cr (pobj, name_model, input_mempath, inunit, iout, dis) |
create package More... | |
subroutine | allocate_scalars (this) |
@ brief Allocate scalars More... | |
subroutine | source_options (this) |
Copy options from IDM into package. More... | |
subroutine | log_options (this, found) |
Write user options to list file. More... | |
subroutine | source_dimensions (this) |
Copy options from IDM into package. More... | |
subroutine | log_dimensions (this, found) |
Write user options to list file. More... | |
subroutine | allocate_arrays (this) |
allocate memory for arrays More... | |
subroutine | source_packagedata (this) |
Copy options from IDM into package. More... | |
subroutine | calc_iacross (nxspoints, iacross) |
Calculate index pointer array iacross from nxspoints. More... | |
subroutine | log_packagedata (this, found) |
Write user packagedata to list file. More... | |
subroutine | source_crosssectiondata (this) |
Copy options from IDM into package. More... | |
subroutine | log_crosssectiondata (this, found) |
Write user packagedata to list file. More... | |
subroutine | write_cxs_table (this, idcxs, width, slope, rough, unitconv) |
subroutine | cxs_da (this) |
deallocate memory More... | |
subroutine | get_cross_section_info (this, idcxs, i0, i1, npts, icalcmeth) |
real(dp) function | get_area (this, idcxs, width, depth) |
real(dp) function | cxs_wetted_perimeter (this, idcxs, width, depth) |
real(dp) function | get_roughness (this, idcxs, width, depth, rough, slope) |
real(dp) function | cxs_conveyance (this, idcxs, width, depth, rough) |
Calculate and return conveyance. More... | |
real(dp) function | get_hydraulic_radius (this, idcxs, width, depth, area) |
subroutine swfcxsmodule::allocate_arrays | ( | class(swfcxstype) | this | ) |
Definition at line 252 of file swf-cxs.f90.
subroutine swfcxsmodule::allocate_scalars | ( | class(swfcxstype) | this | ) |
Allocate and initialize scalars for the package. The base model allocate scalars method is also called.
Definition at line 127 of file swf-cxs.f90.
subroutine swfcxsmodule::calc_iacross | ( | integer(i4b), dimension(:), intent(in) | nxspoints, |
integer(i4b), dimension(:), intent(inout) | iacross | ||
) |
real(dp) function swfcxsmodule::cxs_conveyance | ( | class(swfcxstype) | this, |
integer(i4b), intent(in) | idcxs, | ||
real(dp), intent(in) | width, | ||
real(dp), intent(in) | depth, | ||
real(dp), intent(in) | rough | ||
) |
Conveyance = area * hydraulic_radius ** (2/3) / mannings_roughness If idcxs = 0 (no cross section specified) then reach is
[in] | idcxs | cross section id |
[in] | width | width in reach |
[in] | depth | stage in reach |
[in] | rough | mannings value provided for the reach |
Definition at line 660 of file swf-cxs.f90.
subroutine, public swfcxsmodule::cxs_cr | ( | type(swfcxstype), pointer | pobj, |
character(len=*), intent(in) | name_model, | ||
character(len=*), intent(in) | input_mempath, | ||
integer(i4b), intent(in) | inunit, | ||
integer(i4b), intent(in) | iout, | ||
class(disbasetype), intent(inout), pointer | dis | ||
) |
[in,out] | dis | the pointer to the discretization |
Definition at line 61 of file swf-cxs.f90.
subroutine swfcxsmodule::cxs_da | ( | class(swfcxstype) | this | ) |
Definition at line 506 of file swf-cxs.f90.
real(dp) function swfcxsmodule::cxs_wetted_perimeter | ( | class(swfcxstype) | this, |
integer(i4b), intent(in) | idcxs, | ||
real(dp), intent(in) | width, | ||
real(dp), intent(in) | depth | ||
) |
[in] | idcxs | cross section id |
[in] | width | width in reach |
[in] | depth | stage in reach |
Definition at line 597 of file swf-cxs.f90.
|
private |
[in] | idcxs | cross section id |
[in] | width | width in reach |
[in] | depth | stage in reach |
Definition at line 572 of file swf-cxs.f90.
subroutine swfcxsmodule::get_cross_section_info | ( | class(swfcxstype) | this, |
integer(i4b), intent(in) | idcxs, | ||
integer(i4b), intent(inout) | i0, | ||
integer(i4b), intent(inout) | i1, | ||
integer(i4b), intent(inout) | npts, | ||
integer(i4b), intent(inout) | icalcmeth | ||
) |
[in] | idcxs | cross section id number |
[in,out] | i0 | starting cross section point number |
[in,out] | i1 | ending cross section point number |
[in,out] | npts | number of points in cross section |
[in,out] | icalcmeth | calculation method for mannings roughness |
Definition at line 536 of file swf-cxs.f90.
real(dp) function swfcxsmodule::get_hydraulic_radius | ( | class(swfcxstype) | this, |
integer(i4b), intent(in) | idcxs, | ||
real(dp), intent(in) | width, | ||
real(dp), intent(in) | depth, | ||
real(dp), intent(in), optional | area | ||
) |
[in] | idcxs | cross section id |
[in] | width | width in reach |
[in] | depth | stage in reach |
[in] | area | area of the reach |
Definition at line 693 of file swf-cxs.f90.
real(dp) function swfcxsmodule::get_roughness | ( | class(swfcxstype) | this, |
integer(i4b), intent(in) | idcxs, | ||
real(dp), intent(in) | width, | ||
real(dp), intent(in) | depth, | ||
real(dp), intent(in) | rough, | ||
real(dp), intent(in) | slope | ||
) |
[in] | idcxs | cross section id |
[in] | width | width in reach |
[in] | depth | stage in reach |
[in] | rough | mannings value provided for the reach |
[in] | slope | slope value provided for the reach |
Definition at line 622 of file swf-cxs.f90.
subroutine swfcxsmodule::log_crosssectiondata | ( | class(swfcxstype) | this, |
type(swfcxsparamfoundtype), intent(in) | found | ||
) |
Definition at line 418 of file swf-cxs.f90.
subroutine swfcxsmodule::log_dimensions | ( | class(swfcxstype) | this, |
type(swfcxsparamfoundtype), intent(in) | found | ||
) |
Definition at line 231 of file swf-cxs.f90.
subroutine swfcxsmodule::log_options | ( | class(swfcxstype) | this, |
type(swfcxsparamfoundtype), intent(in) | found | ||
) |
Definition at line 173 of file swf-cxs.f90.
|
private |
Definition at line 345 of file swf-cxs.f90.
subroutine swfcxsmodule::source_crosssectiondata | ( | class(swfcxstype) | this | ) |
subroutine swfcxsmodule::source_dimensions | ( | class(swfcxstype) | this | ) |
|
private |
|
private |
subroutine swfcxsmodule::write_cxs_table | ( | class(swfcxstype) | this, |
integer(i4b), intent(in) | idcxs, | ||
real(dp), intent(in) | width, | ||
real(dp), intent(in) | slope, | ||
real(dp), intent(in) | rough, | ||
real(dp), intent(in) | unitconv | ||
) |
Definition at line 441 of file swf-cxs.f90.