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

Data Types

type  timearrayserieslinktype
 

Functions/Subroutines

subroutine tasl_da (this)
 Deallocate. More...
 
subroutine, public constructtimearrayserieslink (newTasLink, timeArraySeries, pkgName, bndArray, iprpak, text)
 Construct a time series of arrays that are linked. More...
 
type(timearrayserieslinktype) function, pointer, private castastimearrayserieslinktype (obj)
 Cast an unlimited polymorphic object as TimeArraySeriesLinkType. More...
 
subroutine, public addtimearrayserieslinktolist (list, tasLink)
 Add time-array series to list. More...
 
type(timearrayserieslinktype) function, pointer, public gettimearrayserieslinkfromlist (list, idx)
 Get time-array series from a list and return. More...
 

Function/Subroutine Documentation

◆ addtimearrayserieslinktolist()

subroutine, public timearrayserieslinkmodule::addtimearrayserieslinktolist ( type(listtype), intent(inout)  list,
type(timearrayserieslinktype), intent(inout), pointer  tasLink 
)

Definition at line 103 of file TimeArraySeriesLink.f90.

104  ! -- dummy
105  type(ListType), intent(inout) :: list
106  ! -- return
107  type(TimeArraySeriesLinkType), pointer, intent(inout) :: tasLink
108  ! -- local
109  class(*), pointer :: obj
110  !
111  obj => taslink
112  call list%Add(obj)
113  !
114  ! -- Return
115  return
Here is the caller graph for this function:

◆ castastimearrayserieslinktype()

type(timearrayserieslinktype) function, pointer, private timearrayserieslinkmodule::castastimearrayserieslinktype ( class(*), intent(inout), pointer  obj)
private

Definition at line 83 of file TimeArraySeriesLink.f90.

84  ! -- dummy
85  class(*), pointer, intent(inout) :: obj
86  ! -- return
87  type(TimeArraySeriesLinkType), pointer :: res
88  !
89  res => null()
90  if (.not. associated(obj)) return
91  !
92  select type (obj)
93  type is (timearrayserieslinktype)
94  res => obj
95  end select
96  !
97  ! -- Return
98  return
Here is the caller graph for this function:

◆ constructtimearrayserieslink()

subroutine, public timearrayserieslinkmodule::constructtimearrayserieslink ( type(timearrayserieslinktype), intent(out), pointer  newTasLink,
type(timearrayseriestype), intent(in), pointer  timeArraySeries,
character(len=*), intent(in)  pkgName,
real(dp), dimension(:), intent(in), pointer  bndArray,
integer(i4b), intent(in)  iprpak,
character(len=*), intent(in)  text 
)

Definition at line 55 of file TimeArraySeriesLink.f90.

57  ! -- dummy
58  type(TimeArraySeriesLinkType), pointer, intent(out) :: newTasLink
59  type(TimeArraySeriesType), pointer, intent(in) :: timeArraySeries
60  character(len=*), intent(in) :: pkgName
61  real(DP), dimension(:), pointer, intent(in) :: bndArray
62  integer(I4B), intent(in) :: iprpak
63  character(len=*), intent(in) :: text
64  ! -- local
65  character(len=LENPACKAGENAME) :: pkgNameTemp
66  !
67  allocate (newtaslink)
68  ! Store package name as all caps
69  pkgnametemp = pkgname
70  call upcase(pkgnametemp)
71  newtaslink%PackageName = pkgnametemp
72  newtaslink%timeArraySeries => timearrayseries
73  newtaslink%BndArray => bndarray
74  newtaslink%Iprpak = iprpak
75  newtaslink%Text = text
76  !
77  ! -- Return
78  return
Here is the call graph for this function:
Here is the caller graph for this function:

◆ gettimearrayserieslinkfromlist()

type(timearrayserieslinktype) function, pointer, public timearrayserieslinkmodule::gettimearrayserieslinkfromlist ( type(listtype), intent(inout)  list,
integer(i4b), intent(in)  idx 
)

Definition at line 120 of file TimeArraySeriesLink.f90.

121  ! -- dummy
122  type(ListType), intent(inout) :: list
123  integer(I4B), intent(in) :: idx
124  ! -- return
125  type(TimeArraySeriesLinkType), pointer :: res
126  ! -- local
127  class(*), pointer :: obj
128  !
129  obj => list%GetItem(idx)
130  res => castastimearrayserieslinktype(obj)
131  !
132  ! -- Return
133  return
Here is the call graph for this function:
Here is the caller graph for this function:

◆ tasl_da()

subroutine timearrayserieslinkmodule::tasl_da ( class(timearrayserieslinktype), intent(inout)  this)
private

Definition at line 40 of file TimeArraySeriesLink.f90.

41  ! -- dummy
42  class(TimeArraySeriesLinkType), intent(inout) :: this
43  !
44  this%nodelist => null()
45  this%bndarray => null()
46  this%rmultarray => null()
47  this%TimeArraySeries => null()
48  !
49  ! -- Return
50  return