Collimator physics for MIC fix

This commit is contained in:
Uldis Locans
2016-11-16 18:12:17 +01:00
parent 027bdc01f5
commit 87cdf52f07
8 changed files with 75 additions and 53 deletions

View File

@@ -30,7 +30,7 @@ public:
/* destructor */
~CudaGreensFunction();
/*
/**
Info: calc itegral on device memory (taken from OPAL src code)
Return: success or error code
*/
@@ -38,20 +38,20 @@ public:
double hr_m0, double hr_m1, double hr_m2,
int streamId = -1);
/*
/**
Info: integration of rho2_m field (taken from OPAL src code)
Return: success or error code
*/
int cuda_IntegrationGreensFunction(void *rho2_m, void *tmpgreen, int I, int J, int K,
int streamId = -1);
/*
/**
Info: mirror rho field (taken from OPAL src code)
Return: succes or error code
*/
int cuda_MirrorRhoField(void *mem_ptr, int I, int J, int K, int streamId = -1);
/*
/**
Info: multiply complex fields already on the GPU memory, result will be put in ptr1
Return: success or error code
*/