![]() |
MODFLOW 6 version 6.9.0.dev0
USGS Modular Hydrologic Model
|
Output control data type. More...

Public Member Functions | |
| procedure | allocate_scalars (this) |
| Allocate scalar variables. | |
| procedure | init_int (this, cname, intvec, dis, cdefpsm, cdeffmp, iout, inodata) |
| Initialize the output control data type for integer data. | |
| procedure | init_dbl (this, cname, dblvec, dis, cdefpsm, cdeffmp, iout, dnodata) |
| Initialize the output control data type for double precision data. | |
| procedure | set_ocfile (this, ocfile, iout) |
| procedure | set_prnfmt (this, prnfmt, inunit) |
| Set PRINT_FORMAT based on an input string. | |
| procedure | ocd_rp_check (this, input_fname) |
| Check the output control data type for consistency. | |
| procedure | ocd_ot (this, ipflg, kstp, endofperiod, iout, iprint_opt, isav_opt) |
| Write to list file and/or save to binary file, depending on settings. | |
| procedure | ocd_da (this) |
| Deallocate the output control data type. | |
Public Attributes | |
| class(disbasetype), pointer | dis => null() |
| discretization package | |
| type(printsavemanagertype), pointer | psm => null() |
| print/save manager | |
| character(len=16), pointer | cname => null() |
| name of variable, such as HEAD | |
| character(len=60), pointer | cdatafmp => null() |
| fortran format for printing | |
| character(len=1), pointer | editdesc => null() |
| fortran format type (I, G, F, S, E) | |
| integer(i4b), pointer | idataun => null() |
| fortran unit number for binary output | |
| integer(i4b), pointer | nvaluesp => null() |
| number of values per line for printing | |
| integer(i4b), pointer | nwidthp => null() |
| width of the number for printing | |
| integer(i4b), pointer | inodata => null() |
| integer no data value | |
| real(dp), pointer | dnodata => null() |
| no data value | |
| integer(i4b), dimension(:), pointer, contiguous | intdata => null() |
| integer data array | |
| real(dp), dimension(:), pointer, contiguous | dbldata => null() |
| double precision data array | |
Determines whether output data should be printed to a list file or saved to disk. This type can be assigned to different variables, such as head or concentration. This type controls the logging and saving of output data in a consistent manner.
Definition at line 19 of file OutputControlData.f90.
| procedure outputcontroldatamodule::outputcontroldatatype::allocate_scalars | ( | class(outputcontroldatatype) | this | ) |
| this | OutputControlDataType object |
Definition at line 33 of file OutputControlData.f90.
| procedure outputcontroldatamodule::outputcontroldatatype::init_dbl | ( | class(outputcontroldatatype) | this, |
| character(len=*), intent(in) | cname, | ||
| real(dp), dimension(:), intent(in), pointer, contiguous | dblvec, | ||
| class(disbasetype), intent(in), pointer | dis, | ||
| character(len=*), intent(in) | cdefpsm, | ||
| character(len=*), intent(in) | cdeffmp, | ||
| integer(i4b), intent(in) | iout, | ||
| real(dp), intent(in) | dnodata ) |
| this | OutputControlDataType object | |
| [in] | cname | Name of variable |
| [in] | dblvec | Data array that will be managed by this object |
| [in] | dis | Discretization package |
| [in] | cdefpsm | String for defining the print/save manager |
| [in] | cdeffmp | String for print format |
| [in] | iout | Unit number for output |
| [in] | dnodata | No data value |
Definition at line 35 of file OutputControlData.f90.
| procedure outputcontroldatamodule::outputcontroldatatype::init_int | ( | class(outputcontroldatatype) | this, |
| character(len=*), intent(in) | cname, | ||
| integer(i4b), dimension(:), intent(in), pointer, contiguous | intvec, | ||
| class(disbasetype), intent(in), pointer | dis, | ||
| character(len=*), intent(in) | cdefpsm, | ||
| character(len=*), intent(in) | cdeffmp, | ||
| integer(i4b), intent(in) | iout, | ||
| integer(i4b), intent(in) | inodata ) |
| this | OutputControlDataType object | |
| [in] | cname | Name of variable |
| [in] | intvec | Data array that will be managed by this object |
| [in] | dis | Discretization package |
| [in] | cdefpsm | String for defining the print/save manager |
| [in] | cdeffmp | String for print format |
| [in] | iout | Unit number for output |
| [in] | inodata | No data value |
Definition at line 34 of file OutputControlData.f90.
| procedure outputcontroldatamodule::outputcontroldatatype::ocd_da | ( | class(outputcontroldatatype) | this | ) |
Definition at line 40 of file OutputControlData.f90.
| procedure outputcontroldatamodule::outputcontroldatatype::ocd_ot | ( | class(outputcontroldatatype) | this, |
| integer(i4b), intent(inout) | ipflg, | ||
| integer(i4b), intent(in) | kstp, | ||
| logical(lgp), intent(in) | endofperiod, | ||
| integer(i4b), intent(in) | iout, | ||
| integer(i4b), intent(in), optional | iprint_opt, | ||
| integer(i4b), intent(in), optional | isav_opt ) |
| this | OutputControlDataType object | |
| [in,out] | ipflg | Flag indicating if something was printed |
| [in] | kstp | Current time step |
| [in] | endofperiod | End of period logical flag |
| [in] | iout | Unit number for output |
| [in] | iprint_opt | Optional print flag override |
| [in] | isav_opt | Optional save flag override |
Definition at line 39 of file OutputControlData.f90.
| procedure outputcontroldatamodule::outputcontroldatatype::ocd_rp_check | ( | class(outputcontroldatatype) | this, |
| character(len=*) | input_fname ) |
| this | this instance |
Definition at line 38 of file OutputControlData.f90.
| procedure outputcontroldatamodule::outputcontroldatatype::set_ocfile | ( | class(outputcontroldatatype) | this, |
| character(len=*), intent(in) | ocfile, | ||
| integer(i4b), intent(in) | iout ) |
| this | OutputControlDataType object | |
| [in] | ocfile | OC output filename |
| [in] | iout | Unit number for output |
Definition at line 36 of file OutputControlData.f90.
| procedure outputcontroldatamodule::outputcontroldatatype::set_prnfmt | ( | class(outputcontroldatatype) | this, |
| character(len=*), intent(in) | prnfmt, | ||
| integer(i4b), intent(in) | inunit ) |
| this | OutputControlDataType object | |
| [in] | inunit | Unit number for input |
Definition at line 37 of file OutputControlData.f90.
| character(len=60), pointer outputcontroldatamodule::outputcontroldatatype::cdatafmp => null() |
Definition at line 23 of file OutputControlData.f90.
| character(len=16), pointer outputcontroldatamodule::outputcontroldatatype::cname => null() |
Definition at line 22 of file OutputControlData.f90.
| real(dp), dimension(:), pointer, contiguous outputcontroldatamodule::outputcontroldatatype::dbldata => null() |
Definition at line 31 of file OutputControlData.f90.
| class(disbasetype), pointer outputcontroldatamodule::outputcontroldatatype::dis => null() |
Definition at line 20 of file OutputControlData.f90.
| real(dp), pointer outputcontroldatamodule::outputcontroldatatype::dnodata => null() |
Definition at line 29 of file OutputControlData.f90.
| character(len=1), pointer outputcontroldatamodule::outputcontroldatatype::editdesc => null() |
Definition at line 24 of file OutputControlData.f90.
| integer(i4b), pointer outputcontroldatamodule::outputcontroldatatype::idataun => null() |
Definition at line 25 of file OutputControlData.f90.
| integer(i4b), pointer outputcontroldatamodule::outputcontroldatatype::inodata => null() |
Definition at line 28 of file OutputControlData.f90.
| integer(i4b), dimension(:), pointer, contiguous outputcontroldatamodule::outputcontroldatatype::intdata => null() |
Definition at line 30 of file OutputControlData.f90.
| integer(i4b), pointer outputcontroldatamodule::outputcontroldatatype::nvaluesp => null() |
Definition at line 26 of file OutputControlData.f90.
| integer(i4b), pointer outputcontroldatamodule::outputcontroldatatype::nwidthp => null() |
Definition at line 27 of file OutputControlData.f90.
| type(printsavemanagertype), pointer outputcontroldatamodule::outputcontroldatatype::psm => null() |
Definition at line 21 of file OutputControlData.f90.