 //******************************************************************************
 __global__ 
 void moveParticles(float2 d_partLoc[], float3 d_partVel[],
-                   const float ex[], const float ey[],
                    const unsigned int numParticles,
                    const float mass,
                    const unsigned int NX1, const unsigned int NY1)

#include "particle_allocator.h"
#include "pic_utils.h"

//texture<float, 1, cudaReadModeElementType > exTex;
//texture<float, 1, cudaReadModeElementType > eyTex;

__global__
void checkBoundaryConditions(float2 location[], int numParticles, int height, int width, 

   checkForCudaError("Before moveParticles");
   moveParticles<<<numBlocks, blockSize, 0, stream>>>(
      partLoc.getPtr(), partVel.getPtr(),
      numParticles, mass, NX1, NY1);
   checkForCudaError("moveParticles");

