MODFLOW 6
version 6.5.0.dev2
MODFLOW 6 Code Documentation
|
This module contains the PrintSaveManagerModule. More...
Data Types | |
type | printsavemanagertype |
@ brief PrintSaveManagerType More... | |
Functions/Subroutines | |
subroutine | init (this) |
@ brief Initialize PrintSaveManager More... | |
subroutine | rp (this, linein, iout) |
@ brief Read and prepare for PrintSaveManager More... | |
logical function | kstp_to_print (this, kstp, endofperiod) |
@ brief Determine if it is time to print the data More... | |
logical function | kstp_to_save (this, kstp, endofperiod) |
@ brief Determine if it is time to save the data More... | |
This module defines the PrintSaveManagerType, which can be used to determine when something should be printed and/or saved. The object should be initiated with the following call: call psm_objinit()
The set method will configure the members based on the following keywords when set is called as follows: call psm_objset(nstp, line) where line may be in 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
Based on the keywords, the object can be called with psm_objtime_to_print(kstp, kper) psm_objtime_to_save(kstp, kper) to return a logical flag indicating whether or not it it is time to print or time to save
|
private |
Initializes variables of a PrintSaveManagerType
this | psm object to initialize |
Definition at line 74 of file PrintSaveManager.f90.
|
private |
Determine if data should be printed based on kstp and endofperiod
this | psm object | |
[in] | kstp | current time step |
[in] | endofperiod | flag indicating end of stress period |
Definition at line 221 of file PrintSaveManager.f90.
|
private |
Determine if data should be saved based on kstp and endofperiod
this | psm object | |
[in] | kstp | current time step |
[in] | endofperiod | flag indicating end of stress period |
Definition at line 255 of file PrintSaveManager.f90.
|
private |
Parse information in the line and assign settings for the PrintSaveManagerType.
this | psm object | |
[in] | linein | character line of information |
[in] | iout | unit number of output file |
Definition at line 104 of file PrintSaveManager.f90.