MODFLOW 6
version 6.5.0.dev2
MODFLOW 6 Code Documentation
|
This module contains the OutputControlDataModule. More...
Data Types | |
type | outputcontroldatatype |
@ brief OutputControlDataType More... | |
Functions/Subroutines | |
subroutine, public | ocd_cr (ocdobj) |
@ brief Create OutputControlDataType More... | |
subroutine | ocd_rp_check (this, inunit) |
@ brief Check OutputControlDataType object More... | |
subroutine | ocd_ot (this, ipflg, kstp, endofperiod, iout, iprint_opt, isav_opt) |
@ brief Output data More... | |
subroutine | ocd_da (this) |
@ brief Deallocate OutputControlDataType More... | |
subroutine | init_dbl (this, cname, dblvec, dis, cdefpsm, cdeffmp, iout, dnodata) |
@ brief Initialize this OutputControlDataType as double precision data More... | |
subroutine | init_int (this, cname, intvec, dis, cdefpsm, cdeffmp, iout, inodata) |
@ brief Initialize this OutputControlDataType as integer data More... | |
subroutine | allocate_scalars (this) |
@ brief Allocate OutputControlDataType members More... | |
subroutine | set_option (this, linein, inunit, iout) |
@ brief Set options for this object based on an input string More... | |
This module defines the OutputControlDataType. This type can be assigned to different model variables, such as head or concentration. The variables are then printed and/or saved in a consistent manner.
|
private |
Allocate and initialize member variables
this | OutputControlDataType object |
Definition at line 261 of file OutputControlData.f90.
subroutine outputcontroldatamodule::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 | ||
) |
Initialize this object as a double precision data type
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 200 of file OutputControlData.f90.
|
private |
Initialize this object as an integer data type
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 230 of file OutputControlData.f90.
subroutine, public outputcontroldatamodule::ocd_cr | ( | type(outputcontroldatatype), pointer | ocdobj | ) |
Create by allocating a new OutputControlDataType object
ocdobj | OutputControlDataType object |
Definition at line 55 of file OutputControlData.f90.
|
private |
subroutine outputcontroldatamodule::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 | ||
) |
Depending on the settings, print the data to a listing file and/or save the data to a binary file.
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 112 of file OutputControlData.f90.
|
private |
Perform a consistency check
this | OutputControlDataType object | |
[in] | inunit | Unit number for input |
Definition at line 74 of file OutputControlData.f90.
subroutine outputcontroldatamodule::set_option | ( | class(outputcontroldatatype) | this, |
character(len=*), intent(in) | linein, | ||
integer(i4b), intent(in) | inunit, | ||
integer(i4b), intent(in) | iout | ||
) |
Set FILEOUT and PRINT_FORMAT options for this object.
this | OutputControlDataType object | |
[in] | linein | Character string with options |
[in] | inunit | Unit number for input |
[in] | iout | Unit number for output |
Definition at line 295 of file OutputControlData.f90.