52 character(len=*),
parameter ::
ftype =
'SFT'
53 character(len=*),
parameter ::
flowtype =
'SFR'
54 character(len=16) ::
text =
' SFT'
58 integer(I4B),
pointer :: idxbudrain => null()
59 integer(I4B),
pointer :: idxbudevap => null()
60 integer(I4B),
pointer :: idxbudroff => null()
61 integer(I4B),
pointer :: idxbudiflw => null()
62 integer(I4B),
pointer :: idxbudoutf => null()
64 real(dp),
dimension(:),
pointer,
contiguous :: concrain => null()
65 real(dp),
dimension(:),
pointer,
contiguous :: concevap => null()
66 real(dp),
dimension(:),
pointer,
contiguous :: concroff => null()
67 real(dp),
dimension(:),
pointer,
contiguous :: conciflw => null()
69 real(dp),
dimension(:),
pointer,
contiguous :: vnew => null()
70 real(dp),
dimension(:),
pointer,
contiguous :: vold => null()
102 subroutine sft_create(packobj, id, ibcnum, inunit, iout, namemodel, pakname, &
103 mempath, fmi, eqnsclfac, dvt, dvu, dvua)
105 class(
bndtype),
pointer :: packobj
106 integer(I4B),
intent(in) :: id
107 integer(I4B),
intent(in) :: ibcnum
108 integer(I4B),
intent(in) :: inunit
109 integer(I4B),
intent(in) :: iout
110 character(len=*),
intent(in) :: namemodel
111 character(len=*),
intent(in) :: pakname
112 character(len=*),
intent(in) :: mempath
114 real(dp),
intent(in),
pointer :: eqnsclfac
115 character(len=*),
intent(in) :: dvt
116 character(len=*),
intent(in) :: dvu
117 character(len=*),
intent(in) :: dvua
126 call packobj%set_names(ibcnum, namemodel, pakname,
ftype, mempath)
130 call sftobj%allocate_scalars()
133 call packobj%pack_initialize()
135 packobj%inunit = inunit
138 packobj%ibcnum = ibcnum
149 sftobj%eqnsclfac => eqnsclfac
152 sftobj%depvartype = dvt
153 sftobj%depvarunit = dvu
154 sftobj%depvarunitabbrev = dvua
165 character(len=LINELENGTH) :: errmsg
166 class(
bndtype),
pointer :: packobj
167 integer(I4B) :: ip, icount
168 integer(I4B) :: nbudterm
178 if (this%fmi%flows_from_file)
then
179 call this%fmi%set_aptbudobj_pointer(this%flowpackagename, this%flowbudptr)
180 if (
associated(this%flowbudptr)) found = .true.
183 if (
associated(this%fmi%gwfbndlist))
then
186 do ip = 1, this%fmi%gwfbndlist%Count()
188 if (packobj%packName == this%flowpackagename)
then
193 this%flowpackagebnd => packobj
194 select type (packobj)
196 this%flowbudptr => packobj%budobj
205 if (.not. found)
then
206 write (errmsg,
'(a)')
'Could not find flow package with name '&
207 &//trim(adjustl(this%flowpackagename))//
'.'
214 nbudterm = this%flowbudptr%nbudterm
215 call mem_allocate(this%idxbudssm, nbudterm,
'IDXBUDSSM', this%memoryPath)
218 write (this%iout,
'(/, a, a)') &
219 'PROCESSING '//
ftype//
' INFORMATION FOR ', this%packName
220 write (this%iout,
'(a)')
' IDENTIFYING FLOW TERMS IN '//
flowtype//
' PACKAGE'
221 write (this%iout,
'(a, i0)') &
222 ' NUMBER OF '//
flowtype//
' = ', this%flowbudptr%ncv
224 do ip = 1, this%flowbudptr%nbudterm
225 select case (trim(adjustl(this%flowbudptr%budterm(ip)%flowtype)))
226 case (
'FLOW-JA-FACE')
228 this%idxbudssm(ip) = 0
231 this%idxbudssm(ip) = 0
234 this%idxbudssm(ip) = 0
237 this%idxbudssm(ip) = 0
240 this%idxbudssm(ip) = 0
243 this%idxbudssm(ip) = 0
246 this%idxbudssm(ip) = 0
249 this%idxbudssm(ip) = 0
252 this%idxbudssm(ip) = 0
255 this%idxbudssm(ip) = 0
258 this%idxbudssm(ip) = 0
263 this%idxbudssm(ip) = icount
266 write (this%iout,
'(a, i0, " = ", a,/, a, i0)') &
267 ' TERM ', ip, trim(adjustl(this%flowbudptr%budterm(ip)%flowtype)), &
268 ' MAX NO. OF ENTRIES = ', this%flowbudptr%budterm(ip)%maxlist
270 write (this%iout,
'(a, //)')
'DONE PROCESSING '//
ftype//
' INFORMATION'
281 integer(I4B),
intent(in) :: itemno
282 character(len=*),
intent(in) :: key
286 select case (trim(key))
288 val = this%concrain(itemno)
290 val = this%concevap(itemno)
292 val = this%concroff(itemno)
294 val = this%conciflw(itemno)
307 real(DP),
dimension(:),
intent(inout) :: rhs
308 integer(I4B),
dimension(:),
intent(in) :: ia
309 integer(I4B),
dimension(:),
intent(in) :: idxglo
312 integer(I4B) :: j, n1, n2
314 integer(I4B) :: iposd
320 if (this%idxbudrain /= 0)
then
321 do j = 1, this%flowbudptr%budterm(this%idxbudrain)%nlist
322 call this%sft_rain_term(j, n1, n2, rrate, rhsval, hcofval)
323 iloc = this%idxlocnode(n1)
324 iposd = this%idxpakdiag(n1)
325 call matrix_sln%add_value_pos(iposd, hcofval)
326 rhs(iloc) = rhs(iloc) + rhsval
331 if (this%idxbudevap /= 0)
then
332 do j = 1, this%flowbudptr%budterm(this%idxbudevap)%nlist
333 call this%sft_evap_term(j, n1, n2, rrate, rhsval, hcofval)
334 iloc = this%idxlocnode(n1)
335 iposd = this%idxpakdiag(n1)
336 call matrix_sln%add_value_pos(iposd, hcofval)
337 rhs(iloc) = rhs(iloc) + rhsval
342 if (this%idxbudroff /= 0)
then
343 do j = 1, this%flowbudptr%budterm(this%idxbudroff)%nlist
344 call this%sft_roff_term(j, n1, n2, rrate, rhsval, hcofval)
345 iloc = this%idxlocnode(n1)
346 iposd = this%idxpakdiag(n1)
347 call matrix_sln%add_value_pos(iposd, hcofval)
348 rhs(iloc) = rhs(iloc) + rhsval
353 if (this%idxbudiflw /= 0)
then
354 do j = 1, this%flowbudptr%budterm(this%idxbudiflw)%nlist
355 call this%sft_iflw_term(j, n1, n2, rrate, rhsval, hcofval)
356 iloc = this%idxlocnode(n1)
357 iposd = this%idxpakdiag(n1)
358 call matrix_sln%add_value_pos(iposd, hcofval)
359 rhs(iloc) = rhs(iloc) + rhsval
364 if (this%idxbudoutf /= 0)
then
365 do j = 1, this%flowbudptr%budterm(this%idxbudoutf)%nlist
366 call this%sft_outf_term(j, n1, n2, rrate, rhsval, hcofval)
367 iloc = this%idxlocnode(n1)
368 iposd = this%idxpakdiag(n1)
369 call matrix_sln%add_value_pos(iposd, hcofval)
370 rhs(iloc) = rhs(iloc) + rhsval
382 integer(I4B) :: n1, n2
386 if (this%idxbudrain /= 0)
then
387 do j = 1, this%flowbudptr%budterm(this%idxbudrain)%nlist
388 call this%sft_rain_term(j, n1, n2, rrate)
389 this%dbuff(n1) = this%dbuff(n1) + rrate
394 if (this%idxbudevap /= 0)
then
395 do j = 1, this%flowbudptr%budterm(this%idxbudevap)%nlist
396 call this%sft_evap_term(j, n1, n2, rrate)
397 this%dbuff(n1) = this%dbuff(n1) + rrate
402 if (this%idxbudroff /= 0)
then
403 do j = 1, this%flowbudptr%budterm(this%idxbudroff)%nlist
404 call this%sft_roff_term(j, n1, n2, rrate)
405 this%dbuff(n1) = this%dbuff(n1) + rrate
410 if (this%idxbudiflw /= 0)
then
411 do j = 1, this%flowbudptr%budterm(this%idxbudiflw)%nlist
412 call this%sft_iflw_term(j, n1, n2, rrate)
413 this%dbuff(n1) = this%dbuff(n1) + rrate
418 if (this%idxbudoutf /= 0)
then
419 do j = 1, this%flowbudptr%budterm(this%idxbudoutf)%nlist
420 call this%sft_outf_term(j, n1, n2, rrate)
421 this%dbuff(n1) = this%dbuff(n1) + rrate
435 integer(I4B) :: nbudterms
449 integer(I4B),
intent(inout) :: idx
451 integer(I4B) :: maxlist, naux
452 character(len=LENBUDTXT) :: text
457 maxlist = this%flowbudptr%budterm(this%idxbudrain)%maxlist
459 call this%budobj%budterm(idx)%initialize(text, &
464 maxlist, .false., .false., &
468 text =
' EVAPORATION'
470 maxlist = this%flowbudptr%budterm(this%idxbudevap)%maxlist
472 call this%budobj%budterm(idx)%initialize(text, &
477 maxlist, .false., .false., &
483 maxlist = this%flowbudptr%budterm(this%idxbudroff)%maxlist
485 call this%budobj%budterm(idx)%initialize(text, &
490 maxlist, .false., .false., &
496 maxlist = this%flowbudptr%budterm(this%idxbudiflw)%maxlist
498 call this%budobj%budterm(idx)%initialize(text, &
503 maxlist, .false., .false., &
507 text =
' EXT-OUTFLOW'
509 maxlist = this%flowbudptr%budterm(this%idxbudoutf)%maxlist
511 call this%budobj%budterm(idx)%initialize(text, &
516 maxlist, .false., .false., &
526 integer(I4B),
intent(inout) :: idx
527 real(DP),
dimension(:),
intent(in) :: x
528 real(DP),
dimension(:),
contiguous,
intent(inout) :: flowja
529 real(DP),
intent(inout) :: ccratin
530 real(DP),
intent(inout) :: ccratout
532 integer(I4B) :: j, n1, n2
533 integer(I4B) :: nlist
539 nlist = this%flowbudptr%budterm(this%idxbudrain)%nlist
540 call this%budobj%budterm(idx)%reset(nlist)
542 call this%sft_rain_term(j, n1, n2, q)
543 call this%budobj%budterm(idx)%update_term(n1, n2, q)
544 call this%apt_accumulate_ccterm(n1, q, ccratin, ccratout)
549 nlist = this%flowbudptr%budterm(this%idxbudevap)%nlist
550 call this%budobj%budterm(idx)%reset(nlist)
552 call this%sft_evap_term(j, n1, n2, q)
553 call this%budobj%budterm(idx)%update_term(n1, n2, q)
554 call this%apt_accumulate_ccterm(n1, q, ccratin, ccratout)
559 nlist = this%flowbudptr%budterm(this%idxbudroff)%nlist
560 call this%budobj%budterm(idx)%reset(nlist)
562 call this%sft_roff_term(j, n1, n2, q)
563 call this%budobj%budterm(idx)%update_term(n1, n2, q)
564 call this%apt_accumulate_ccterm(n1, q, ccratin, ccratout)
569 nlist = this%flowbudptr%budterm(this%idxbudiflw)%nlist
570 call this%budobj%budterm(idx)%reset(nlist)
572 call this%sft_iflw_term(j, n1, n2, q)
573 call this%budobj%budterm(idx)%update_term(n1, n2, q)
574 call this%apt_accumulate_ccterm(n1, q, ccratin, ccratout)
579 nlist = this%flowbudptr%budterm(this%idxbudoutf)%nlist
580 call this%budobj%budterm(idx)%reset(nlist)
582 call this%sft_outf_term(j, n1, n2, q)
583 call this%budobj%budterm(idx)%update_term(n1, n2, q)
584 call this%apt_accumulate_ccterm(n1, q, ccratin, ccratout)
599 call this%TspAptType%allocate_scalars()
602 call mem_allocate(this%idxbudrain,
'IDXBUDRAIN', this%memoryPath)
603 call mem_allocate(this%idxbudevap,
'IDXBUDEVAP', this%memoryPath)
604 call mem_allocate(this%idxbudroff,
'IDXBUDROFF', this%memoryPath)
605 call mem_allocate(this%idxbudiflw,
'IDXBUDIFLW', this%memoryPath)
606 call mem_allocate(this%idxbudoutf,
'IDXBUDOUTF', this%memoryPath)
629 call mem_setptr(this%concrain,
'RAINFALL', this%input_mempath)
630 call mem_setptr(this%concevap,
'EVAPORATION', this%input_mempath)
631 call mem_setptr(this%concroff,
'RUNOFF', this%input_mempath)
632 call mem_setptr(this%conciflw,
'INFLOW', this%input_mempath)
634 call mem_allocate(this%vnew, this%ncv,
'VNEW', this%memoryPath)
635 call mem_allocate(this%vold, this%ncv,
'VOLD', this%memoryPath)
639 call this%TspAptType%apt_allocate_arrays()
658 call this%TspAptType%apt_checkin_deprecated_names()
661 'RAINFALL', this%input_mempath,
'6.8.2')
663 'EVAPORATION', this%input_mempath,
'6.8.2')
665 'RUNOFF', this%input_mempath,
'6.8.2')
667 'INFLOW', this%input_mempath,
'6.8.2')
682 call this%BndExtType%bnd_ad()
683 call this%apt_ad_resync()
689 this%vold(n) = this%vnew(n)
712 nullify (this%concrain)
713 nullify (this%concevap)
714 nullify (this%concroff)
715 nullify (this%conciflw)
721 call this%TspAptType%bnd_da()
730 integer(I4B),
intent(in) :: ientry
731 integer(I4B),
intent(inout) :: n1
732 integer(I4B),
intent(inout) :: n2
733 real(DP),
intent(inout),
optional :: rrate
734 real(DP),
intent(inout),
optional :: rhsval
735 real(DP),
intent(inout),
optional :: hcofval
740 n1 = this%flowbudptr%budterm(this%idxbudrain)%id1(ientry)
741 n2 = this%flowbudptr%budterm(this%idxbudrain)%id2(ientry)
742 qbnd = this%flowbudptr%budterm(this%idxbudrain)%flow(ientry)
743 ctmp = this%concrain(n1)
744 if (
present(rrate)) rrate = ctmp * qbnd
745 if (
present(rhsval)) rhsval = -rrate
746 if (
present(hcofval)) hcofval = dzero
755 integer(I4B),
intent(in) :: ientry
756 integer(I4B),
intent(inout) :: n1
757 integer(I4B),
intent(inout) :: n2
758 real(DP),
intent(inout),
optional :: rrate
759 real(DP),
intent(inout),
optional :: rhsval
760 real(DP),
intent(inout),
optional :: hcofval
766 n1 = this%flowbudptr%budterm(this%idxbudevap)%id1(ientry)
767 n2 = this%flowbudptr%budterm(this%idxbudevap)%id2(ientry)
769 qbnd = this%flowbudptr%budterm(this%idxbudevap)%flow(ientry)
770 ctmp = this%concevap(n1)
771 if (this%xnewpak(n1) < ctmp)
then
776 if (
present(rrate)) &
777 rrate = omega * qbnd * this%xnewpak(n1) + &
778 (done - omega) * qbnd * ctmp
779 if (
present(rhsval)) rhsval = -(done - omega) * qbnd * ctmp
780 if (
present(hcofval)) hcofval = omega * qbnd
789 integer(I4B),
intent(in) :: ientry
790 integer(I4B),
intent(inout) :: n1
791 integer(I4B),
intent(inout) :: n2
792 real(DP),
intent(inout),
optional :: rrate
793 real(DP),
intent(inout),
optional :: rhsval
794 real(DP),
intent(inout),
optional :: hcofval
799 n1 = this%flowbudptr%budterm(this%idxbudroff)%id1(ientry)
800 n2 = this%flowbudptr%budterm(this%idxbudroff)%id2(ientry)
801 qbnd = this%flowbudptr%budterm(this%idxbudroff)%flow(ientry)
802 ctmp = this%concroff(n1)
803 if (
present(rrate)) rrate = ctmp * qbnd
804 if (
present(rhsval)) rhsval = -rrate
805 if (
present(hcofval)) hcofval = dzero
818 integer(I4B),
intent(in) :: ientry
819 integer(I4B),
intent(inout) :: n1
820 integer(I4B),
intent(inout) :: n2
821 real(DP),
intent(inout),
optional :: rrate
822 real(DP),
intent(inout),
optional :: rhsval
823 real(DP),
intent(inout),
optional :: hcofval
828 n1 = this%flowbudptr%budterm(this%idxbudiflw)%id1(ientry)
829 n2 = this%flowbudptr%budterm(this%idxbudiflw)%id2(ientry)
830 qbnd = this%flowbudptr%budterm(this%idxbudiflw)%flow(ientry)
831 ctmp = this%conciflw(n1)
832 if (
present(rrate)) rrate = ctmp * qbnd
833 if (
present(rhsval)) rhsval = -rrate
834 if (
present(hcofval)) hcofval = dzero
846 integer(I4B),
intent(in) :: ientry
847 integer(I4B),
intent(inout) :: n1
848 integer(I4B),
intent(inout) :: n2
849 real(DP),
intent(inout),
optional :: rrate
850 real(DP),
intent(inout),
optional :: rhsval
851 real(DP),
intent(inout),
optional :: hcofval
856 n1 = this%flowbudptr%budterm(this%idxbudoutf)%id1(ientry)
857 n2 = this%flowbudptr%budterm(this%idxbudoutf)%id2(ientry)
858 qbnd = this%flowbudptr%budterm(this%idxbudoutf)%flow(ientry)
859 ctmp = this%xnewpak(n1)
860 if (
present(rrate)) rrate = ctmp * qbnd
861 if (
present(rhsval)) rhsval = dzero
862 if (
present(hcofval)) hcofval = qbnd
879 call this%obs%StoreObsType(
'concentration', .false., indx)
884 call this%obs%StoreObsType(
'flow-ja-face', .true., indx)
889 call this%obs%StoreObsType(
'from-mvr', .true., indx)
894 call this%obs%StoreObsType(
'to-mvr', .true., indx)
899 call this%obs%StoreObsType(
'storage', .true., indx)
904 call this%obs%StoreObsType(
'constant', .true., indx)
909 call this%obs%StoreObsType(
'sft', .true., indx)
914 call this%obs%StoreObsType(
'rainfall', .true., indx)
919 call this%obs%StoreObsType(
'evaporation', .true., indx)
924 call this%obs%StoreObsType(
'runoff', .true., indx)
929 call this%obs%StoreObsType(
'ext-inflow', .true., indx)
934 call this%obs%StoreObsType(
'ext-outflow', .true., indx)
946 logical,
intent(inout) :: found
950 select case (obsrv%ObsTypeId)
952 call this%rp_obs_byfeature(obsrv)
954 call this%rp_obs_byfeature(obsrv)
956 call this%rp_obs_byfeature(obsrv)
958 call this%rp_obs_byfeature(obsrv)
960 call this%rp_obs_byfeature(obsrv)
962 call this%rp_obs_byfeature(obsrv)
973 character(len=*),
intent(in) :: obstypeid
974 real(DP),
intent(inout) :: v
975 integer(I4B),
intent(in) :: jj
976 logical,
intent(inout) :: found
978 integer(I4B) :: n1, n2
981 select case (obstypeid)
983 if (this%iboundpak(jj) /= 0)
then
984 call this%sft_rain_term(jj, n1, n2, v)
987 if (this%iboundpak(jj) /= 0)
then
988 call this%sft_evap_term(jj, n1, n2, v)
991 if (this%iboundpak(jj) /= 0)
then
992 call this%sft_roff_term(jj, n1, n2, v)
995 if (this%iboundpak(jj) /= 0)
then
996 call this%sft_iflw_term(jj, n1, n2, v)
999 if (this%iboundpak(jj) /= 0)
then
1000 call this%sft_outf_term(jj, n1, n2, v)
1013 integer(I4B),
intent(in) :: icv
1014 real(DP),
intent(inout) :: vnew, vold
1015 real(DP),
intent(in) :: delt
1022 if (this%idxbudsto /= 0)
then
1023 qss = this%flowbudptr%budterm(this%idxbudsto)%flow(icv)
1024 vnew = this%flowbudptr%budterm(this%idxbudsto)%auxvar(1, icv)
1025 this%vnew(icv) = vnew
1026 if (qss /= dzero)
then
1027 vold = vnew + qss * delt
1029 if (vnew == dzero)
then
1032 vold = this%vold(icv)
This module contains the base boundary package.
subroutine bnd_da(this)
Deallocate package memory.
class(bndtype) function, pointer, public getbndfromlist(list, idx)
Get boundary from package list.
subroutine bnd_ad(this)
Advance the boundary package.
This module contains simulation constants.
integer(i4b), parameter linelength
maximum length of a standard line
real(dp), parameter dnodata
real no data constant
integer(i4b), parameter lenvarname
maximum length of a variable name
real(dp), parameter dzero
real constant zero
integer(i4b), parameter lenbudtxt
maximum length of a budget component names
real(dp), parameter done
real constant 1
subroutine sft_solve(this)
Add terms specific to sft to the explicit sft solve.
subroutine sft_iflw_term(this, ientry, n1, n2, rrate, rhsval, hcofval)
Inflow Term.
subroutine allocate_scalars(this)
Allocate scalars specific to the streamflow energy transport (SFE) package.
character(len= *), parameter flowtype
subroutine sft_outf_term(this, ientry, n1, n2, rrate, rhsval, hcofval)
Outflow term.
real(dp) function sft_setting_value(this, itemno, key)
Value for a package-specific PERIOD setting.
subroutine sft_roff_term(this, ientry, n1, n2, rrate, rhsval, hcofval)
Runoff term.
subroutine find_sft_package(this)
Find corresponding sft package.
subroutine sft_bd_obs(this, obstypeid, jj, v, found)
Calculate observation value and pass it back to APT.
subroutine sft_rp_obs(this, obsrv, found)
Process package specific obs.
subroutine sft_ad(this)
Advance sft package routine.
subroutine sft_da(this)
Deallocate memory.
subroutine sft_fill_budobj(this, idx, x, flowja, ccratin, ccratout)
Copy flow terms into thisbudobj.
subroutine sft_fc_expanded(this, rhs, ia, idxglo, matrix_sln)
Add matrix terms related to SFT.
subroutine sft_get_volumes(this, icv, vnew, vold, delt)
Return the sfr new volume and old volume.
subroutine, public sft_create(packobj, id, ibcnum, inunit, iout, namemodel, pakname, mempath, fmi, eqnsclfac, dvt, dvu, dvua)
Create a new sft package.
subroutine sft_setup_budobj(this, idx)
Set up the budget object that stores all the sft flows.
integer(i4b) function sft_get_nbudterms(this)
Function to return the number of budget terms just for this package.
subroutine sft_checkin_deprecated_names(this)
Alias deprecated SFT variable names to their current storage.
subroutine sft_evap_term(this, ientry, n1, n2, rrate, rhsval, hcofval)
Evaporative term.
subroutine sft_allocate_arrays(this)
Allocate arrays specific to the streamflow energy transport (SFE) package.
subroutine sft_df_obs(this)
Observations.
subroutine sft_rain_term(this, ientry, n1, n2, rrate, rhsval, hcofval)
Rain term.
This module defines variable data types.
Previous variable names checked in as deprecated aliases.
This module contains the derived types ObserveType and ObsDataType.
This module contains the SFR package methods.
character(len=lenftype) ftype
package ftype string
character(len=lenpackagename) text
package budget string
This module contains simulation methods.
subroutine, public store_error(msg, terminate)
Store an error message.
subroutine, public store_error_filename(filename, terminate)
Store the erroring file name.
This module contains simulation variables.
integer(i4b) ifailedstepretry
current retry for this time step
subroutine apt_checkin_deprecated_names(this)
Alias deprecated advanced transport variable names.
subroutine pak_setup_budobj(this, idx)
Set up a budget object that stores an advanced package flows.
subroutine pak_fill_budobj(this, idx, x, flowja, ccratin, ccratout)
Copy flow terms into thisbudobj, must be overridden.
subroutine pak_bd_obs(this, obstypeid, jj, v, found)
Check if observation exists in an advanced package.
subroutine pak_fc_expanded(this, rhs, ia, idxglo, matrix_sln)
Advanced package transport fill coefficient (fc) method.
subroutine apt_allocate_arrays(this)
Allocate arrays.
integer(i4b) function pak_get_nbudterms(this)
Function to return the number of budget terms just for this package.
real(dp) function apt_setting_value(this, itemno, key)
Virtual hook: value for a package-specific PERIOD setting. Override in individual packages to supply ...
subroutine pak_rp_obs(this, obsrv, found)
Process package specific obs.
subroutine apt_get_volumes(this, icv, vnew, vold, delt)
Return the feature new volume and old volume.
subroutine find_apt_package(this)
Find corresponding advanced package transport package.
subroutine, public apt_process_obsid(obsrv, dis, inunitobs, iout)
Process observation IDs for an advanced package.
subroutine pak_solve(this)
Add terms specific to advanced package transport features to the explicit solve routine.
subroutine pak_df_obs(this)
Define apt observation type.
subroutine, public apt_process_obsid12(obsrv, dis, inunitobs, iout)
Process observation IDs for a package.
This class is used to store a single deferred-length character string. It was designed to work in an ...