MODFLOW 6  version 6.7.0.dev0
USGS Modular Hydrologic Model
messagemodule::messagestype Type Reference

Container for related messages. More...

Collaboration diagram for messagemodule::messagestype:
Collaboration graph

Public Member Functions

procedure init
 
procedure count
 
procedure set_max
 
procedure store
 
procedure write_all
 
procedure deallocate
 

Public Attributes

integer(i4b) num_messages = 0
 number of messages currently stored More...
 
integer(i4b) max_messages = 1000
 default max message storage capacity More...
 
integer(i4b) max_exceeded = 0
 number of messages in excess of maximum More...
 
integer(i4b) exp_messages = 100
 number of slots to expand message array More...
 
character(len=maxcharlen), dimension(:), allocatable messages
 message array More...
 

Detailed Description

A maximum capacity can be configured. Message storage is dynamically resized up to the configured capacity.

Definition at line 21 of file Message.f90.

Member Function/Subroutine Documentation

◆ count()

procedure messagemodule::messagestype::count

Definition at line 29 of file Message.f90.

◆ deallocate()

procedure messagemodule::messagestype::deallocate

Definition at line 33 of file Message.f90.

◆ init()

procedure messagemodule::messagestype::init

Definition at line 28 of file Message.f90.

◆ set_max()

procedure messagemodule::messagestype::set_max

Definition at line 30 of file Message.f90.

◆ store()

procedure messagemodule::messagestype::store

Definition at line 31 of file Message.f90.

◆ write_all()

procedure messagemodule::messagestype::write_all

Definition at line 32 of file Message.f90.

Member Data Documentation

◆ exp_messages

integer(i4b) messagemodule::messagestype::exp_messages = 100

Definition at line 25 of file Message.f90.

25  integer(I4B) :: exp_messages = 100 !< number of slots to expand message array

◆ max_exceeded

integer(i4b) messagemodule::messagestype::max_exceeded = 0

Definition at line 24 of file Message.f90.

24  integer(I4B) :: max_exceeded = 0 !< number of messages in excess of maximum

◆ max_messages

integer(i4b) messagemodule::messagestype::max_messages = 1000

Definition at line 23 of file Message.f90.

23  integer(I4B) :: max_messages = 1000 !< default max message storage capacity

◆ messages

character(len=maxcharlen), dimension(:), allocatable messagemodule::messagestype::messages

Definition at line 26 of file Message.f90.

26  character(len=MAXCHARLEN), allocatable, dimension(:) :: messages !< message array

◆ num_messages

integer(i4b) messagemodule::messagestype::num_messages = 0

Definition at line 22 of file Message.f90.

22  integer(I4B) :: num_messages = 0 !< number of messages currently stored

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