Changes

Jump to: navigation, search

BetaT

4 bytes added, 21:13, 9 April 2017
Original Problems when converting a program to use the GPU
'''
for (int i=0; i <= nx-1; i++)
{
if (i*dx >= 0.5 && i*dx <= 1)
u[i][it] = un[i][it-1] - c*dt/dx*(un[i][it-1]-un[i-1][it-1]);
}
}'''
212
edits

Navigation menu