JDFTx  1.2.0
RealKernel Struct Reference

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 GridInfogInfo
 
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
 

Detailed Description

Special class for storing real reciprocal-space kernels encountered ever so often for convolutions.


The documentation for this struct was generated from the following file: