Skip to content

Commit

Permalink
refactor(tsp): Elevate CNC to generalized transport class
Browse files Browse the repository at this point in the history
  • Loading branch information
emorway-usgs committed Oct 16, 2023
1 parent f7b6f76 commit 744cbe7
Show file tree
Hide file tree
Showing 5 changed files with 121 additions and 141 deletions.
2 changes: 1 addition & 1 deletion make/makefile
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,7 @@ $(OBJDIR)/VirtualExchange.o \
$(OBJDIR)/GridSorting.o \
$(OBJDIR)/DisConnExchange.o \
$(OBJDIR)/CsrUtils.o \
$(OBJDIR)/tsp1cnc1.o \
$(OBJDIR)/tsp1.o \
$(OBJDIR)/gwt1uzt1.o \
$(OBJDIR)/gwt1src1.o \
Expand All @@ -259,7 +260,6 @@ $(OBJDIR)/gwt1mwt1.o \
$(OBJDIR)/gwt1lkt1.o \
$(OBJDIR)/gwt1ist1.o \
$(OBJDIR)/gwt1dsp1.o \
$(OBJDIR)/gwt1cnc1.o \
$(OBJDIR)/gwf3api8.o \
$(OBJDIR)/gwf3wel8.o \
$(OBJDIR)/gwf3rch8.o \
Expand Down
2 changes: 1 addition & 1 deletion msvs/mf6core.vfproj
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,6 @@
<Filter Name="GroundWaterTransport">
<File RelativePath="..\src\Model\GroundWaterTransport\gwt1.f90"/>
<File RelativePath="..\src\Model\GroundWaterTransport\gwt1apt1.f90"/>
<File RelativePath="..\src\Model\GroundWaterTransport\gwt1cnc1.f90"/>
<File RelativePath="..\src\Model\GroundWaterTransport\gwt1dis1idm.f90"/>
<File RelativePath="..\src\Model\GroundWaterTransport\gwt1disu1idm.f90"/>
<File RelativePath="..\src\Model\GroundWaterTransport\gwt1disv1idm.f90"/>
Expand Down Expand Up @@ -203,6 +202,7 @@
<Filter Name="TransportModel">
<File RelativePath="..\src\Model\TransportModel\tsp1.f90"/>
<File RelativePath="..\src\Model\TransportModel\tsp1adv1.f90"/>
<File RelativePath="..\src\Model\TransportModel\tsp1cnc1.f90"/>
<File RelativePath="..\src\Model\TransportModel\tsp1fmi1.f90"/>
<File RelativePath="..\src\Model\TransportModel\tsp1ic1.f90"/>
<File RelativePath="..\src\Model\TransportModel\tsp1mvt1.f90"/>
Expand Down
5 changes: 3 additions & 2 deletions src/Model/GroundWaterTransport/gwt1.f90
Original file line number Diff line number Diff line change
Expand Up @@ -766,7 +766,7 @@ subroutine package_create(this, filtyp, ipakid, ipaknum, pakname, inunit, &
! -- modules
use ConstantsModule, only: LINELENGTH
use SimModule, only: store_error
use GwtCncModule, only: cnc_create
use TspCncModule, only: cnc_create
use GwtSrcModule, only: src_create
use GwtIstModule, only: ist_create
use GwtLktModule, only: lkt_create
Expand All @@ -791,7 +791,8 @@ subroutine package_create(this, filtyp, ipakid, ipaknum, pakname, inunit, &
! -- This part creates the package object
select case (filtyp)
case ('CNC6')
call cnc_create(packobj, ipakid, ipaknum, inunit, iout, this%name, pakname)
call cnc_create(packobj, ipakid, ipaknum, inunit, iout, this%name, &
pakname, dvt)
case ('SRC6')
call src_create(packobj, ipakid, ipaknum, inunit, iout, this%name, pakname)
case ('LKT6')
Expand Down
Loading

0 comments on commit 744cbe7

Please sign in to comment.