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


Constructor & Destructor Documentation

PmePencilX::PmePencilX (  ) 

Definition at line 222 of file PmeSolver.C.

References fftCompute, numStrayAtoms, and pmeTranspose.

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

PmePencilX::PmePencilX ( CkMigrateMessage *  m  ) 

Definition at line 230 of file PmeSolver.C.

References NAMD_bug().

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

PmePencilX::~PmePencilX (  )  [virtual]

Definition at line 238 of file PmeSolver.C.

References fftCompute, and pmeTranspose.

00238                         {
00239   if (fftCompute != NULL) delete fftCompute;
00240   if (pmeTranspose != NULL) delete pmeTranspose;
00241 }


Member Function Documentation

void PmePencilX::initBlockSizes (  )  [protected]

Definition at line 261 of file PmeSolver.C.

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

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


Member Data Documentation

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

Definition at line 195 of file PmeSolver.h.

Referenced by initBlockSizes().

bool PmePencilX::doEnergy [protected]

Definition at line 192 of file PmeSolver.h.

bool PmePencilX::doVirial [protected]

Definition at line 192 of file PmeSolver.h.

Definition at line 193 of file PmeSolver.h.

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

int PmePencilX::imsg [protected]

Definition at line 199 of file PmeSolver.h.

Definition at line 196 of file PmeSolver.h.

int PmePencilX::numStrayAtoms [protected]

Definition at line 197 of file PmeSolver.h.

Referenced by PmePencilX().

Definition at line 191 of file PmeSolver.h.

Referenced by initBlockSizes().

Definition at line 194 of file PmeSolver.h.

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


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

Generated on 4 Jun 2020 for NAMD by  doxygen 1.6.1