677 class(TransportModelType) :: this
678 integer(I4B),
intent(inout) :: indis
680 type(CharacterStringType),
dimension(:),
contiguous, &
681 pointer :: pkgtypes => null()
682 type(CharacterStringType),
dimension(:),
contiguous, &
683 pointer :: pkgnames => null()
684 type(CharacterStringType),
dimension(:),
contiguous, &
685 pointer :: mempaths => null()
686 integer(I4B),
dimension(:),
contiguous, &
687 pointer :: inunits => null()
688 character(len=LENMEMPATH) :: model_mempath
689 character(len=LENFTYPE) :: pkgtype
690 character(len=LENPACKAGENAME) :: pkgname
691 character(len=LENMEMPATH) :: mempath
692 integer(I4B),
pointer :: inunit
694 character(len=LENMEMPATH) :: mempathic =
''
703 call mem_setptr(pkgtypes,
'PKGTYPES', model_mempath)
704 call mem_setptr(pkgnames,
'PKGNAMES', model_mempath)
705 call mem_setptr(mempaths,
'MEMPATHS', model_mempath)
706 call mem_setptr(inunits,
'INUNITS', model_mempath)
708 do n = 1,
size(pkgtypes)
711 pkgtype = pkgtypes(n)
712 pkgname = pkgnames(n)
713 mempath = mempaths(n)
717 select case (pkgtype)
720 call dis_cr(this%dis, this%name, mempath, indis, this%iout)
723 call disv_cr(this%dis, this%name, mempath, indis, this%iout)
726 call disu_cr(this%dis, this%name, mempath, indis, this%iout)
732 case (
'MVT6',
'MVE6')
748 call ic_cr(this%ic, this%name, mempathic, this%inic, this%iout, this%dis, &
750 call fmi_cr(this%fmi, this%name, this%infmi, this%iout, this%eqnsclfac, &
752 call adv_cr(this%adv, this%name, this%inadv, this%iout, this%fmi, &
754 call ssm_cr(this%ssm, this%name, this%inssm, this%iout, this%fmi, &
755 this%eqnsclfac, this%depvartype)
756 call mvt_cr(this%mvt, this%name, this%inmvt, this%iout, this%fmi, &
757 this%eqnsclfac, this%depvartype)
758 call oc_cr(this%oc, this%name, this%inoc, this%iout)
759 call tsp_obs_cr(this%obs, this%inobs, this%depvartype)
This module contains simulation constants.
integer(i4b), parameter linelength
maximum length of a standard line
integer(i4b), parameter lenpackagename
maximum length of the package name
subroutine, public dis_cr(dis, name_model, input_mempath, inunit, iout)
Create a new structured discretization object.
subroutine, public disu_cr(dis, name_model, input_mempath, inunit, iout)
Create a new unstructured discretization object.
subroutine, public disv_cr(dis, name_model, input_mempath, inunit, iout)
Create a new discretization by vertices object.
character(len=lenmempath) function create_mem_path(component, subcomponent, context)
returns the path to the memory object
This module contains simulation variables.
character(len=linelength) idm_context
subroutine, public adv_cr(advobj, name_model, inunit, iout, fmi, eqnsclfac)
@ brief Create a new ADV object
subroutine, public fmi_cr(fmiobj, name_model, inunit, iout, eqnsclfac, depvartype)
Create a new FMI object.
subroutine, public ic_cr(ic, name_model, input_mempath, inunit, iout, dis, depvartype)
Create a new initial conditions object.
subroutine, public mvt_cr(mvt, name_model, inunit, iout, fmi1, eqnsclfac, depvartype, gwfmodelname1, gwfmodelname2, fmi2)
Create a new mover transport object.
subroutine, public tsp_obs_cr(obs, inobs, dvt)
Create a new TspObsType object.
subroutine, public oc_cr(ocobj, name_model, inunit, iout)
@ brief Create TspOcType
This module contains the TspSsm Module.
subroutine, public ssm_cr(ssmobj, name_model, inunit, iout, fmi, eqnsclfac, depvartype)
@ brief Create a new SSM package
This class is used to store a single deferred-length character string. It was designed to work in an ...