Open main menu
CDOT Wiki
β
Search
Changes
← Older edit
Newer edit →
BetaT
20 bytes added
,
18:15, 29 March 2017
→
Optimizing Problems
'''
__global__ void Calculate (double* u, double* un,int nx, int c, double dx, double dt)
{
{
for (int it = 1; it <= nx - 1; it++)
{
for (int k = 0; k <= nx - 1; k++)
{
un[k * nx + it - 1] = u[k * nx + it - 1];
Jadach1
212
edits