MODFLOW 6 version 6.9.0.dev0
USGS Modular Hydrologic Model
Loading...
Searching...
No Matches
printsavemanagermodule::printsavemanagertype Type Reference

Print/save manager type. More...

Collaboration diagram for printsavemanagermodule::printsavemanagertype:
Collaboration graph

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

Detailed Description

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.

Member Function/Subroutine Documentation

◆ allocate()

procedure printsavemanagermodule::printsavemanagertype::allocate ( class(printsavemanagertype) this)

Definition at line 45 of file PrintSaveManager.f90.

◆ deallocate()

procedure printsavemanagermodule::printsavemanagertype::deallocate ( class(printsavemanagertype) this)
Parameters
thisthis instance

Definition at line 46 of file PrintSaveManager.f90.

◆ init()

procedure printsavemanagermodule::printsavemanagertype::init ( class(printsavemanagertype) this)

Definition at line 47 of file PrintSaveManager.f90.

◆ read()

procedure printsavemanagermodule::printsavemanagertype::read ( class(printsavemanagertype) this,
character(len=*), intent(in) linein,
integer(i4b), intent(in) iout )
Parameters
thisthis instance
[in]lineininput line
[in]ioutoutput file unit

Definition at line 48 of file PrintSaveManager.f90.

◆ set()

procedure printsavemanagermodule::printsavemanagertype::set ( class(printsavemanagertype) this,
character(len=*) ocaction,
character(len=*) ocsetting,
integer(i4b), intent(in) iout )
Parameters
thisthis instance
[in]ioutoutput file unit

Definition at line 49 of file PrintSaveManager.f90.

◆ should_print()

procedure printsavemanagermodule::printsavemanagertype::should_print ( class(printsavemanagertype) this,
integer(i4b), intent(in) kstp,
logical(lgp), intent(in) endofperiod )
Parameters
thisthis instance
[in]kstpcurrent time step
[in]endofperiodwhether last step of stress period

Definition at line 50 of file PrintSaveManager.f90.

◆ should_save()

procedure printsavemanagermodule::printsavemanagertype::should_save ( class(printsavemanagertype) this,
integer(i4b), intent(in) kstp,
logical(lgp), intent(in) endofperiod )
Parameters
thisthis instance
[in]kstpcurrent time step
[in]endofperiodwhether last step of stress period

Definition at line 51 of file PrintSaveManager.f90.

Member Data Documentation

◆ print_steps

type(timestepselecttype), pointer, public printsavemanagermodule::printsavemanagertype::print_steps

Definition at line 43 of file PrintSaveManager.f90.

43 type(TimeStepSelectType), pointer, public :: print_steps

◆ save_steps

type(timestepselecttype), pointer, public printsavemanagermodule::printsavemanagertype::save_steps

Definition at line 42 of file PrintSaveManager.f90.

42 type(TimeStepSelectType), pointer, public :: save_steps

The documentation for this type was generated from the following file: