PmePencilXY Class Reference

#include <PmeSolver.h>

List of all members.

Public Member Functions

PmePencilXY_SDAG_CODE PmePencilXY ()
 PmePencilXY (CkMigrateMessage *m)
virtual ~PmePencilXY ()

Protected Member Functions

void initBlockSizes ()

Protected Attributes

PmeGrid pmeGrid
bool doEnergy
bool doVirial
FFTComputefftCompute
PmeTransposepmeTranspose
std::vector< int > blockSizes
Lattice lattice
int numStrayAtoms
int imsg


Detailed Description

Definition at line 165 of file PmeSolver.h.


Constructor & Destructor Documentation

PmePencilXY::PmePencilXY (  ) 

Definition at line 123 of file PmeSolver.C.

References fftCompute, and pmeTranspose.

00123                          {
00124   __sdag_init();
00125   setMigratable(false);
00126   fftCompute = NULL;
00127   pmeTranspose = NULL;
00128 }

PmePencilXY::PmePencilXY ( CkMigrateMessage *  m  ) 

Definition at line 130 of file PmeSolver.C.

References NAMD_bug().

00130                                             {
00131   NAMD_bug("PmePencilXY cannot be migrated");
00132 //__sdag_init();
00133   // setMigratable(false);
00134   // fftCompute = NULL;
00135   // pmeTranspose = NULL;
00136 }

PmePencilXY::~PmePencilXY (  )  [virtual]

Definition at line 138 of file PmeSolver.C.

References fftCompute, and pmeTranspose.

00138                           {
00139   if (fftCompute != NULL) delete fftCompute;
00140   if (pmeTranspose != NULL) delete pmeTranspose;
00141 }


Member Function Documentation

void PmePencilXY::initBlockSizes (  )  [protected]

Definition at line 161 of file PmeSolver.C.

References blockSizes, getBlockDim(), Perm_cX_Y_Z, pmeGrid, x, and PmeGrid::xBlocks.

00161                                  {
00162   blockSizes.resize(pmeGrid.xBlocks);
00163   for (int x=0;x < pmeGrid.xBlocks;x++) {
00164     int i0, i1, j0, j1, k0, k1;
00165     getBlockDim(pmeGrid, Perm_cX_Y_Z, x, 0, thisIndex.z,
00166       i0, i1, j0, j1, k0, k1);
00167     int size = (i1-i0+1)*(j1-j0+1)*(k1-k0+1);
00168     blockSizes[x] = size;
00169   }
00170 }


Member Data Documentation

std::vector<int> PmePencilXY::blockSizes [protected]

Definition at line 176 of file PmeSolver.h.

Referenced by initBlockSizes().

bool PmePencilXY::doEnergy [protected]

Definition at line 173 of file PmeSolver.h.

bool PmePencilXY::doVirial [protected]

Definition at line 173 of file PmeSolver.h.

FFTCompute* PmePencilXY::fftCompute [protected]

Definition at line 174 of file PmeSolver.h.

Referenced by PmePencilXY(), and ~PmePencilXY().

int PmePencilXY::imsg [protected]

Definition at line 180 of file PmeSolver.h.

Lattice PmePencilXY::lattice [protected]

Definition at line 177 of file PmeSolver.h.

int PmePencilXY::numStrayAtoms [protected]

Definition at line 178 of file PmeSolver.h.

PmeGrid PmePencilXY::pmeGrid [protected]

Definition at line 172 of file PmeSolver.h.

Referenced by initBlockSizes().

PmeTranspose* PmePencilXY::pmeTranspose [protected]

Definition at line 175 of file PmeSolver.h.

Referenced by PmePencilXY(), and ~PmePencilXY().


The documentation for this class was generated from the following files:
Generated on Tue Nov 21 01:17:20 2017 for NAMD by  doxygen 1.4.7