MODFLOW 6  version 6.7.0.dev0
USGS Modular Hydrologic Model
printsavemanagermodule::printsavemanagertype Type Reference

Print/save manager type. More...

Collaboration diagram for printsavemanagermodule::printsavemanagertype:
Collaboration graph

Public Attributes

type(timestepselecttype), pointer, public save_steps
 
type(timestepselecttype), pointer, public print_steps
 

Private Member Functions

procedure allocate
 
procedure deallocate
 
procedure init
 
procedure read
 
procedure should_print
 
procedure should_save
 

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
private

Definition at line 45 of file PrintSaveManager.f90.

◆ deallocate()

procedure printsavemanagermodule::printsavemanagertype::deallocate
private

Definition at line 46 of file PrintSaveManager.f90.

◆ init()

procedure printsavemanagermodule::printsavemanagertype::init
private

Definition at line 47 of file PrintSaveManager.f90.

◆ read()

procedure printsavemanagermodule::printsavemanagertype::read
private

Definition at line 48 of file PrintSaveManager.f90.

◆ should_print()

procedure printsavemanagermodule::printsavemanagertype::should_print
private

Definition at line 49 of file PrintSaveManager.f90.

◆ should_save()

procedure printsavemanagermodule::printsavemanagertype::should_save
private

Definition at line 50 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: