PmePencilY Class Reference

#include <PmeSolver.h>

List of all members.

Public Member Functions

PmePencilY_SDAG_CODE PmePencilY ()
 PmePencilY (CkMigrateMessage *m)
virtual ~PmePencilY ()

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


Constructor & Destructor Documentation

PmePencilY::PmePencilY (  ) 

Definition at line 292 of file PmeSolver.C.

References fftCompute, numStrayAtoms, and pmeTranspose.

00292                        {
00293   __sdag_init();
00294   setMigratable(false);
00295   fftCompute = NULL;
00296   pmeTranspose = NULL;
00297   numStrayAtoms = 0;
00298 }

PmePencilY::PmePencilY ( CkMigrateMessage *  m  ) 

Definition at line 300 of file PmeSolver.C.

References NAMD_bug().

00300                                           {
00301   NAMD_bug("PmePencilY cannot be migrated");
00302   // __sdag_init();
00303   // setMigratable(false);
00304   // fftCompute = NULL;
00305   // pmeTranspose = NULL;
00306 }

PmePencilY::~PmePencilY (  )  [virtual]

Definition at line 308 of file PmeSolver.C.

References fftCompute, and pmeTranspose.

00308                         {
00309   if (fftCompute != NULL) delete fftCompute;
00310   if (pmeTranspose != NULL) delete pmeTranspose;
00311 }


Member Function Documentation

void PmePencilY::initBlockSizes (  )  [protected]

Definition at line 331 of file PmeSolver.C.

References blockSizes, getBlockDim(), Perm_Y_Z_cX, pmeGrid, and PmeGrid::yBlocks.

00331                                 {
00332   blockSizes.resize(pmeGrid.yBlocks);
00333   for (int y=0;y < pmeGrid.yBlocks;y++) {
00334     int i0, i1, j0, j1, k0, k1;
00335     getBlockDim(pmeGrid, Perm_Y_Z_cX, y, thisIndex.z, thisIndex.x,
00336       i0, i1, j0, j1, k0, k1);
00337     int size = (i1-i0+1)*(j1-j0+1)*(k1-k0+1);
00338     blockSizes[y] = size;
00339   }
00340 }


Member Data Documentation

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

Definition at line 222 of file PmeSolver.h.

Referenced by initBlockSizes().

bool PmePencilY::doEnergy [protected]

Definition at line 219 of file PmeSolver.h.

bool PmePencilY::doVirial [protected]

Definition at line 219 of file PmeSolver.h.

Definition at line 220 of file PmeSolver.h.

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

int PmePencilY::imsg [protected]

Definition at line 226 of file PmeSolver.h.

Definition at line 223 of file PmeSolver.h.

int PmePencilY::numStrayAtoms [protected]

Definition at line 224 of file PmeSolver.h.

Referenced by PmePencilY().

Definition at line 218 of file PmeSolver.h.

Referenced by initBlockSizes().

Definition at line 221 of file PmeSolver.h.

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


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

Generated on 4 Jun 2020 for NAMD by  doxygen 1.6.1