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

Data Types

type  subcellexiteventtype
 

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

Definition at line 24 of file SubcellExitEvent.f90.

25  class(SubCellExitEventType), intent(in) :: this
26  integer(I4B) :: code
27  code = featexit

◆ get_text()

character(len=:) function, allocatable subcellexiteventmodule::get_text ( class(subcellexiteventtype), intent(in)  this)
private

Definition at line 36 of file SubcellExitEvent.f90.

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

◆ get_verb()

character(len=:) function, allocatable subcellexiteventmodule::get_verb ( class(subcellexiteventtype), intent(in)  this)
private

Definition at line 30 of file SubcellExitEvent.f90.

31  class(SubCellExitEventType), intent(in) :: this
32  character(len=:), allocatable :: verb
33  verb = 'exited subcell'