#include <amr.h>
Public Member Functions | |
AmrCoordinator () | |
AmrCoordinator (_DMsg *msg) | |
AmrCoordinator (StartUpMsg *msg) | |
AmrCoordinator (CkMigrateMessage *msg) | |
void | synchronise (_RedMsg *msg) |
void | create_tree () |
void | reportStats (_StatCollMsg *m) |
void | resetClock () |
Private Attributes | |
CProxy_Cell | arrayProxy |
int | synchInterval |
int | depth |
int | dimension |
int | totalIterations |
CkChareID | myHandle |
int | statCollection |
CkGroupID | gid |
int | leaves |
int | refine |
int | arefine |
int | migrations |
int | statMsgs |
double | startTime |
int | phase |
int | phaseStep |
Definition at line 273 of file amr.h.
AmrCoordinator::AmrCoordinator | ( | _DMsg * | msg | ) |
Definition at line 16 of file amr.C.
References arrayProxy, create_tree(), depth, dimension, myHandle, phase, phaseStep, statCollection, synchInterval, Chare::thishandle, and totalIterations.
AmrCoordinator::AmrCoordinator | ( | StartUpMsg * | msg | ) |
Definition at line 42 of file amr.C.
References arrayProxy, create_tree(), StartUpMsg::depth, depth, StartUpMsg::dimension, dimension, gid, myHandle, phase, phaseStep, startTime, StartUpMsg::statCollection, statCollection, StartUpMsg::synchInterval, synchInterval, Chare::thishandle, StartUpMsg::totalIterations, and totalIterations.
AmrCoordinator::AmrCoordinator | ( | CkMigrateMessage * | msg | ) | [inline] |
void AmrCoordinator::synchronise | ( | _RedMsg * | msg | ) |
Definition at line 88 of file amr.C.
References arefine, arrayProxy, CkExit(), gid, leaves, migrations, phase, refine, resetClock(), statCollection, statMsgs, and _RedMsg::type.
void AmrCoordinator::create_tree | ( | ) |
Definition at line 157 of file amr.C.
References arrayProxy, depth, dimension, gid, index, msg, myHandle, BitVec::numbits, root, statCollection, synchInterval, totalIterations, and BitVec::vec.
Referenced by AmrCoordinator().
void AmrCoordinator::reportStats | ( | _StatCollMsg * | m | ) |
Definition at line 200 of file amr.C.
References arefine, _StatCollMsg::aRefineCount, CkExit(), Converse::CkNumPes(), leaves, _StatCollMsg::migCount, migrations, _StatCollMsg::msgExpected, _StatCollMsg::pnum, refine, _StatCollMsg::refineCount, and statMsgs.
void AmrCoordinator::resetClock | ( | ) |
Definition at line 141 of file amr.C.
References phaseStep, and startTime.
Referenced by synchronise().
CProxy_Cell AmrCoordinator::arrayProxy [private] |
Definition at line 275 of file amr.h.
Referenced by AmrCoordinator(), create_tree(), and synchronise().
int AmrCoordinator::synchInterval [private] |
int AmrCoordinator::depth [private] |
int AmrCoordinator::dimension [private] |
int AmrCoordinator::totalIterations [private] |
CkChareID AmrCoordinator::myHandle [private] |
int AmrCoordinator::statCollection [private] |
Definition at line 282 of file amr.h.
Referenced by AmrCoordinator(), create_tree(), and synchronise().
CkGroupID AmrCoordinator::gid [private] |
Definition at line 283 of file amr.h.
Referenced by AmrCoordinator(), create_tree(), and synchronise().
int AmrCoordinator::leaves [private] |
int AmrCoordinator::refine [private] |
int AmrCoordinator::arefine [private] |
int AmrCoordinator::migrations [private] |
int AmrCoordinator::statMsgs [private] |
double AmrCoordinator::startTime [private] |
int AmrCoordinator::phase [private] |
int AmrCoordinator::phaseStep [private] |