OpenAtom  Version1.5a
PhysScratchCache.C
1 
2 #include "charm++.h"
3 #include "cpaimd.h"
4 #include "src_piny_physics_v1.0/include/class_defs/Interface_ctrl.h"
5 #include "PhysScratchCache.h"
6 extern CP readonly_cp;
7 
8 
9 PhysScratchCache::PhysScratchCache()
10 {
11  // allocate the scratches using the dimensions from CP
12  psscratch=new PSSCRATCH(&readonly_cp.cppseudo.nonlocal, &readonly_cp.cpatom_maps);
13 
14 }
15 
16 #include "PhysScratchCache.def.h"
Some basic data structures and the array map classes are defined here.