Closed emorway-usgs closed 6 years ago
Minor adjustment to SFRBD for correcting how the index variable that counts the number of connections was made; also, minor adjustment to LMT8 for performing the same operation when the user specifies a negative value for FLOW in the SFR input file as when they specify positive values for flow. Verified with Vivek that the existing code on the MT3D-USGS side properly accounts for the new terms that will be written to the linker file with this fix.
When using
PACKAGE_FLOW SFR
keyword option in the LMT package, code will write reach-by-reach flows to the linker file for MT3D-USGS to solve the surface-water network distributed concentrations. There seems to be an issue when negative values are specified for FLOW in the SFR input package. Negative values are not getting written to the linker file.