Skip to content

Commit

Permalink
refactor mct routing to allow parallelisation
Browse files Browse the repository at this point in the history
  • Loading branch information
corentincarton committed Jul 15, 2024
1 parent 850d651 commit 202828b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lisflood/hydrological_modules/routing.py
Original file line number Diff line number Diff line change
Expand Up @@ -575,6 +575,7 @@ def initialMCT(self):
# ************************************************************
self.mct_river_router = mctWave(self.compress_mct(compressArray(self.var.LddMCT)), self.var.mctmask)

# create mapping from global domain pixels index to MCT pixels index
idpix_kin = range(len(self.var.ChanQ))
self.mapping_mct = self.compress_mct(idpix_kin)

Expand Down

0 comments on commit 202828b

Please sign in to comment.