Reciprocal space complex scalar field data Do not use this data structure directly or from a simple pointer complexScalarFieldTildeData*; work only with complexScalarFieldTilde's. The public functions of complexScalarFieldTildeData can be accessed with -> from the complexScalarFieldTilde.  
 More...
#include <ScalarField.h>
 | 
| 
complexScalarFieldTilde  | clone () const  | 
|   | clone the data (NOTE: assigning complexScalarFieldTilde's makes a new reference to the same data) 
  | 
|   | 
| 
  | complexScalarFieldTildeData (const GridInfo &gInfo, bool onGpu, PrivateTag) | 
|   | called only by complexScalarFieldTildeData::alloc() 
  | 
|   | 
| 
  | FieldData (const GridInfo &gInfo, string category, int nElem, bool onGpu=false) | 
|   | 
| 
void  | copyData (const FieldData< complex > &other) | 
|   | Copy data and scale (used by clone()) 
  | 
|   | 
| 
void  | absorbScale () const | 
|   | Absorb scale factor into data. 
  | 
|   | 
| 
complex *  | data (bool shouldAbsorbScale=true) | 
|   | get a pointer to the actual data (after absorbing the scale factor, unless otherwise specified) 
  | 
|   | 
| 
const complex *  | data (bool shouldAbsorbScale=true) const | 
|   | get a const pointer to the actual data (after absorbing the scale factor, unless otherwise specified) 
  | 
|   | 
| 
complex *  | dataGpu (bool shouldAbsorbScale=true) | 
|   | get a pointer to the actual data (after absorbing the scale factor, unless otherwise specified) 
  | 
|   | 
| 
const complex *  | dataGpu (bool shouldAbsorbScale=true) const | 
|   | get a const pointer to the actual data (after absorbing the scale factor, unless otherwise specified) 
  | 
|   | 
| 
complex *  | dataPref (bool shouldAbsorbScale=true) | 
|   | 
| 
const complex *  | dataPref (bool shouldAbsorbScale=true) const | 
|   | 
| 
void  | zero () | 
|   | initialize to zero 
  | 
|   | 
| 
bool  | isOnGpu () const | 
|   | Check where the data is (for #ifdef simplicity exposed even when no GPU_ENABLED) 
  | 
|   | 
| 
void  | send (int dest, int tag=0) const | 
|   | send to another process 
  | 
|   | 
| 
void  | recv (int src, int tag=0) | 
|   | receive from another process 
  | 
|   | 
| 
void  | bcast (int root=0) | 
|   | synchronize across processes (using value on specified root process) 
  | 
|   | 
| 
void  | allReduce (MPIUtil::ReduceOp op, bool safeMode=false) | 
|   | apply all-to-all reduction 
  | 
|   | 
 | 
| 
const int  | nElem | 
|   | number of elements 
  | 
|   | 
| 
double  | scale | 
|   | overall scale factor of the data array 
  | 
|   | 
| 
const GridInfo &  | gInfo | 
|   | simulation grid info 
  | 
|   | 
Reciprocal space complex scalar field data Do not use this data structure directly or from a simple pointer complexScalarFieldTildeData*; work only with complexScalarFieldTilde's. The public functions of complexScalarFieldTildeData can be accessed with -> from the complexScalarFieldTilde. 
The documentation for this struct was generated from the following file: