MODFLOW 6 version 6.9.0.dev0
USGS Modular Hydrologic Model
Loading...
Searching...
No Matches
terminationeventmodule Module Reference

Data Types

type  terminationeventtype

Functions/Subroutines

integer(i4b) function get_code (this)
character(len=:) function, allocatable get_verb (this)
character(len=:) function, allocatable get_text (this)

Function/Subroutine Documentation

◆ get_code()

integer(i4b) function terminationeventmodule::get_code ( class(terminationeventtype), intent(in) this)

Definition at line 21 of file TerminationEvent.f90.

22 class(TerminationEventType), intent(in) :: this
23 integer(I4B) :: code
24 code = terminate

◆ get_text()

character(len=:) function, allocatable terminationeventmodule::get_text ( class(terminationeventtype), intent(in) this)
private

Definition at line 33 of file TerminationEvent.f90.

34 class(TerminationEventType), intent(in) :: this
35 character(len=:), allocatable :: text
36 character(len=LENHUGELINE) :: temp
37
38 write (temp, '(*(G0))') &
39 'Particle from model ', this%imdl, &
40 ', package ', this%iprp, &
41 ', point ', this%irpt, &
42 ', time ', this%trelease, &
43 ' '//this%get_verb()// &
44 ' in layer ', this%ilay, &
45 ', cell ', this%icu, &
46 ', zone ', this%izone, &
47 ' at x ', this%x, &
48 ', y ', this%y, &
49 ', z ', this%z, &
50 ', time ', this%ttrack, &
51 ', period ', this%kper, &
52 ', timestep ', this%kstp, &
53 ' with status ', this%istatus
54 text = trim(adjustl(temp))

◆ get_verb()

character(len=:) function, allocatable terminationeventmodule::get_verb ( class(terminationeventtype), intent(in) this)
private

Definition at line 27 of file TerminationEvent.f90.

28 class(TerminationEventType), intent(in) :: this
29 character(len=:), allocatable :: verb
30 verb = 'terminated'