|
| procedure, public | initialize (this, ncrossptstot, ncrosspts, iacross, station, height, roughfraction) |
| | Initialize a cross-section object.
|
| procedure, public | source_table (this, irch, width, mempath, filename) |
| | Source a reach's cross-section table from its SFRTAB6 subpackage.
|
| procedure, public | read_table (this, irch, width, filename) |
| | Read a cross-section table file for a reach.
|
| procedure, public | get_ncrossptstot (this) |
| | Get the total number of cross-section points.
|
| procedure, public | output (this, widths, roughs, kstp, kper) |
| | Write cross-section tables.
|
| procedure, public | pack (this, ncrossptstot, ncrosspts, iacross, station, height, roughfraction) |
| | Pack the cross-section object.
|
| procedure, public | destroy (this) |
| | Deallocate the cross-section object.
|
|
| integer(i4b), pointer | iout => null() |
| integer(i4b), pointer | iprpak => null() |
| integer(i4b), pointer | nreaches => null() |
| integer(i4b), pointer | invalid => null() |
| character(len=linelength), dimension(:), allocatable | filenames |
| integer(i4b), dimension(:), pointer, contiguous | npoints => null() |
| type(sfrcrosssectiontype), dimension(:), pointer, contiguous | cross_sections => null() |
| type(tabletype), pointer | inputtab => null() |
|
| procedure, private | validate (this, irch) |
| | Validate cross-section tables.
|
Definition at line 23 of file SfrCrossSectionManager.f90.
◆ destroy()
| procedure, public sfrcrosssectionmanager::sfrcrosssection::destroy |
( |
class(sfrcrosssection) | this | ) |
|
Subroutine to deallocate the cross-section object.
- Parameters
-
| this | SfrCrossSection object |
Definition at line 44 of file SfrCrossSectionManager.f90.
◆ get_ncrossptstot()
| procedure, public sfrcrosssectionmanager::sfrcrosssection::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 41 of file SfrCrossSectionManager.f90.
◆ initialize()
| procedure, public sfrcrosssectionmanager::sfrcrosssection::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.
- Parameters
-
| 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 38 of file SfrCrossSectionManager.f90.
◆ output()
| procedure, public sfrcrosssectionmanager::sfrcrosssection::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.
- Parameters
-
| 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 42 of file SfrCrossSectionManager.f90.
◆ pack()
| procedure, public sfrcrosssectionmanager::sfrcrosssection::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.
- Parameters
-
| 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 43 of file SfrCrossSectionManager.f90.
◆ read_table()
| procedure, public sfrcrosssectionmanager::sfrcrosssection::read_table |
( |
class(sfrcrosssection) | this, |
|
|
integer(i4b), intent(in) | irch, |
|
|
real(dp), intent(in) | width, |
|
|
character(len=*), intent(in) | filename ) |
Used only for the PERIOD block's dynamic CROSS_SECTION reissue, whose file path is not known until runtime.
- Parameters
-
| this | SfrCrossSection object |
| [in] | irch | current reach |
| [in] | width | reach width |
| [in] | filename | table file with station height data |
Definition at line 40 of file SfrCrossSectionManager.f90.
◆ source_table()
| procedure, public sfrcrosssectionmanager::sfrcrosssection::source_table |
( |
class(sfrcrosssection) | this, |
|
|
integer(i4b), intent(in) | irch, |
|
|
real(dp), intent(in) | width, |
|
|
character(len=*), intent(in) | mempath, |
|
|
character(len=*), intent(in) | filename ) |
- Parameters
-
| this | SfrCrossSection object |
| [in] | irch | current reach |
| [in] | width | reach width |
| [in] | mempath | SFRTAB6 input mempath |
| [in] | filename | table file name, for reporting |
Definition at line 39 of file SfrCrossSectionManager.f90.
◆ validate()
| procedure, private sfrcrosssectionmanager::sfrcrosssection::validate |
( |
class(sfrcrosssection) | this, |
|
|
integer(i4b), intent(in) | irch ) |
|
private |
Subroutine to validate a cross-section table.
- Parameters
-
| this | SfrCrossSection object |
| [in] | irch | current reach |
Definition at line 47 of file SfrCrossSectionManager.f90.
◆ cross_sections
| type(sfrcrosssectiontype), dimension(:), pointer, contiguous sfrcrosssectionmanager::sfrcrosssection::cross_sections => null() |
◆ filenames
| character(len=linelength), dimension(:), allocatable sfrcrosssectionmanager::sfrcrosssection::filenames |
◆ inputtab
| type(tabletype), pointer sfrcrosssectionmanager::sfrcrosssection::inputtab => null() |
◆ invalid
| integer(i4b), pointer sfrcrosssectionmanager::sfrcrosssection::invalid => null() |
◆ iout
| integer(i4b), pointer sfrcrosssectionmanager::sfrcrosssection::iout => null() |
◆ iprpak
| integer(i4b), pointer sfrcrosssectionmanager::sfrcrosssection::iprpak => null() |
◆ npoints
| integer(i4b), dimension(:), pointer, contiguous sfrcrosssectionmanager::sfrcrosssection::npoints => null() |
◆ nreaches
| integer(i4b), pointer sfrcrosssectionmanager::sfrcrosssection::nreaches => null() |
The documentation for this type was generated from the following file: