Skip to content

Particle ID incorrectly incremented #1053

@jjstarn-usgs

Description

@jjstarn-usgs

"Particle ID" can be either generated by MODPATH or specified by the user to maintain particle identities. It is not subject to zero based correction by adding 1. In modpath 7 and flopy 3.3.2, 1 is incorrectly added to the user specified particle IDs. This breaks any link the user has with specific particles. I'm not where it happens, but for a similar variable, tracerparticleid, one is added on line 643 of mp7sim.py. I searched for +1 + 1 +=1 += 1 and didn't find it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions