#include <amr.h>
Public Member Functions | |
Cell2D () | |
Cell2D (_ArrInitMsg *) | |
Cell2D (CkMigrateMessage *msg) | |
void | reg_nbor_msg (int neighbor_side, NeighborMsg *msg) |
virtual void | create_children (_ArrInitMsg **cmsg) |
virtual void | forwardSplitMsg (NeighborMsg *msg, int neighbor_side) |
virtual void | pup (PUP::er &p) |
Pack/unpack routine (called before and after migration). | |
Private Member Functions | |
void | frag_msg (NeighborMsg *, int, int, int, int) |
Definition at line 457 of file amr.h.
Cell2D::Cell2D | ( | _ArrInitMsg * | msg | ) |
Definition at line 1466 of file amr.C.
References Cell::arrayProxy, AmrUserData::createDataWrapper(), Cell::dimension, Cell::doIterations(), Cell::init_cell(), Cell::myIndex, ArrayElement::thisArrayID, Cell::treeSetup(), Cell::type, and Cell::userData.
Cell2D::Cell2D | ( | CkMigrateMessage * | msg | ) | [inline] |
void Cell2D::frag_msg | ( | NeighborMsg * | msg, | |
int | child1_x, | |||
int | child1_y, | |||
int | child2_x, | |||
int | child2_y | |||
) | [private] |
Definition at line 1626 of file amr.C.
References Cell::arrayProxy, Cell::children, AmrUserData::fragment(), NeighborMsg::nborIdx, NeighborMsg::numbits, NeighborMsg::run_until, Cell::userData, and NeighborMsg::which_neighbor.
Referenced by forwardSplitMsg().
void Cell2D::reg_nbor_msg | ( | int | neighbor_side, | |
NeighborMsg * | msg | |||
) | [virtual] |
Reimplemented from Cell.
Definition at line 1547 of file amr.C.
References AmrUserData::combineAndStore(), Cell::myIndex, Cell::nborRecvMsgBuff, Cell::nborRecvMsgCount, Cell::neighbors_reported, BitVec::numbits, NeighborMsg::numbits, AmrUserData::store(), Cell::userData, and BitVec::vec.
void Cell2D::create_children | ( | _ArrInitMsg ** | cmsg | ) | [virtual] |
Reimplemented from Cell.
Definition at line 1504 of file amr.C.
References Cell::arrayProxy, Cell::children, Cell::dimension, index, Cell::myIndex, BitVec::numbits, and BitVec::vec.
void Cell2D::forwardSplitMsg | ( | NeighborMsg * | msg, | |
int | neighbor_side | |||
) | [virtual] |
Reimplemented from Cell.
Definition at line 1598 of file amr.C.
References frag_msg().
virtual void Cell2D::pup | ( | PUP::er & | p | ) | [inline, virtual] |
Pack/unpack routine (called before and after migration).
Reimplemented from Cell.
Definition at line 469 of file amr.h.
References Cell::arrayProxy, PUP::er::isUnpacking(), Cell::pup(), and ArrayElement::thisArrayID.