OpenAtom  Version1.5a
CP_LargeSP_RhoRealSpacePlane.C File Reference

This is the description of the "life" of a CP_LargeSP_RhoRealSpacePlane object. More...

#include "charm++.h"
#include <iostream>
#include <fstream>
#include <cmath>
#include "debug_flags.h"
#include "utility/util.h"
#include "main/cpaimd.h"
#include "fft_slab_ctrl/fftCacheSlab.h"
#include "cp_state_ctrl/CP_State_Plane.h"
#include "src_piny_physics_v1.0/include/class_defs/CP_OPERATIONS/class_cpxcfnctls.h"

Go to the source code of this file.

Functions

bool is_pow2 (int)
 return tru if input is power of 2
 

Variables

CProxy_TimeKeeper TimeKeeperProxy
 
CkVec
< CProxy_CP_Rho_RealSpacePlane > 
UrhoRealProxy
 
CkVec
< CProxy_CP_LargeSP_RhoGSpacePlane > 
UlsRhoGProxy
 
CkVec< CProxy_FFTcache > UfftCacheProxy
 
CkVec< CProxy_GSpaceDriver > UgSpaceDriverProxy
 
CkGroupID mCastGrpId
 Multicast manager group that handles many mcast/redns in the code. Grep for info.
 
Config config
 
int nstates
 

Detailed Description

This is the description of the "life" of a CP_LargeSP_RhoRealSpacePlane object.

At the start of the program, the constructor CP_LargeSP_RhoRealSpacePlane() is called.

The CP_Rho_RealSpacePlanes interpolate onto the larger grid by sending their charge to CP_LargeSP_RhoRealSpacePlane using the acceptRhoR() method.

CP_LargeSP_RhoRealSpacePlane fft transposes this data to CP_LargeSP_RhoGSpacePlane. When CP_LargeSP_RhoGSpacePlane is done interacting with NAMD it fft transposes the updated grid back to CP_LargeSP_RhoRealSpacePlane via acceptLSPRhoG. CP_LargeSP_RhoRealSpacePlane then sends the updated charge grad back to CP_Rho_RealSpacePlane for VKS et al.

Definition in file CP_LargeSP_RhoRealSpacePlane.C.