PmePencilX Class Reference

#include <PmeSolver.h>

List of all members.

Public Member Functions

PmePencilX_SDAG_CODE PmePencilX ()
 PmePencilX (CkMigrateMessage *m)
virtual ~PmePencilX ()

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


Constructor & Destructor Documentation

PmePencilX::PmePencilX (  ) 

Definition at line 224 of file PmeSolver.C.

References fftCompute, numStrayAtoms, and pmeTranspose.

00224                        {
00225   __sdag_init();
00226   setMigratable(false);
00227   fftCompute = NULL;
00228   pmeTranspose = NULL;
00229   numStrayAtoms = 0;
00230 }

PmePencilX::PmePencilX ( CkMigrateMessage *  m  ) 

Definition at line 232 of file PmeSolver.C.

References NAMD_bug().

00232                                           {
00233   NAMD_bug("PmePencilX cannot be migrated");
00234 //__sdag_init();
00235   // setMigratable(false);
00236   // fftCompute = NULL;
00237   // pmeTranspose = NULL;
00238 }

PmePencilX::~PmePencilX (  )  [virtual]

Definition at line 240 of file PmeSolver.C.

References fftCompute, and pmeTranspose.

00240                         {
00241   if (fftCompute != NULL) delete fftCompute;
00242   if (pmeTranspose != NULL) delete pmeTranspose;
00243 }


Member Function Documentation

void PmePencilX::initBlockSizes (  )  [protected]

Definition at line 263 of file PmeSolver.C.

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

00263                                 {
00264   blockSizes.resize(pmeGrid.xBlocks);
00265   for (int x=0;x < pmeGrid.xBlocks;x++) {
00266     int i0, i1, j0, j1, k0, k1;
00267     getBlockDim(pmeGrid, Perm_cX_Y_Z, x, thisIndex.y, thisIndex.z,
00268       i0, i1, j0, j1, k0, k1);
00269     int size = (i1-i0+1)*(j1-j0+1)*(k1-k0+1);
00270     blockSizes[x] = size;
00271   }
00272 }


Member Data Documentation

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

Definition at line 203 of file PmeSolver.h.

Referenced by initBlockSizes().

bool PmePencilX::doEnergy [protected]

Definition at line 200 of file PmeSolver.h.

bool PmePencilX::doVirial [protected]

Definition at line 200 of file PmeSolver.h.

FFTCompute* PmePencilX::fftCompute [protected]

Definition at line 201 of file PmeSolver.h.

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

int PmePencilX::imsg [protected]

Definition at line 207 of file PmeSolver.h.

Lattice PmePencilX::lattice [protected]

Definition at line 204 of file PmeSolver.h.

int PmePencilX::numStrayAtoms [protected]

Definition at line 205 of file PmeSolver.h.

Referenced by PmePencilX().

PmeGrid PmePencilX::pmeGrid [protected]

Definition at line 199 of file PmeSolver.h.

Referenced by initBlockSizes().

PmeTranspose* PmePencilX::pmeTranspose [protected]

Definition at line 202 of file PmeSolver.h.

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


The documentation for this class was generated from the following files:
Generated on Wed Sep 20 01:17:19 2017 for NAMD by  doxygen 1.4.7