Clean checking system and add valcheck (check with Valgrind)
[candl.git] / tests / unitary / jacobi1d.c
blob232d4c587b8388ea529778df8c180569bd789fcc
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];
8 #pragma endscop