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


Constructor & Destructor Documentation

PmePencilY::PmePencilY (  ) 

Definition at line 294 of file PmeSolver.C.

References fftCompute, numStrayAtoms, and pmeTranspose.

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

PmePencilY::PmePencilY ( CkMigrateMessage *  m  ) 

Definition at line 302 of file PmeSolver.C.

References NAMD_bug().

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

PmePencilY::~PmePencilY (  )  [virtual]

Definition at line 310 of file PmeSolver.C.

References fftCompute, and pmeTranspose.

00310                         {
00311   if (fftCompute != NULL) delete fftCompute;
00312   if (pmeTranspose != NULL) delete pmeTranspose;
00313 }


Member Function Documentation

void PmePencilY::initBlockSizes (  )  [protected]

Definition at line 333 of file PmeSolver.C.

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

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


Member Data Documentation

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

Definition at line 230 of file PmeSolver.h.

Referenced by initBlockSizes().

bool PmePencilY::doEnergy [protected]

Definition at line 227 of file PmeSolver.h.

bool PmePencilY::doVirial [protected]

Definition at line 227 of file PmeSolver.h.

FFTCompute* PmePencilY::fftCompute [protected]

Definition at line 228 of file PmeSolver.h.

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

int PmePencilY::imsg [protected]

Definition at line 234 of file PmeSolver.h.

Lattice PmePencilY::lattice [protected]

Definition at line 231 of file PmeSolver.h.

int PmePencilY::numStrayAtoms [protected]

Definition at line 232 of file PmeSolver.h.

Referenced by PmePencilY().

PmeGrid PmePencilY::pmeGrid [protected]

Definition at line 226 of file PmeSolver.h.

Referenced by initBlockSizes().

PmeTranspose* PmePencilY::pmeTranspose [protected]

Definition at line 229 of file PmeSolver.h.

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


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