MODFLOW 6  version 6.5.0.dev2
MODFLOW 6 Code Documentation
numericalexchangemodule Module Reference

Data Types

type  numericalexchangetype
 

Functions/Subroutines

subroutine exg_df (this)
 Define the exchange. More...
 
subroutine exg_ac (this, sparse)
 If an implicit exchange then add connections to sparse. More...
 
subroutine exg_mc (this, matrix_sln)
 Map the connections in the global matrix. More...
 
subroutine exg_ar (this)
 Allocate and read. More...
 
subroutine exg_ad (this)
 Advance. More...
 
subroutine exg_cf (this, kiter)
 Calculate conductance, and for explicit exchanges, set the conductance in the boundary package. More...
 
subroutine exg_fc (this, kiter, matrix_sln, rhs_sln, inwtflag)
 Fill the matrix. More...
 
subroutine exg_cc (this, icnvg)
 Additional convergence check. More...
 
subroutine exg_cq (this, icnvg, isuppress_output, isolnid)
 Calculate flow. More...
 
subroutine exg_bd (this, icnvg, isuppress_output, isolnid)
 Exchange budget. More...
 
subroutine exg_ot (this)
 Output. More...
 
subroutine exg_da (this)
 Deallocate memory. More...
 
integer(i4b) function get_iasym (this)
 
class(numericalexchangetype) function, pointer castasnumericalexchangeclass (obj)
 
subroutine, public addnumericalexchangetolist (list, exchange)
 Add numerical exchange to a list. More...
 
class(numericalexchangetype) function, pointer, public getnumericalexchangefromlist (list, idx)
 Retrieve a specific numerical exchange from a list. More...
 

Function/Subroutine Documentation

◆ addnumericalexchangetolist()

subroutine, public numericalexchangemodule::addnumericalexchangetolist ( type(listtype), intent(inout)  list,
class(numericalexchangetype), intent(in), pointer  exchange 
)

Definition at line 219 of file NumericalExchange.f90.

220  implicit none
221  ! -- dummy
222  type(ListType), intent(inout) :: list
223  class(NumericalExchangeType), pointer, intent(in) :: exchange
224  ! -- local
225  class(*), pointer :: obj
226  !
227  obj => exchange
228  call list%Add(obj)
229  !
230  ! -- Return
231  return
Here is the caller graph for this function:

◆ castasnumericalexchangeclass()

class(numericalexchangetype) function, pointer numericalexchangemodule::castasnumericalexchangeclass ( class(*), intent(inout), pointer  obj)
private

Definition at line 198 of file NumericalExchange.f90.

199  implicit none
200  ! -- dummy
201  class(*), pointer, intent(inout) :: obj
202  ! -- return
203  class(NumericalExchangeType), pointer :: res
204  !
205  res => null()
206  if (.not. associated(obj)) return
207  !
208  select type (obj)
209  class is (numericalexchangetype)
210  res => obj
211  end select
212  !
213  ! -- Return
214  return
Here is the caller graph for this function:

◆ exg_ac()

subroutine numericalexchangemodule::exg_ac ( class(numericalexchangetype this,
type(sparsematrix), intent(inout)  sparse 
)

Definition at line 54 of file NumericalExchange.f90.

55  ! -- modules
56  use sparsemodule, only: sparsematrix
57  ! -- dummy
58  class(NumericalExchangeType) :: this
59  type(sparsematrix), intent(inout) :: sparse
60  !
61  ! -- Return
62  return

◆ exg_ad()

subroutine numericalexchangemodule::exg_ad ( class(numericalexchangetype this)
private

Definition at line 89 of file NumericalExchange.f90.

90  ! -- dummy
91  class(NumericalExchangeType) :: this
92  !
93  ! -- Return
94  return

◆ exg_ar()

subroutine numericalexchangemodule::exg_ar ( class(numericalexchangetype this)

Definition at line 79 of file NumericalExchange.f90.

80  !
81  class(NumericalExchangeType) :: this
82  !
83  ! -- Return
84  return

◆ exg_bd()

subroutine numericalexchangemodule::exg_bd ( class(numericalexchangetype this,
integer(i4b), intent(inout)  icnvg,
integer(i4b), intent(in)  isuppress_output,
integer(i4b), intent(in)  isolnid 
)

Definition at line 151 of file NumericalExchange.f90.

152  ! -- modules
153  use constantsmodule, only: lenbudtxt
154  ! -- dummy
155  class(NumericalExchangeType) :: this
156  integer(I4B), intent(inout) :: icnvg
157  integer(I4B), intent(in) :: isuppress_output
158  integer(I4B), intent(in) :: isolnid
159  !
160  ! -- Return
161  return
This module contains simulation constants.
Definition: Constants.f90:9
integer(i4b), parameter lenbudtxt
maximum length of a budget component names
Definition: Constants.f90:36

◆ exg_cc()

subroutine numericalexchangemodule::exg_cc ( class(numericalexchangetype this,
integer(i4b), intent(inout)  icnvg 
)
private

Definition at line 125 of file NumericalExchange.f90.

126  ! -- dummy
127  class(NumericalExchangeType) :: this
128  integer(I4B), intent(inout) :: icnvg
129  !
130  ! -- Return
131  return

◆ exg_cf()

subroutine numericalexchangemodule::exg_cf ( class(numericalexchangetype this,
integer(i4b), intent(in)  kiter 
)
private

Definition at line 100 of file NumericalExchange.f90.

101  ! -- dummy
102  class(NumericalExchangeType) :: this
103  integer(I4B), intent(in) :: kiter
104  !
105  ! -- Return
106  return

◆ exg_cq()

subroutine numericalexchangemodule::exg_cq ( class(numericalexchangetype this,
integer(i4b), intent(inout)  icnvg,
integer(i4b), intent(in)  isuppress_output,
integer(i4b), intent(in)  isolnid 
)
private

Definition at line 136 of file NumericalExchange.f90.

137  ! -- modules
138  use constantsmodule, only: lenbudtxt
139  ! -- dummy
140  class(NumericalExchangeType) :: this
141  integer(I4B), intent(inout) :: icnvg
142  integer(I4B), intent(in) :: isuppress_output
143  integer(I4B), intent(in) :: isolnid
144  !
145  ! -- Return
146  return

◆ exg_da()

subroutine numericalexchangemodule::exg_da ( class(numericalexchangetype this)
private

Definition at line 176 of file NumericalExchange.f90.

177  ! -- modules
179  ! -- dummy
180  class(NumericalExchangeType) :: this
181  !
182  ! -- Return
183  return

◆ exg_df()

subroutine numericalexchangemodule::exg_df ( class(numericalexchangetype this)
private

Definition at line 41 of file NumericalExchange.f90.

42  ! -- modules
45  ! -- dummy
46  class(NumericalExchangeType) :: this
47  !
48  ! -- Return
49  return
integer(i4b) function, public getunit()
Get a free unit number.
subroutine, public openfile(iu, iout, fname, ftype, fmtarg_opt, accarg_opt, filstat_opt, mode_opt)
Open a file.
Definition: InputOutput.f90:30
Highest level model type. All models extend this parent type.
Definition: BaseModel.f90:13
Here is the call graph for this function:

◆ exg_fc()

subroutine numericalexchangemodule::exg_fc ( class(numericalexchangetype this,
integer(i4b), intent(in)  kiter,
class(matrixbasetype), pointer  matrix_sln,
real(dp), dimension(:), intent(inout)  rhs_sln,
integer(i4b), intent(in), optional  inwtflag 
)
private

Definition at line 111 of file NumericalExchange.f90.

112  ! -- dummy
113  class(NumericalExchangeType) :: this
114  integer(I4B), intent(in) :: kiter
115  class(MatrixBaseType), pointer :: matrix_sln
116  real(DP), dimension(:), intent(inout) :: rhs_sln
117  integer(I4B), optional, intent(in) :: inwtflag
118  !
119  ! -- Return
120  return

◆ exg_mc()

subroutine numericalexchangemodule::exg_mc ( class(numericalexchangetype this,
class(matrixbasetype), pointer  matrix_sln 
)

Definition at line 67 of file NumericalExchange.f90.

68  ! -- module
69  use sparsemodule, only: sparsematrix
70  ! -- dummy
71  class(NumericalExchangeType) :: this
72  class(MatrixBaseType), pointer :: matrix_sln
73  !
74  ! -- Return

◆ exg_ot()

subroutine numericalexchangemodule::exg_ot ( class(numericalexchangetype this)

Definition at line 166 of file NumericalExchange.f90.

167  ! -- dummy
168  class(NumericalExchangeType) :: this
169  !
170  ! -- Return
171  return

◆ get_iasym()

integer(i4b) function numericalexchangemodule::get_iasym ( class(numericalexchangetype this)

Definition at line 186 of file NumericalExchange.f90.

187  ! -- dummy
188  class(NumericalExchangeType) :: this
189  ! -- return
190  integer(I4B) :: iasym
191  !
192  iasym = 0
193  !
194  ! -- Return
195  return

◆ getnumericalexchangefromlist()

class(numericalexchangetype) function, pointer, public numericalexchangemodule::getnumericalexchangefromlist ( type(listtype), intent(inout)  list,
integer(i4b), intent(in)  idx 
)

Definition at line 236 of file NumericalExchange.f90.

237  implicit none
238  ! -- dummy
239  type(ListType), intent(inout) :: list
240  integer(I4B), intent(in) :: idx
241  class(NumericalExchangeType), pointer :: res
242  ! -- local
243  class(*), pointer :: obj
244  !
245  obj => list%GetItem(idx)
246  res => castasnumericalexchangeclass(obj)
247  !
248  ! -- Return
249  return
Here is the call graph for this function:
Here is the caller graph for this function: