 
 	right[gid] = sR[tid];
 	left[gid] = sL[tid];
-	__syncthreads();
-
-	}
 
 }
+
 
 __global__ void downTriangle(REAL *IC, REAL *right, REAL *left)
 {

	}
	else
	{
		sL[tid] = right[blockDim.x*(blockDim.x-1) + tid];
	}

	__syncthreads();

	//Initialize temper. Kind of an unrolled for loop.  This is actually at
	//Timestep 0.
	temper[15] = sL[0];
	temper[16] = sL[1];
	temper[17] = sR[0];


#include <iostream>
#include <cmath>
//#include <stdlib>
#include <ostream>
#include <fstream>
#include <math.h>

using namespace std;

// Define Given Parameters.
#define DIVISIONS  1024.
#define LENX       50.
#define TS         .5
