Open main menu

CDOT Wiki β

Changes

BetaT

5 bytes added, 21:13, 9 April 2017
Original Problems when converting a program to use the GPU
u[k * nt + 0] = 1;
}
for (int it = 1; it <= nx - 1; it++)
{
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