684 class(TransportModelType) :: this
685 integer(I4B),
intent(inout) :: indis
687 type(CharacterStringType),
dimension(:),
contiguous, &
688 pointer :: pkgtypes => null()
689 type(CharacterStringType),
dimension(:),
contiguous, &
690 pointer :: pkgnames => null()
691 type(CharacterStringType),
dimension(:),
contiguous, &
692 pointer :: mempaths => null()
693 integer(I4B),
dimension(:),
contiguous, &
694 pointer :: inunits => null()
695 character(len=LENMEMPATH) :: model_mempath
696 character(len=LENFTYPE) :: pkgtype
697 character(len=LENPACKAGENAME) :: pkgname
698 character(len=LENMEMPATH) :: mempath
699 integer(I4B),
pointer :: inunit
701 character(len=LENMEMPATH) :: mempathadv =
''
702 character(len=LENMEMPATH) :: mempathfmi =
''
703 character(len=LENMEMPATH) :: mempathic =
''
704 character(len=LENMEMPATH) :: mempathssm =
''
713 call mem_setptr(pkgtypes,
'PKGTYPES', model_mempath)
714 call mem_setptr(pkgnames,
'PKGNAMES', model_mempath)
715 call mem_setptr(mempaths,
'MEMPATHS', model_mempath)
716 call mem_setptr(inunits,
'INUNITS', model_mempath)
718 do n = 1,
size(pkgtypes)
721 pkgtype = pkgtypes(n)
722 pkgname = pkgnames(n)
723 mempath = mempaths(n)
727 select case (pkgtype)
730 call dis_cr(this%dis, this%name, mempath, indis, this%iout)
733 call disv_cr(this%dis, this%name, mempath, indis, this%iout)
736 call disu_cr(this%dis, this%name, mempath, indis, this%iout)
743 case (
'MVT6',
'MVE6')
761 call ic_cr(this%ic, this%name, mempathic, this%inic, this%iout, this%dis, &
763 call fmi_cr(this%fmi, this%name, mempathfmi, this%infmi, this%iout, &
764 this%eqnsclfac, this%depvartype)
765 call adv_cr(this%adv, this%name, mempathadv, this%inadv, this%iout, &
766 this%fmi, this%eqnsclfac)
767 call ssm_cr(this%ssm, this%name, mempathssm, this%inssm, this%iout, &
768 this%fmi, this%eqnsclfac, this%depvartype)
769 call mvt_cr(this%mvt, this%name, this%inmvt, this%iout, this%fmi, &
770 this%eqnsclfac, this%depvartype)
771 call oc_cr(this%oc, this%name, this%inoc, this%iout)
772 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, input_mempath, inunit, iout, fmi, eqnsclfac)
@ brief Create a new ADV object
subroutine, public fmi_cr(fmiobj, name_model, input_mempath, 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, input_mempath, 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 ...