OpenAtom  Version1.5a
Particle

Compute kinetic energy of the non-interacting electrons and non-local forces based on the particle view of the system, triggered by GSpaceState and overlaps with those computations when possible. More...

Classes

class  CP_State_ParticlePlane
 
class  CP_State_RealParticlePlane
 

Functions

 CP_State_ParticlePlane::CP_State_ParticlePlane (int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, UberCollection)
 The glorious constructor /////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////. More...
 
void CP_State_ParticlePlane::initKVectors ()
 InitKVectors creates local k vectors for this chare and mallocs some memory. More...
 
 CP_State_ParticlePlane::~CP_State_ParticlePlane ()
 The destructor : Carefully about what it malloced and what is not /////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////.
 
void CP_State_ParticlePlane::pup (PUP::er &)
 pup for migration /////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
 
void CP_State_ParticlePlane::launchComputeZs ()
 Entry Method. GSpaceDriver calls this to trigger the launch of the computeZ()s to compute the Z matrix. More...
 
void CP_State_ParticlePlane::computeZ (PPDummyMsg *m)
 Entry Method. More...
 
void CP_State_ParticlePlane::reduceZ (int, int, complex *, complex *, complex *, complex *)
 ReduceZ reduces Zmat over gspace for a particular state for N^3 method /////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////cc. More...
 
void CP_State_ParticlePlane::getForces (int, int, complex *)
 Compute psi forces for the N^3 method /////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////. More...
 
void CP_State_ParticlePlane::setEnlCookie (EnlCookieMsg *m)
 Section reduction cookie N^3 method /////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////. More...
 
int CP_State_ParticlePlane::calcReductionPlaneNum (int)
 Spread the reduction plane numbers around to minimize map collisions for the N^3 method.
 
void CP_State_ParticlePlane::ResumeFromSync ()
 Resume from Sync which is a general routine /////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////.
 
void CP_State_ParticlePlane::lPrioStartNLEes (NLDummyMsg *m)
 = The entry point to the Euler Exponential Spline non-local method. More...
 
void CP_State_ParticlePlane::startNLEes (int)
 = The entry point to the Euler Exponential Spline non-local method. More...
 
void CP_State_ParticlePlane::createNLEesFFTdata ()
 In gspace, create the projector, projPsi /////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////. More...
 
void CP_State_ParticlePlane::FFTNLEesFwd ()
 FFT projPsi(gx,gy,gz) -> projPsi(gx,gy,z) /////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////. More...
 
void CP_State_ParticlePlane::sendToEesRPP ()
 send projPsi(gx,gy,z) to Rspace chare where FFT is completed /////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////// More...
 
void CP_State_ParticlePlane::recvFromEesRPP (GSPPIFFTMsg *msg)
 Receive the projector back modified to generate psi forces A message cannot come back until I have sent!! More...
 
void CP_State_ParticlePlane::FFTNLEesBck ()
 Complete the FFT : projPsif(gx,gy,z) -> projPsif(gx,gy,gz) /////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////. More...
 
void CP_State_ParticlePlane::computeNLEesForces ()
 Compute the Psi forces : If not done, start a new iteration /////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////. More...
 
void CP_State_ParticlePlane::registrationDone (CkReductionMsg *msg)
 = Make sure everyone is registered on the 1st time step
 
void CP_State_RealParticlePlane::printEnlR (CkReductionMsg *m)
 Energy reduction client for ees method! /////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////cc.
 
void CP_State_RealParticlePlane::printEnlRSimp (double, int, int)
 Energy reduction client for ees method! /////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////cc.
 
 CP_State_RealParticlePlane::CP_State_RealParticlePlane (int, int, int, int, int, int, int, int, UberCollection)
 The constructor : Called only once /////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////. More...
 
void CP_State_RealParticlePlane::init ()
 Post construction initialization. More...
 
void CP_State_RealParticlePlane::enlSectDone (CkReductionMsg *m)
 All cookies initialized for enl section, only reduction root receives this /////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////.
 
void CP_State_RealParticlePlane::planeRedSectDone (CkReductionMsg *m)
 All cookies initialized for zmat plane reduction /////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////.
 
void CP_State_RealParticlePlane::initComplete ()
 Initialization and registration done for this chare /////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////.
 
 CP_State_RealParticlePlane::~CP_State_RealParticlePlane ()
 The destructor : never called directly but I guess migration needs it /////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////.
 
void CP_State_RealParticlePlane::recvFromEesGPP (NLFFTMsg *)
 Recv FFT data/psi-projector from CP_StateParticlePlane kicking things off for this Chare. More...
 
void CP_State_RealParticlePlane::FFTNLEesFwdR ()
 Complete the Forward FFT of psi-projector sent from g-space chares /////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////. More...
 
void CP_State_RealParticlePlane::computeZmatEes ()
 Compute the Zmat elements of this iteration : Spawn the section reduction /////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////. More...
 
void CP_State_RealParticlePlane::recvZMatEesSimp (int, double *, int, int, int)
 A chare can be behind by 1 iteration only. More...
 
void CP_State_RealParticlePlane::recvZMatEes (CkReductionMsg *)
 Reduction client of zmat : Here everyone must have the same iteration /////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////. More...
 
void CP_State_RealParticlePlane::computeAtmForcEes (CompAtmForcMsg *msg)
 Use Zmat and ProjPsi to get atmForces, Energy and psiforces /////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////. More...
 
void CP_State_RealParticlePlane::launchFFTControl (int)
 Control launch of FFT based on Rho having more of its act together /////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////.
 
void CP_State_RealParticlePlane::FFTNLEesBckR ()
 Do the FFT of projPsi(x,y,z) to get projPsi(gx,gy,z) /////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////. More...
 
void CP_State_RealParticlePlane::sendToEesGPP ()
 Send the PsiForce NL FFT back to GparticlePlane. More...
 
int CP_State_RealParticlePlane::calcReductionPlaneNum (int)
 spread the reduction plane numbers around to minimize map collisions
 
void CP_State_RealParticlePlane::setPlaneRedCookie (EnlCookieMsg *)
 Recv a dummy message, 1 integer, and set the cookie monster /////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////. More...
 
void CP_State_RealParticlePlane::setEnlCookie (EnlCookieMsg *)
 Recv a dummy message, 1 integer, and set the cookie monster /////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////. More...
 
void CP_State_RealParticlePlane::registrationDone ()
 = Make sure everyone is registered on the 1st time step
 
void CP_State_RealParticlePlane::pup (PUP::er &)
 

Variables

CProxy_ENL_EKE_Collector ENLEKECollectorProxy
 
CProxy_main mainProxy
 
CProxy_InstanceController instControllerProxy
 
CkVec
< CProxy_CP_State_GSpacePlane > 
UgSpacePlaneProxy
 
CkVec< CProxy_GSpaceDriver > UgSpaceDriverProxy
 
CkVec< CProxy_AtomsCache > UatomsCacheProxy
 
CkVec
< CProxy_CP_State_ParticlePlane > 
UparticlePlaneProxy
 
CkVec
< CProxy_CP_State_RealParticlePlane > 
UrealParticlePlaneProxy
 
CkVec< CProxy_StructFactCache > UsfCacheProxy
 
CkVec< CProxy_eesCache > UeesCacheProxy
 
CkVec< CProxy_FFTcache > UfftCacheProxy
 
CkGroupID mCastGrpId
 Multicast manager group that handles many mcast/redns in the code. Grep for info.
 
ComlibInstanceHandle gssPInstance
 
int nstates
 
int nchareG
 
Config config
 

Detailed Description

Compute kinetic energy of the non-interacting electrons and non-local forces based on the particle view of the system, triggered by GSpaceState and overlaps with those computations when possible.

The kinetic energy of non-interacting electrons is expressed (in the computer science parlance) as a ``point by point multiply'' and reduction operation. $$(\hbar^2/2m_e)\sum_{g_x,g_y,g_z\epsilon |{\bf g}|<g_{cut}}\sum_s f_sg^2 |\Psi(s,g_x,g_y,g_z)|^2$$

Life-cycle of a CP_State_ParticlePlane:

The particle-plane array is a shadow of the g-space planes. This means that UparticlePlaneProxy[thisInstance.proxyOffset](s, p) exists on the same processor as UgSpacePlaneProxy[thisInstance.proxyOffset](s, p). Also, both chare arrays have the same number of objects.

The life-cycle of this object involves computation of a portion of the Z-matrix, reduction of the Z matrix over g-space and computing forces using the particle data. ComputeZ is triggered by the arrival of the structure factor for each atom group at the local sfcache.

The computation of the Z-matrix is done in the method computeZ(). Immediately after this, the matrix is reduced using the reduceZ() method. Through the reduceZ() method, a portion of the reduced matrix is available at the zeroth plane of each state.

The reduced matrix is sent from the particle-plane 0 to all the particle planes in the state using the getForces() method, which computes forces and adds these forces to the forces compputed using electron density in the g-space planes.

Important information:

  1. The dimensionality of the Z-matrix depends upon how may orbital levels are considered (l = 0,1...). The current code assumes that only l = 0 is allowed. This has to be changed.
  2. The special point gx=gy=gz=0 is not dealt with.

Function Documentation

void CP_State_RealParticlePlane::computeAtmForcEes ( CompAtmForcMsg msg)

Use Zmat and ProjPsi to get atmForces, Energy and psiforces /////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////.

Unpack the message : Get some sizes : copy out message. : Do not delete msg. Its a nokeep!!!!!!!!!!!!

Check out your B-splines from the cache and get some parameters

Debug yourself

Perform the computation of the atom forces and energy finally

If we are done, send out the energy : HELP HELP Evil Section Multicast

More nasty debuggin

zero the total enl energy if we are done.

Time to make the Psiforces (donuts!)

Do not delete the nokeep message!!!

Definition at line 850 of file CP_State_RealParticlePlane.C.

References CP_State_RealParticlePlane::FFTNLEesBckR(), and mCastGrpId.

void CP_State_ParticlePlane::computeNLEesForces ( )

Compute the Psi forces : If not done, start a new iteration /////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////.

If the nonlocal force computations are barriered, contribute to the reduction

Definition at line 1270 of file CP_State_ParticlePlane.C.

References Config::nfreq_cpnonlocal_eesbk.

Referenced by CP_State_ParticlePlane::FFTNLEesBck().

void CP_State_ParticlePlane::computeZ ( PPDummyMsg m)

Entry Method.

If you got here and you have the latest psi, correct iteration etc. This ensures you have reduced psi for dynamics which you really really need! OK, so the upshot is, get your part of the Zmatrix and then send to the reduction

If you to the `else', you don't have the latest psi (impossible now). Set the flag so Psi can kick off computeZ

Now, Hang out until reduced zmatrix is sent back.

Definition at line 487 of file CP_State_ParticlePlane.C.

void CP_State_RealParticlePlane::computeZmatEes ( )

Compute the Zmat elements of this iteration : Spawn the section reduction /////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////.

Check out your B-splines from the cache

Compute Zmat

Launch section reduction : If !doublePack reduction is still done as doubles

Definition at line 631 of file CP_State_RealParticlePlane.C.

References mCastGrpId, and eesCache::queryCacheRPP().

Referenced by CP_State_RealParticlePlane::FFTNLEesFwdR(), and CP_State_RealParticlePlane::registrationDone().

CP_State_ParticlePlane::CP_State_ParticlePlane ( int  x,
int  y,
int  z,
int  xNL,
int  yNL,
int  zNL,
int  _gSpacePPC,
int  numSfGrps_in,
int  natm_nl_in,
int  natm_nl_grp_max_in,
int  _nstates,
int  _nchareG,
int  _Gstates_per_pe,
int  _numNLiter,
int  _ees_nonlocal,
UberCollection  _instance 
)

The glorious constructor /////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////.

No load balancing and no atsyncing either!

report your status to main

Definition at line 114 of file CP_State_ParticlePlane.C.

CP_State_RealParticlePlane::CP_State_RealParticlePlane ( int  ngridA_in,
int  ngridB_in,
int  ngridC_in,
int  numIterNL_in,
int  zmatSizeMax_in,
int  Rstates_per_pe_in,
int  nChareG_in,
int  ees_nonlocal_in,
UberCollection  _instance 
)

The constructor : Called only once /////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////.

The non-local guts variables

No migration: No atSync load-balancing act

Definition at line 117 of file CP_State_RealParticlePlane.C.

void CP_State_ParticlePlane::createNLEesFFTdata ( )

In gspace, create the projector, projPsi /////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////.

Local pointers and warnings

Setup the projector and then launch the fft

Definition at line 931 of file CP_State_ParticlePlane.C.

References CP_State_ParticlePlane::FFTNLEesFwd(), and Config::nfreq_cpnonlocal_eesfwd.

Referenced by CP_State_ParticlePlane::registrationDone(), and CP_State_ParticlePlane::startNLEes().

void CP_State_ParticlePlane::FFTNLEesBck ( )

Complete the FFT : projPsif(gx,gy,z) -> projPsif(gx,gy,gz) /////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////.

Do the FFT and then compute Psi forces

Definition at line 1199 of file CP_State_ParticlePlane.C.

References CP_State_ParticlePlane::computeNLEesForces(), and FFTcache::doNlFFTRtoG_Gchare().

Referenced by CP_State_ParticlePlane::recvFromEesRPP().

void CP_State_RealParticlePlane::FFTNLEesBckR ( )

Do the FFT of projPsi(x,y,z) to get projPsi(gx,gy,z) /////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////.

Debugging stuff

here is the computation of the fft

Here is the tedious debuggins

Now that the FFT is done, go back to Gspace

Definition at line 1131 of file CP_State_RealParticlePlane.C.

References FFTcache::doNlFFTRtoG_Rchare(), and CP_State_RealParticlePlane::sendToEesGPP().

Referenced by CP_State_RealParticlePlane::computeAtmForcEes().

void CP_State_ParticlePlane::FFTNLEesFwd ( )

FFT projPsi(gx,gy,gz) -> projPsi(gx,gy,z) /////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////.

Do the FFT and then send it to r-space to complete the fft

Definition at line 994 of file CP_State_ParticlePlane.C.

References FFTcache::doNlFFTGtoR_Gchare(), and CP_State_ParticlePlane::sendToEesRPP().

Referenced by CP_State_ParticlePlane::createNLEesFFTdata().

void CP_State_RealParticlePlane::FFTNLEesFwdR ( )

Complete the Forward FFT of psi-projector sent from g-space chares /////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////.

Lots of Ugly debugging stuff

You can't start computing until all the cache stuff has completed.

Definition at line 523 of file CP_State_RealParticlePlane.C.

References CP_State_RealParticlePlane::computeZmatEes().

void CP_State_ParticlePlane::getForces ( int  zmatSize,
int  atmIndex,
complex zmatrixSum_loc 
)

Compute psi forces for the N^3 method /////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////.

Warninging and unpacking

Compute the non-local forces on the coefficients using PINY physics

Forces have been computed, let g-space plane know. This ends the N^3 method

If the nonlocal force computations are barriered, contribute to the reduction

Definition at line 700 of file CP_State_ParticlePlane.C.

void CP_State_RealParticlePlane::init ( )

Post construction initialization.

you can't make sections until the multicast manager is done

Malloc the projector memory, non-local matrix and register with your cache

Choose reduction plane reasonably intelligently

Build section reductions

Setup the comlib to talk to GPP

Definition at line 194 of file CP_State_RealParticlePlane.C.

References CP_State_RealParticlePlane::initComplete(), mCastGrpId, and eesCache::registerCacheRPP().

void CP_State_ParticlePlane::initKVectors ( )

InitKVectors creates local k vectors for this chare and mallocs some memory.

It is invoked from CP_State_GSpacePlane::initGSpace().

It also takes care of the array section creation which needs to wait for the doneInsertion phase

Todo:
: Made this public to remove friendship. Check if this can go back to being private.

Comlib to talk to realPP : used when ees_enl_on==1

realPP proxies are created only if ees_nonlocal is turned on

Register with the SFCache

Create section proxy for ENL reduction ParticlePlane (any state#, reductionPlaneNum) This is used when ees_enl_on ==0

Definition at line 185 of file CP_State_ParticlePlane.C.

References mCastGrpId, eesCache::registerCacheGPP(), and StructFactCache::registerPP().

void CP_State_ParticlePlane::launchComputeZs ( )

Entry Method. GSpaceDriver calls this to trigger the launch of the computeZ()s to compute the Z matrix.

Pushes all relevant computeZ() calls onto the runtime's queue.

Computation for each atomindex is split into a computeZ call to increase the granularity of the computation and prevent it from blocking chares on the critical path as it would if it were a monolithic block of work.

Definition at line 459 of file CP_State_ParticlePlane.C.

Referenced by GSpaceDriver::releaseSFComputeZ().

void CP_State_ParticlePlane::lPrioStartNLEes ( NLDummyMsg msg)

= The entry point to the Euler Exponential Spline non-local method.

Definition at line 836 of file CP_State_ParticlePlane.C.

References CP_State_ParticlePlane::startNLEes().

void CP_State_RealParticlePlane::recvFromEesGPP ( NLFFTMsg msg)

Recv FFT data/psi-projector from CP_StateParticlePlane kicking things off for this Chare.

Make sure you belong here.

Unpack the message, get some local variables and increment counters

Consistency Checking

Copy out the data set and delete the message

You have received packed data (x,y) from processor sendIndex Every real space chare receives the same x,y indicies. For double pack, x=0,1,2,3,4 ... y= {-K ... K} The x increase with processor number. The y are split. The rundescriptor contains all we need to unpack the data. For doublepack : nffty*run[i][j].x + run[i][j].y we store this stuff in the convenient package Pictorially a half cylinder is sent which is unpacked into a half cube for easy FFTing. Y is the inner index.

When you have collected the full data set, continue

Definition at line 406 of file CP_State_RealParticlePlane.C.

void CP_State_ParticlePlane::recvFromEesRPP ( GSPPIFFTMsg msg)

Receive the projector back modified to generate psi forces A message cannot come back until I have sent!!

unpack, check sizes, iteration numbers, and if you could be overwriting memory

Copy out the data and delete the message

When everything is here, continue the computation

Definition at line 1134 of file CP_State_ParticlePlane.C.

References CP_State_ParticlePlane::FFTNLEesBck().

void CP_State_RealParticlePlane::recvZMatEes ( CkReductionMsg *  msg)

Reduction client of zmat : Here everyone must have the same iteration /////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////.

Some debuggin

Recv the reduced zmatrix into zmat and chuck the message

Bcast the puppy dog back out to your friends : Bow-Wow-Wow

Definition at line 789 of file CP_State_RealParticlePlane.C.

void CP_State_RealParticlePlane::recvZMatEesSimp ( int  size,
double *  _zmat,
int  state,
int  index,
int  iterNL_in 
)

A chare can be behind by 1 iteration only.

This message can arrive before this chare has sent its zmat. This chare must therefore recv in zmatScr

check for errors

Recv the reduced zmatrix and chuck the message. Recv into scratch because it could be this chare has not yet contributed and you would overwrite critical data if you used zmat[]

Bcast the puppy dog back out to your friends : Bow-Wow-Wow

Definition at line 708 of file CP_State_RealParticlePlane.C.

void CP_State_ParticlePlane::reduceZ ( int  size,
int  atmIndex,
complex zmatrix_,
complex zmatrix_fx_,
complex zmatrix_fy_,
complex zmatrix_fz_ 
)

ReduceZ reduces Zmat over gspace for a particular state for N^3 method /////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////cc.

This method is invoked only CP_State_ParticlePlane(*,reductionPlaneNum) CkPrintf("PP [%d %d] reduceZ\n",thisIndex.x, thisIndex.y);

Now we have contributions from all the other gspace planes in this state. Calculate the energies and atoms forces. Normalize ZmatrixSum

Definition at line 577 of file CP_State_ParticlePlane.C.

References mCastGrpId.

void CP_State_RealParticlePlane::sendToEesGPP ( )

Send the PsiForce NL FFT back to GparticlePlane.

Until ALL RealPP chares send forces, PP cannot start the next iteration

== Perform the transpose and then the blast off the final 1D-FFT

If it looks like this is the end, reset my counters baby. If its not the end, GParticlePlane will invoke the entry methods again

Definition at line 1226 of file CP_State_RealParticlePlane.C.

Referenced by CP_State_RealParticlePlane::FFTNLEesBckR().

void CP_State_ParticlePlane::sendToEesRPP ( )

send projPsi(gx,gy,z) to Rspace chare where FFT is completed /////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////

Do a Comlib Dance

Send your (x,y,z) to processors z.

Todo:
: realPP_proxy is initialized in initKVectors only if nloc_on is true. Should we check the same here too?

Turn off commlib

Definition at line 1064 of file CP_State_ParticlePlane.C.

Referenced by CP_State_ParticlePlane::FFTNLEesFwd().

void CP_State_ParticlePlane::setEnlCookie ( EnlCookieMsg m)

Section reduction cookie N^3 method /////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////.

Do not delete msg. Its a nokeep.

Definition at line 779 of file CP_State_ParticlePlane.C.

void CP_State_RealParticlePlane::setEnlCookie ( EnlCookieMsg m)

Recv a dummy message, 1 integer, and set the cookie monster /////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////.

Do not delete msg. Its a nokeep.

Definition at line 1355 of file CP_State_RealParticlePlane.C.

References CP_State_RealParticlePlane::initComplete(), and mCastGrpId.

void CP_State_RealParticlePlane::setPlaneRedCookie ( EnlCookieMsg m)

Recv a dummy message, 1 integer, and set the cookie monster /////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////.

Do not delete msg. Its a nokeep.

Definition at line 1323 of file CP_State_RealParticlePlane.C.

References CP_State_RealParticlePlane::initComplete(), and mCastGrpId.

void CP_State_ParticlePlane::startNLEes ( int  iteration_in)

= The entry point to the Euler Exponential Spline non-local method.

= Increment counters, Check for inconsistancies

= Lets boogy : provided we have registered and we are not trying to do some bogus iteration

TODO: Remove unused var gsp

If the nonlocal force computations are barriered, contribute to the reduction

Definition at line 849 of file CP_State_ParticlePlane.C.

References CP_State_ParticlePlane::createNLEesFFTdata().

Referenced by CP_State_ParticlePlane::lPrioStartNLEes(), and GSpaceDriver::startNonLocalEes().