-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Andreu Glasmann
authored and
Andreu Glasmann
committed
Apr 27, 2016
1 parent
dab628f
commit d2df7bf
Showing
3 changed files
with
129 additions
and
9 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 |
---|---|---|
@@ -1,4 +1,6 @@ | ||
void redBlackSerial(double * T, double * b, | ||
int n, int m, double alpha, int itermax); | ||
void redBlackParallel(double * T, double * b, | ||
int n, int m, double alpha, int itermax); | ||
int getIndex(int x, int y, int width); | ||
double computeResidual(double * T, double * b, int n, int m, double alpha); |
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