MODFLOW 6  version 6.7.0.dev2
USGS Modular Hydrologic Model
cellexiteventmodule Module Reference

Data Types

type  cellexiteventtype
 

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 cellexiteventmodule::get_code ( class(cellexiteventtype), intent(in)  this)
private

Definition at line 23 of file CellExitEvent.f90.

24  class(CellExitEventType), intent(in) :: this
25  integer(I4B) :: code
26  code = featexit

◆ get_text()

character(len=:) function, allocatable cellexiteventmodule::get_text ( class(cellexiteventtype), intent(in)  this)
private

Definition at line 35 of file CellExitEvent.f90.

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

◆ get_verb()

character(len=:) function, allocatable cellexiteventmodule::get_verb ( class(cellexiteventtype), intent(in)  this)
private

Definition at line 29 of file CellExitEvent.f90.

30  class(CellExitEventType), intent(in) :: this
31  character(len=:), allocatable :: verb
32  verb = 'exited cell'