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

Data Types

type  distvartype

Functions/Subroutines

class(distvartype) function, pointer, public getdistvarfromlist (list, idx)
class(distvartype) function, pointer castasdistvar (obj)

Variables

integer(i4b), parameter, public sync_scl = 0
 synchronize as scalar
integer(i4b), parameter, public sync_nds = 1
 synchronize over nodes
integer(i4b), parameter, public sync_con = 2
 synchronize over connections
integer(i4b), parameter, public sync_exg = 3
 synchronize as exchange variable

Function/Subroutine Documentation

◆ castasdistvar()

class(distvartype) function, pointer distvariablemodule::castasdistvar ( class(*), intent(inout), pointer obj)
private

Definition at line 42 of file DistributedVariable.f90.

43 implicit none
44 class(*), pointer, intent(inout) :: obj
45 class(DistVarType), pointer :: res
46
47 res => null()
48 if (.not. associated(obj)) return
49
50 select type (obj)
51 class is (distvartype)
52 res => obj
53 end select
Here is the caller graph for this function:

◆ getdistvarfromlist()

class(distvartype) function, pointer, public distvariablemodule::getdistvarfromlist ( type(listtype), intent(inout) list,
integer(i4b), intent(in) idx )

Definition at line 30 of file DistributedVariable.f90.

31 implicit none
32 type(ListType), intent(inout) :: list
33 integer(I4B), intent(in) :: idx
34 class(DistVarType), pointer :: res
35 ! local
36 class(*), pointer :: obj
37
38 obj => list%GetItem(idx)
39 res => castasdistvar(obj)
Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ sync_con

integer(i4b), parameter, public distvariablemodule::sync_con = 2

Definition at line 15 of file DistributedVariable.f90.

◆ sync_exg

integer(i4b), parameter, public distvariablemodule::sync_exg = 3

Definition at line 16 of file DistributedVariable.f90.

◆ sync_nds

integer(i4b), parameter, public distvariablemodule::sync_nds = 1

Definition at line 14 of file DistributedVariable.f90.

◆ sync_scl

integer(i4b), parameter, public distvariablemodule::sync_scl = 0

Definition at line 13 of file DistributedVariable.f90.