1 |
|
/* |
2 |
|
* Written by Doug Lea with assistance from members of JCP JSR-166 |
3 |
|
* Expert Group and released to the public domain, as explained at |
4 |
< |
* http://creativecommons.org/licenses/publicdomain |
4 |
> |
* http://creativecommons.org/publicdomain/zero/1.0/ |
5 |
|
*/ |
6 |
|
|
7 |
|
// Jacobi iteration on a mesh. Based loosely on a Filaments demo |
10 |
|
|
11 |
|
public class FJJacobi { |
12 |
|
|
13 |
< |
static final int DEFAULT_GRANULARITY = 4096; // 1024; |
13 |
> |
// static final int DEFAULT_GRANULARITY = 4096; |
14 |
> |
static final int DEFAULT_GRANULARITY = 256; |
15 |
|
|
16 |
|
/** |
17 |
|
* The maximum number of matrix cells |