Changes

Jump to: navigation, search

BetaT

6 bytes added, 17:50, 29 March 2017
Original Problems when converting a program to use the GPU
'''
'''for (int k = 0; k <= nx - 1; k++)
if (k*dx >= 0.5 && k*dx <= 1)
{
u[0 * nx + it] = un[1 * nx + it - 1];
u[m * nx + it] = un[m * nx + it - 1] - c*dt / dx*(un[m * nx + it - 1] - un[(m - 1) * nx + it - 1]);
}'''
}'''
212
edits

Navigation menu