18 character(len=LENFTYPE) ::
ftype =
'ESL'
19 character(len=16) ::
text =
' ESL'
46 subroutine esl_create(packobj, id, ibcnum, inunit, iout, namemodel, pakname, &
49 class(
bndtype),
pointer :: packobj
50 integer(I4B),
intent(in) :: id
51 integer(I4B),
intent(in) :: ibcnum
52 integer(I4B),
intent(in) :: inunit
53 integer(I4B),
intent(in) :: iout
54 character(len=*),
intent(in) :: namemodel
55 character(len=*),
intent(in) :: pakname
65 call packobj%set_names(ibcnum, namemodel, pakname,
ftype)
69 call eslobj%allocate_scalars()
72 call packobj%pack_initialize()
74 packobj%inunit = inunit
77 packobj%ibcnum = ibcnum
84 eslobj%gwecommon => gwecommon
96 call this%BndType%bnd_da()
110 call this%BndType%allocate_scalars()
127 integer(I4B) :: i, node
131 if (this%nbound == 0)
return
134 do i = 1, this%nbound
135 node = this%nodelist(i)
137 if (this%ibound(node) <= 0)
then
150 subroutine esl_fc(this, rhs, ia, idxglo, matrix_sln)
153 real(DP),
dimension(:),
intent(inout) :: rhs
154 integer(I4B),
dimension(:),
intent(in) :: ia
155 integer(I4B),
dimension(:),
intent(in) :: idxglo
158 integer(I4B) :: i, n, ipos
161 if (this%imover == 1)
then
162 call this%pakmvrobj%fc()
166 do i = 1, this%nbound
168 rhs(n) = rhs(n) + this%rhs(i)
170 call matrix_sln%add_value_pos(idxglo(ipos), this%hcof(i))
174 if (this%imover == 1 .and. this%rhs(i) >
dzero)
then
175 call this%pakmvrobj%accumulate_qformvr(i, this%rhs(i))
190 this%listlabel = trim(this%filtyp)//
' NO.'
191 if (this%dis%ndim == 3)
then
192 write (this%listlabel,
'(a, a7)') trim(this%listlabel),
'LAYER'
193 write (this%listlabel,
'(a, a7)') trim(this%listlabel),
'ROW'
194 write (this%listlabel,
'(a, a7)') trim(this%listlabel),
'COL'
195 elseif (this%dis%ndim == 2)
then
196 write (this%listlabel,
'(a, a7)') trim(this%listlabel),
'LAYER'
197 write (this%listlabel,
'(a, a7)') trim(this%listlabel),
'CELL2D'
199 write (this%listlabel,
'(a, a7)') trim(this%listlabel),
'NODE'
201 write (this%listlabel,
'(a, a16)') trim(this%listlabel),
'STRESS RATE'
202 if (this%inamedbound == 1)
then
203 write (this%listlabel,
'(a, a16)') trim(this%listlabel),
'BOUNDARY NAME'
236 call this%obs%StoreObsType(
'esl', .true., indx)
241 call this%obs%StoreObsType(
'to-mvr', .true., indx)
255 integer(I4B) :: i, nlinks
258 nlinks = this%TsManager%boundtslinks%Count()
261 if (
associated(tslink))
then
262 if (tslink%JCol == 1)
then
263 tslink%Text =
'SMASSRATE'
This module contains block parser methods.
This module contains the base boundary package.
This module contains simulation constants.
real(dp), parameter dem1
real constant 1e-1
integer(i4b), parameter lenftype
maximum length of a package type (DIS, WEL, OC, etc.)
real(dp), parameter dzero
real constant zero
real(dp), parameter done
real constant 1
subroutine, public esl_create(packobj, id, ibcnum, inunit, iout, namemodel, pakname, gwecommon)
Create an energy source loading package.
subroutine esl_da(this)
Deallocate memory.
subroutine esl_cf(this)
Formulate the HCOF and RHS terms.
character(len=lenftype) ftype
subroutine define_listlabel(this)
Define list labels.
subroutine esl_df_obs(this)
Define observations.
subroutine esl_fc(this, rhs, ia, idxglo, matrix_sln)
Add matrix terms related to specified energy source loading.
logical function esl_obs_supported(this)
Support function for specified energy source loading observations.
subroutine esl_rp_ts(this)
Procedure related to time series.
subroutine esl_allocate_scalars(this)
Allocate scalars.
This module defines variable data types.
This module contains the derived type ObsType.
subroutine, public defaultobsidprocessor(obsrv, dis, inunitobs, iout)
@ brief Process IDstring provided for each observation
type(timeserieslinktype) function, pointer, public gettimeserieslinkfromlist(list, indx)
Get time series link from a list.