rniswon / mfnwt

MODFLOW-NWT - Version: 1.1.0 Newton Formulation for MODFLOW-2005 For more information go to http://water.usgs.gov/ogw/modflow-nwt
4 stars 7 forks source link

Use of Igrid throws compile error #18

Closed emorway-usgs closed 6 years ago

emorway-usgs commented 6 years ago

It looks like in commit 072c3ca (1/25/2018), the following code was added in GWF2SFR7_NWT, line 8,274 as part of "merging with gsflow release":

C-------SET POINTERS FOR CURRENT GRID.
      CALL SGWF2SFR7PNT(Igrid)

However, this is throwing a compile error. It appears Igrid is not defined.

emorway-usgs commented 6 years ago

Passed in Igrid to GWF2SFR7AD so that it could be used within this function. Fixed with 31ce986