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 157 of file PmeSolver.h.


Constructor & Destructor Documentation

PmePencilXY::PmePencilXY (  ) 

Definition at line 121 of file PmeSolver.C.

References fftCompute, and pmeTranspose.

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

PmePencilXY::PmePencilXY ( CkMigrateMessage *  m  ) 

Definition at line 128 of file PmeSolver.C.

References NAMD_bug().

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

PmePencilXY::~PmePencilXY (  )  [virtual]

Definition at line 136 of file PmeSolver.C.

References fftCompute, and pmeTranspose.

00136                           {
00137   if (fftCompute != NULL) delete fftCompute;
00138   if (pmeTranspose != NULL) delete pmeTranspose;
00139 }


Member Function Documentation

void PmePencilXY::initBlockSizes (  )  [protected]

Definition at line 159 of file PmeSolver.C.

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

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


Member Data Documentation

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

Definition at line 168 of file PmeSolver.h.

Referenced by initBlockSizes().

bool PmePencilXY::doEnergy [protected]

Definition at line 165 of file PmeSolver.h.

bool PmePencilXY::doVirial [protected]

Definition at line 165 of file PmeSolver.h.

Definition at line 166 of file PmeSolver.h.

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

int PmePencilXY::imsg [protected]

Definition at line 172 of file PmeSolver.h.

Definition at line 169 of file PmeSolver.h.

int PmePencilXY::numStrayAtoms [protected]

Definition at line 170 of file PmeSolver.h.

Definition at line 164 of file PmeSolver.h.

Referenced by initBlockSizes().

Definition at line 167 of file PmeSolver.h.

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


The documentation for this class was generated from the following files:

Generated on 4 Jun 2020 for NAMD by  doxygen 1.6.1