![]() |
MODFLOW 6 version 6.9.0.dev0
USGS Modular Hydrologic Model
|
Print/save manager type. More...

Public Member Functions | |
| procedure | allocate (this) |
| procedure | deallocate (this) |
| procedure | init (this) |
| procedure | read (this, linein, iout) |
| Read a line of input and prepare the manager. | |
| procedure | set (this, ocaction, ocsetting, iout) |
| set data from an input record. | |
| procedure | should_print (this, kstp, endofperiod) |
| Determine if printing is enabled for this time step. | |
| procedure | should_save (this, kstp, endofperiod) |
| Determine if saving is enabled for this time step. | |
Public Attributes | |
| type(timestepselecttype), pointer, public | save_steps |
| type(timestepselecttype), pointer, public | print_steps |
Stores user settings as configured in an input file's period block and determines whether data should be printed to a list (log) file or saved to disk.
The object should be initiated with the init() procedure.
The rp() procedure will read a character string and configure the manager, where the character string may be of the following form:
PRINT ALL PRINT STEPS 1 4 5 6 PRINT FIRST PRINT LAST PRINT FREQUENCY 4 SAVE ALL SAVE STEPS 1 4 5 6 SAVE FIRST SAVE LAST SAVE FREQUENCY 4
The should_print() and should_save() functions indicate whether to save or print during the current time step.
Definition at line 40 of file PrintSaveManager.f90.
| procedure printsavemanagermodule::printsavemanagertype::allocate | ( | class(printsavemanagertype) | this | ) |
Definition at line 45 of file PrintSaveManager.f90.
| procedure printsavemanagermodule::printsavemanagertype::deallocate | ( | class(printsavemanagertype) | this | ) |
| this | this instance |
Definition at line 46 of file PrintSaveManager.f90.
| procedure printsavemanagermodule::printsavemanagertype::init | ( | class(printsavemanagertype) | this | ) |
Definition at line 47 of file PrintSaveManager.f90.
| procedure printsavemanagermodule::printsavemanagertype::read | ( | class(printsavemanagertype) | this, |
| character(len=*), intent(in) | linein, | ||
| integer(i4b), intent(in) | iout ) |
| this | this instance | |
| [in] | linein | input line |
| [in] | iout | output file unit |
Definition at line 48 of file PrintSaveManager.f90.
| procedure printsavemanagermodule::printsavemanagertype::set | ( | class(printsavemanagertype) | this, |
| character(len=*) | ocaction, | ||
| character(len=*) | ocsetting, | ||
| integer(i4b), intent(in) | iout ) |
| this | this instance | |
| [in] | iout | output file unit |
Definition at line 49 of file PrintSaveManager.f90.
| procedure printsavemanagermodule::printsavemanagertype::should_print | ( | class(printsavemanagertype) | this, |
| integer(i4b), intent(in) | kstp, | ||
| logical(lgp), intent(in) | endofperiod ) |
| this | this instance | |
| [in] | kstp | current time step |
| [in] | endofperiod | whether last step of stress period |
Definition at line 50 of file PrintSaveManager.f90.
| procedure printsavemanagermodule::printsavemanagertype::should_save | ( | class(printsavemanagertype) | this, |
| integer(i4b), intent(in) | kstp, | ||
| logical(lgp), intent(in) | endofperiod ) |
| this | this instance | |
| [in] | kstp | current time step |
| [in] | endofperiod | whether last step of stress period |
Definition at line 51 of file PrintSaveManager.f90.
| type(timestepselecttype), pointer, public printsavemanagermodule::printsavemanagertype::print_steps |
Definition at line 43 of file PrintSaveManager.f90.
| type(timestepselecttype), pointer, public printsavemanagermodule::printsavemanagertype::save_steps |
Definition at line 42 of file PrintSaveManager.f90.