Special class for storing real reciprocal-space kernels encountered ever so often for convolutions. More...
#include <ScalarField.h>
Public Member Functions | |
RealKernel (const GridInfo &) | |
allocates data (and dataGpu if GPU_ENABLED) | |
void | set () |
call after initializing data on cpu (will copy from data to dataGpu if GPU_ENABLED) | |
Public Attributes | |
const GridInfo & | gInfo |
int | nElem |
number of elements = gInfo.nG | |
double * | data |
cpu data pointer | |
double * | dataGpu |
gpu data pointer (unlike above classes, both cpu and gpu stored simultaneously) | |
double * | dataPref |
points to data or dataGpu depending on GPU_ENABLED | |
Special class for storing real reciprocal-space kernels encountered ever so often for convolutions.