OpenAtom  Version1.5a
energyGroup.h
Go to the documentation of this file.
1 /** \file energyGroup.h
2  */
3 #ifndef ENERGYGROUP_H
4 #define ENERGYGROUP_H
5 #include "uber/Uber.h"
6 #include "energy.h"
7 #include "EnergyGroup.decl.h"
8 #include "CPcharmParaInfo.decl.h"
9 
10 
11 
12 /** EnergyGroup class.
13  */
14 class EnergyGroup : public Group {
15 
16  public:
17  const UberCollection thisInstance;
18  EnergyStruct estruct;
19  EnergyGroup(UberCollection thisInstance);
20  int iteration_gsp;
21  int iteration_atm;
22  int kpointEnergyDoneCount;
24  void energyDone(CkReductionMsg *);
25  void energyDone();
26  void sendToTemper(CkReductionMsg *);
27  void resumeFromTemper();
28 
29  inline EnergyStruct getEnergyStruct(){return estruct;}
30  private:
31  int ktemps;
32 };
33 /*EnergyStruct GetEnergyStruct();*/
34 //////////////////////////////////////////////////////////////////////////////
35 
36 #endif // ENERGYGROUP
holds the UberIndex and the offset for proxies
Definition: Uber.h:68
void updateEnergiesFromGS(EnergyStruct &, UberCollection)
CP_StateGspacePlane(0,0) calls this to replicate the energies everywhere for consistency and toleranc...
Definition: energyGroup.C:69
EnergyGroup(UberCollection thisInstance)
= Energy group that can retrieve the energies from
Definition: energyGroup.C:19
void energyDone()
= Needs to have each proc invoke directly the doneComputingEnergy method of the GSpaceDrivers which a...
Definition: energyGroup.C:172
EnergyGroup class.
Definition: energyGroup.h:14