OpenAtom  Version1.5a
CP_Rho_RealSpacePlane Class Reference
Inheritance diagram for CP_Rho_RealSpacePlane:
CBase_CP_Rho_RealSpacePlane

Public Member Functions

 CP_Rho_RealSpacePlane (CkMigrateMessage *m)
 
 CP_Rho_RealSpacePlane (int, bool, int, int, int, UberCollection)
 This class (array) accepts the real space densities from all the states Performs lots of operations to get exc, eext energies and vks. More...
 
void init ()
 post constructor initialization More...
 
void pup (PUP::er &)
 Pup my variables for migration.
 
void acceptDensity (CkReductionMsg *)
 Data comes from StateRspacePlane once an algorithm step. More...
 
void handleDensityReduction ()
 Handle the memory cleanup and setting of flags when density has all arrived. More...
 
void launchEextRNlG ()
 The density is here : Launch ees NL and ees Ext routines. More...
 
void energyComputation ()
 Compute one part of the EXC energy using PINY CP_exc_calc. More...
 
void fftRhoRtoRhoG ()
 1) Perform FFT of density: Single Transpose method rho(x,y,z) —> rho(gx,gy,z) Double Transpose method rho(x,y,z) —> rho(gx,y,z) More...
 
void launchNLRealFFT ()
 Launch ees-nonlocal real here. More...
 
void sendPartlyFFTRyToGy (int iopt)
 Double Transpose Fwd Send : A(gx,y,z) on the way to A(gx,gy,z) Send so that (y,z) parallelism is switched to (gx,z) More...
 
void acceptRhoGradVksRyToGy (RhoGSFFTMsg *msg)
 Double Transpose Fwd Recv : A(gx,y,z) on the way to A(gx,gy,z) Recv so that (y,z) parallel switched to (gx,z) More...
 
void fftRhoRyToGy (int iopt)
 Double Transpose Fwd FFT : A(gx,y,z) -> A(gx,gy,z) More...
 
void sendPartlyFFTtoRhoG (int)
 The Tranpose to G-space : A(gx,gy,z) on the way to A(gx,gy,gz) Change parallel by gx,z to parallel by {gx,gy} We switch chare arrays here from RhoR to RhoG. More...
 
void acceptGradRhoVks (RhoRSFFTMsg *)
 Accept transpose data from RhoG : receive grad_rho(gy,gx,z) More...
 
void sendPartlyFFTGxToRx (int)
 Double Transpose Bck Send : A(gx,y,z) on the way to A(x,y,z) Send so (gx,z) parallel -> (y,z) parallel. More...
 
void acceptRhoGradVksGxToRx (RhoGSFFTMsg *msg)
 Double Transpose Bck Recv : A(gx,y,z) on the way to A(x,y,z) Recv (gx,z) parallel -> (y,z) parallel. More...
 
void GradCorr ()
 The gradient of the density is now completed. More...
 
void whiteByrdFFT ()
 The white-bird term : First fwfft redefined delrho(r) to delrho(g) then send to RhoGspacePlane. More...
 
void acceptWhiteByrd (RhoRSFFTMsg *msg)
 The white bird vks correction is returned from RhoG : VksW(gx,gy,z) This routine recvs the transpose {gx,gy} to (gx,z) More...
 
void addWhiteByrdVks ()
 Add the VksWhiteByrd to VksTot : Set the done flag. More...
 
void acceptHartVks (RhoHartRSFFTMsg *)
 Accept hartExt transpose data : receive VksHartEext(gx,gy,z) gx,z is parallel. More...
 
void addHartEextVks ()
 Add the VksHartEext to VksTot : Set the done flag. More...
 
void RHartReport ()
 Under ees-eext Rhart chare reports its completion : Set the done flag.
 
void doMulticastCheck ()
 If all the parts of exc-eext-hart are done, invoke blast of vks to states. More...
 
void doMulticast ()
 Send vks back to the states /////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////. More...
 
void exitForDebugging ()
 Glenn's RhoReal exit.
 
void isAtSync (int iter)
 
void ResumeFromSync ()
 
void sendPartlyFFTtoRhoGall ()
 
void acceptGradRhoVksAll (RhoRSFFTMsg *msg)
 Accept transpose data from RhoG : receive grad_rho(gy,gx,z) More...
 

Public Attributes

int listSubFlag
 
int cp_grad_corr_on
 
int ees_eext_on
 
int nplane_rho_x
 
int ngridcEext
 
int ngrida
 
int ngridb
 
int ngridc
 
int iplane_ind
 
int myNgridb
 
int myNplane_rho
 
int nptsExpndA
 
int nptsExpndB
 
int nptsA
 
int nptsB
 
int myBoff
 
int myAoff
 
int countDebug
 
int countFFTRyToGy
 
int rhoRsubplanes
 
int myTime
 
bool doneRhoReal
 
bool doneRHart
 
int recvCountFromGRho
 
int recvCountFromGHartExt
 

Private Attributes

const UberCollection thisInstance
 
int rhoKeeperId
 
int rhoGHelpers
 
int countGradVks [5]
 
int countIntRtoG [5]
 
int countIntGtoR [5]
 
int countWhiteByrd
 
int countRHart
 
int countRHartValue
 
int doneGradRhoVks
 
bool doneWhiteByrd
 
bool doneHartVks
 
double FFTscale
 
double volumeFactor
 
double probScale
 
RhoRealSlab rho_rs
 
CProxySection_CP_State_RealSpacePlane * realSpaceSectionProxyA
 
CProxySection_CP_State_RealSpacePlane * realSpaceSectionCProxyA
 
CProxy_CP_Rho_GSpacePlane rhoGProxy_com
 
CProxy_CP_Rho_GSpacePlane rhoGProxyIGX_com
 
CProxy_CP_Rho_GSpacePlane rhoGProxyIGY_com
 
CProxy_CP_Rho_GSpacePlane rhoGProxyIGZ_com
 
int redCount
 
CkReductionMsg * RedMsg
 

Detailed Description

Definition at line 224 of file CP_State_Plane.h.


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