repo.or.cz
/
candl.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Clean checking system and add valcheck (check with Valgrind)
[candl.git]
/
tests
/
unitary
/
jacobi1d.c
blob
232d4c587b8388ea529778df8c180569bd789fcc
1
#pragma scop
2
for
(
t
=
0
;
t
<
T
;
t
++) {
3
for
(
i
=
2
;
i
<=
N
+
2
;
i
++)
4
b
[
i
] =
0.33333
* (
a
[
i
-
1
] +
a
[
i
] +
a
[
i
+
1
]);
5
for
(
j
=
2
;
j
<=
N
+
2
;
j
++)
6
a
[
j
] =
b
[
j
];
7
}
8
#pragma endscop