-
Notifications
You must be signed in to change notification settings - Fork 147
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
r.flowaccumulation: Support weighted flow accumulation (#1048)
* r.flowaccumulation: Support weighted flow accumulation * Promote accum_map type if it's less than weight_map type * Allow type for weighted accumulation * Support weight map whose type is different from accumulation
- Loading branch information
Showing
11 changed files
with
252 additions
and
73 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#define ACCUM_RAST_TYPE CELL_TYPE | ||
#define USE_LESS_MEMORY | ||
#define USE_WEIGHT | ||
#include "accumulate_funcs.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#define ACCUM_RAST_TYPE CELL_TYPE | ||
#define USE_WEIGHT | ||
#include "accumulate_funcs.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#define ACCUM_RAST_TYPE DCELL_TYPE | ||
#define USE_LESS_MEMORY | ||
#define USE_WEIGHT | ||
#include "accumulate_funcs.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#define ACCUM_RAST_TYPE DCELL_TYPE | ||
#define USE_WEIGHT | ||
#include "accumulate_funcs.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#define ACCUM_RAST_TYPE FCELL_TYPE | ||
#define USE_LESS_MEMORY | ||
#define USE_WEIGHT | ||
#include "accumulate_funcs.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#define ACCUM_RAST_TYPE FCELL_TYPE | ||
#define USE_WEIGHT | ||
#include "accumulate_funcs.h" |
Oops, something went wrong.