31 subroutine oc_cr(ocobj, name_model, inunit, iout)
34 character(len=*),
intent(in) :: name_model
35 integer(I4B),
intent(in) :: inunit
36 integer(I4B),
intent(in) :: iout
42 call ocobj%allocate_scalars(name_model)
49 call ocobj%parser%Initialize(inunit, iout)
57 subroutine oc_ar(this, head, dis, dnodata)
60 real(DP),
dimension(:),
pointer,
contiguous,
intent(in) :: head
62 real(DP),
intent(in) :: dnodata
64 integer(I4B) :: i, nocdobj, inodata
66 real(DP),
dimension(:),
pointer,
contiguous :: nullvec => null()
71 allocate (this%ocds(nocdobj))
76 call ocdobjptr%init_dbl(
'BUDGET', nullvec, dis,
'PRINT LAST ', &
77 'COLUMNS 10 WIDTH 11 DIGITS 4 GENERAL ', &
80 call ocdobjptr%init_dbl(
'HEAD', head, dis,
'PRINT LAST ', &
81 'COLUMNS 10 WIDTH 11 DIGITS 4 GENERAL ', &
84 this%ocds(i) = ocdobjptr
85 deallocate (ocdobjptr)
89 if (this%inunit > 0)
then
90 call this%read_options()
This module contains simulation constants.
integer(i4b), parameter lenmodelname
maximum length of the model name
subroutine, public oc_cr(ocobj, name_model, inunit, iout)
@ brief Create GwfOcType
subroutine oc_ar(this, head, dis, dnodata)
@ brief Allocate and read GwfOcType
This module defines variable data types.
Output control data module.
subroutine, public ocd_cr(ocdobj)
@ brief Create a new output control data type.
@ brief Output control for GWF
Output control data type.
@ brief Controls model output. Overridden for each model type.