MODFLOW 6 version 6.9.0.dev0
USGS Modular Hydrologic Model
Loading...
Searching...
No Matches
methodsubcellternarymodule::methodsubcellternarytype Type Referenceabstract

Ternary triangular subcell tracking method. More...

Inheritance diagram for methodsubcellternarymodule::methodsubcellternarytype:
Inheritance graph
Collaboration diagram for methodsubcellternarymodule::methodsubcellternarytype:
Collaboration graph

Public Member Functions

procedure, public apply (this, particle, tmax)
 Apply the ternary subcell tracking method.
procedure, public deallocate (this)
 Deallocate the ternary subcell tracking method.
procedure, public assess (this, particle, cell_defn, tmax)
 Assess conditions before tracking.
procedure, public assess (this, particle, cell_defn, tmax)
 Check reporting/terminating conditions before tracking the particle across the cell.
procedure(assess), deferred assess (this, particle, cell_defn, tmax)
 assess conditions before tracking
procedure, public subcellexit (this, particle, tmax)
 Particle exits a subcell.
procedure, public get_level (this)
 Get the subcell method's level.
procedure, public get_level (this)
 Get the cell method's level.
procedure get_level (this)
 get the tracking method level
procedure, public cellexit (this, particle, tmax)
 Particle exits a cell.
procedure, public cycles (this, particle, isc, iface, tmax)
 Check whether the particle is cycling: it repeats a recent exit fast enough to do so more than MAX_LAPS times before tmax. If not, record the exit.
procedure, public terminate_stalled (this, particle)
 Terminate a particle going round a loop of cells or subcells too fast to reach the end of the time step.
procedure, public try_pass (this, particle, nextlevel, advancing, tmax)
 Try passing the particle to the next subdomain. or to a boundary of this method's tracking domain.
procedure try_pass (this, particle, nextlevel, advancing, tmax)
 Try passing the particle to the next subdomain.
procedure iboundary_to_icellface (this, iboundary)
 Convert an iboundary number to an iface number.
procedure(apply), deferred apply (this, particle, tmax)
 apply the method to the particle
procedure(deallocate), deferred deallocate (this)
 deallocate the method object
procedure load (this, particle, next_level, submethod)
 load the subdomain tracking method
procedure init (this, fmi, cell, subcell, events, tracktimes, izone, flowja, porosity, retfactor)
 Initialize the method with pointers to model data.
procedure track (this, particle, level, tmax)
 Track the particle over subdomains of the given.
procedure release (this, particle)
 A particle is released.
procedure terminate (this, particle, status)
 A particle terminates.
procedure timestep (this, particle)
 A time step ends.
procedure weaksink (this, particle)
 A particle leaves a weak sink.
procedure usertime (this, particle)
 A user-defined tracking time occurs.
procedure dropped (this, particle)
 A particle drops to the water table.

Public Attributes

integer(i4b), pointer, public zeromethod
logical(lgp), public checks_exits = .true.
 check subcell exits for cycles
character(len=40), pointer, public name
 method name
logical(lgp), public delegates
 whether the method delegates
type(prtfmitype), pointer, public fmi => null()
 ptr to fmi
class(celltype), pointer, public cell => null()
 ptr to the current cell
class(subcelltype), pointer, public subcell => null()
 ptr to the current subcell
type(particleeventdispatchertype), pointer, public events => null()
 ptr to event dispatcher
type(timeselecttype), pointer, public tracktimes => null()
 ptr to user-defined tracking times
integer(i4b), dimension(:), pointer, public, contiguous izone => null()
 pointer to zone numbers
real(dp), dimension(:), pointer, public, contiguous flowja => null()
 pointer to intercell flows
real(dp), dimension(:), pointer, public, contiguous porosity => null()
 pointer to aquifer porosity
real(dp), dimension(:), pointer, public, contiguous retfactor => null()
 pointer to retardation factor

Private Member Functions

procedure, private track_subcell (this, subcell, particle, tmax)
 Track a particle across a triangular subcell.

Detailed Description

Definition at line 46 of file MethodSubcellTernary.f90.

Member Function/Subroutine Documentation

◆ apply() [1/2]

procedure(apply), deferred methodmodule::methodtype::apply ( class(methodtype), intent(inout) this,
type(particletype), intent(inout), pointer particle,
real(dp), intent(in) tmax )
pure virtualinherited

Definition at line 71 of file Method.f90.

◆ apply() [2/2]

procedure, public methodsubcellternarymodule::methodsubcellternarytype::apply ( class(methodsubcellternarytype), intent(inout) this,
type(particletype), intent(inout), pointer particle,
real(dp), intent(in) tmax )

Definition at line 49 of file MethodSubcellTernary.f90.

◆ assess() [1/3]

procedure, public methodcellmodule::methodcelltype::assess ( class(methodcelltype), intent(inout) this,
type(particletype), intent(inout), pointer particle,
type(celldefntype), intent(inout), pointer cell_defn,
real(dp), intent(in) tmax )
inherited

Check a number of conditions determining whether to continue tracking the particle or terminate it, as well as whether to record any output data as per selected reporting conditions.

Definition at line 23 of file MethodCell.f90.

◆ assess() [2/3]

procedure(assess), deferred methodmodule::methodtype::assess ( class(methodtype), intent(inout) this,
type(particletype), intent(inout), pointer particle,
type(celldefntype), intent(inout), pointer cell_defn,
real(dp), intent(in) tmax )
pure virtualinherited

Definition at line 72 of file Method.f90.

◆ assess() [3/3]

procedure, public methodsubcellmodule::methodsubcelltype::assess ( class(methodsubcelltype), intent(inout) this,
type(particletype), intent(inout), pointer particle,
type(celldefntype), intent(inout), pointer cell_defn,
real(dp), intent(in) tmax )
inherited

Definition at line 17 of file MethodSubcell.f90.

◆ cellexit()

procedure, public methodcellmodule::methodcelltype::cellexit ( class(methodcelltype), intent(inout) this,
type(particletype), intent(inout), pointer particle,
real(dp), intent(in) tmax )
inherited

Definition at line 24 of file MethodCell.f90.

◆ cycles()

procedure, public methodcellmodule::methodcelltype::cycles ( class(methodcelltype), intent(inout) this,
type(particletype), intent(inout), pointer particle,
integer(i4b), intent(in) isc,
integer(i4b), intent(in) iface,
real(dp), intent(in) tmax )
inherited
Parameters
[in]iscsubcell number, 0 for a cell exit
[in]ifaceexit face
[in]tmaxend of the time step

Definition at line 25 of file MethodCell.f90.

◆ deallocate() [1/2]

procedure(deallocate), deferred methodmodule::methodtype::deallocate ( class(methodtype), intent(inout) this)
pure virtualinherited

Definition at line 73 of file Method.f90.

◆ deallocate() [2/2]

procedure, public methodsubcellternarymodule::methodsubcellternarytype::deallocate ( class(methodsubcellternarytype), intent(inout) this)

Definition at line 50 of file MethodSubcellTernary.f90.

◆ dropped()

procedure methodmodule::methodtype::dropped ( class(methodtype), intent(inout) this,
type(particletype), intent(inout), pointer particle )
inherited

Definition at line 88 of file Method.f90.

◆ get_level() [1/3]

procedure, public methodcellmodule::methodcelltype::get_level ( class(methodcelltype), intent(in) this)
inherited

Definition at line 27 of file MethodCell.f90.

◆ get_level() [2/3]

procedure methodmodule::methodtype::get_level ( class(methodtype), intent(in) this)
inherited

pass the particle to the next subdomain

Definition at line 74 of file Method.f90.

◆ get_level() [3/3]

procedure, public methodsubcellmodule::methodsubcelltype::get_level ( class(methodsubcelltype), intent(in) this)
inherited

Definition at line 19 of file MethodSubcell.f90.

◆ iboundary_to_icellface()

procedure methodcellmodule::methodcelltype::iboundary_to_icellface ( class(methodcelltype), intent(inout) this,
integer(i4b), intent(in) iboundary )
inherited

Definition at line 29 of file MethodCell.f90.

◆ init()

procedure methodmodule::methodtype::init ( class(methodtype), intent(inout) this,
type(prtfmitype), intent(in), optional, pointer fmi,
class(celltype), intent(in), optional, pointer cell,
class(subcelltype), intent(in), optional, pointer subcell,
type(particleeventdispatchertype), intent(in), optional, pointer events,
type(timeselecttype), intent(in), optional, pointer tracktimes,
integer(i4b), dimension(:), intent(in), optional, pointer izone,
real(dp), dimension(:), intent(in), optional, pointer flowja,
real(dp), dimension(:), intent(in), optional, pointer porosity,
real(dp), dimension(:), intent(in), optional, pointer retfactor )
inherited

Definition at line 79 of file Method.f90.

◆ load()

procedure methodmodule::methodtype::load ( class(methodtype), intent(inout) this,
type(particletype), intent(inout), pointer particle,
integer, intent(in) next_level,
class(methodtype), intent(inout), pointer submethod )
inherited

Definition at line 77 of file Method.f90.

◆ release()

procedure methodmodule::methodtype::release ( class(methodtype), intent(inout) this,
type(particletype), intent(inout), pointer particle )
inherited

Definition at line 83 of file Method.f90.

◆ subcellexit()

procedure, public methodsubcellmodule::methodsubcelltype::subcellexit ( class(methodsubcelltype), intent(inout) this,
type(particletype), intent(inout), pointer particle,
real(dp), intent(in) tmax )
inherited

Definition at line 18 of file MethodSubcell.f90.

◆ terminate()

procedure methodmodule::methodtype::terminate ( class(methodtype), intent(inout) this,
type(particletype), intent(inout), pointer particle,
integer(i4b), intent(in), optional status )
inherited

Definition at line 84 of file Method.f90.

◆ terminate_stalled()

procedure, public methodcellmodule::methodcelltype::terminate_stalled ( class(methodcelltype), intent(inout) this,
type(particletype), intent(inout), pointer particle )
inherited

Definition at line 26 of file MethodCell.f90.

◆ timestep()

procedure methodmodule::methodtype::timestep ( class(methodtype), intent(inout) this,
type(particletype), intent(inout), pointer particle )
inherited

Definition at line 85 of file Method.f90.

◆ track()

procedure methodmodule::methodtype::track ( class(methodtype), intent(inout) this,
type(particletype), intent(inout), pointer particle,
integer(i4b) level,
real(dp), intent(in) tmax )
inherited

Definition at line 80 of file Method.f90.

◆ track_subcell()

procedure, private methodsubcellternarymodule::methodsubcellternarytype::track_subcell ( class(methodsubcellternarytype), intent(inout) this,
class(subcelltritype), intent(in) subcell,
type(particletype), intent(inout), pointer particle,
real(dp), intent(in) tmax )
private

Definition at line 51 of file MethodSubcellTernary.f90.

◆ try_pass() [1/2]

procedure, public methodcellmodule::methodcelltype::try_pass ( class(methodcelltype), intent(inout) this,
type(particletype), intent(inout), pointer particle,
integer(i4b) nextlevel,
logical(lgp) advancing,
real(dp), intent(in) tmax )
inherited

If the particle is not advancing, or if it's not at a boundary, nothing happens. Otherwise, raise a cell exit event. Then, if at a net outflow boundary face, or top face of a partially saturated cell, terminate.

Definition at line 28 of file MethodCell.f90.

◆ try_pass() [2/2]

procedure methodmodule::methodtype::try_pass ( class(methodtype), intent(inout) this,
type(particletype), intent(inout), pointer particle,
integer(i4b) nextlevel,
logical(lgp) advancing,
real(dp), intent(in) tmax )
inherited

Definition at line 81 of file Method.f90.

◆ usertime()

procedure methodmodule::methodtype::usertime ( class(methodtype), intent(inout) this,
type(particletype), intent(inout), pointer particle )
inherited

The caller sets particlettrack to the tracking time. It's remembered as particletusertime, so callers can skip any time not strictly after it. A tracking time can then be reported only once per particle, even when it coincides with a boundary between cells, subcells or time steps that adjacent selection loops both include.

Definition at line 87 of file Method.f90.

◆ weaksink()

procedure methodmodule::methodtype::weaksink ( class(methodtype), intent(inout) this,
type(particletype), intent(inout), pointer particle )
inherited

Definition at line 86 of file Method.f90.

Member Data Documentation

◆ cell

class(celltype), pointer, public methodmodule::methodtype::cell => null()
inherited

Definition at line 61 of file Method.f90.

◆ checks_exits

logical(lgp), public methodsubcellmodule::methodsubcelltype::checks_exits = .true.
inherited

Definition at line 15 of file MethodSubcell.f90.

◆ delegates

logical(lgp), public methodmodule::methodtype::delegates
inherited

Definition at line 59 of file Method.f90.

59 logical(LGP), public :: delegates !< whether the method delegates

◆ events

type(particleeventdispatchertype), pointer, public methodmodule::methodtype::events => null()
inherited

Definition at line 63 of file Method.f90.

◆ flowja

real(dp), dimension(:), pointer, public, contiguous methodmodule::methodtype::flowja => null()
inherited

Definition at line 66 of file Method.f90.

◆ fmi

type(prtfmitype), pointer, public methodmodule::methodtype::fmi => null()
inherited

Definition at line 60 of file Method.f90.

◆ izone

integer(i4b), dimension(:), pointer, public, contiguous methodmodule::methodtype::izone => null()
inherited

Definition at line 65 of file Method.f90.

◆ name

character(len=40), pointer, public methodmodule::methodtype::name
inherited

Definition at line 58 of file Method.f90.

58 character(len=40), pointer, public :: name !< method name

◆ porosity

real(dp), dimension(:), pointer, public, contiguous methodmodule::methodtype::porosity => null()
inherited

Definition at line 67 of file Method.f90.

◆ retfactor

real(dp), dimension(:), pointer, public, contiguous methodmodule::methodtype::retfactor => null()
inherited

Definition at line 68 of file Method.f90.

◆ subcell

class(subcelltype), pointer, public methodmodule::methodtype::subcell => null()
inherited

Definition at line 62 of file Method.f90.

◆ tracktimes

type(timeselecttype), pointer, public methodmodule::methodtype::tracktimes => null()
inherited

Definition at line 64 of file Method.f90.

◆ zeromethod

integer(i4b), pointer, public methodsubcellternarymodule::methodsubcellternarytype::zeromethod

Definition at line 47 of file MethodSubcellTernary.f90.

47 integer(I4B), public, pointer :: zeromethod

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