PPL Logo

AmrUserData Class Reference

#include <amr.h>

Inheritance diagram for AmrUserData:

Inheritance graph
[legend]
Collaboration diagram for AmrUserData:

Collaboration graph
[legend]

Public Member Functions

 AmrUserData ()
 AmrUserData (CkMigrateMessage *m)
virtual void init ()
NeighborMsg ** fragment (NeighborMsg *msg, int nMsg)
void combineAndStore (NeighborMsg *msg1, NeighborMsg *msg2)
void combineAndStore (NeighborMsg *msg1, NeighborMsg *msg2, NeighborMsg *msg3, NeighborMsg *msg4)
void store (NeighborMsg *msg)
bool isOnNegXBoundary ()
bool isOnPosXBoundary ()
bool isOnNegYBoundary ()
bool isOnPosYBoundary ()
bool isOnNegZBoundary ()
bool isOnPosZBoundary ()
virtual void ** fragmentNborData (void *data, int *sizePtr)
virtual void ** getNborMsgArray (int *sizePtr)
virtual void store (void *data, int dataSize, int neighborSide)
virtual void combineAndStore (void **dataArray, int dataSize, int neighborSide)
virtual bool refineCriterion (void)
virtual void ** fragmentForRefine (int *sizePtr)
virtual void doComputation (void)
virtual void pup (PUP::er &p)
 PUPable_decl (AmrUserData)
virtual ~AmrUserData ()

Static Public Member Functions

static AmrUserDatacreateDataWrapper (BitVec idx, int dim)
static AmrUserDatacreateDataWrapper (BitVec idx, int dim, void *data, int dataSize)
static AmrUserDatacreateData ()
static AmrUserDatacreateData (void *data, int dataSize)
static void deleteNborData (void *data)
static void deleteChildData (void *data)

Data Fields

BitVec myIndex

Private Attributes

int dimension

Detailed Description

Definition at line 33 of file amr.h.


Constructor & Destructor Documentation

AmrUserData::AmrUserData (  )  [inline]

Definition at line 37 of file amr.h.

AmrUserData::AmrUserData ( CkMigrateMessage m  )  [inline]

Definition at line 38 of file amr.h.

virtual AmrUserData::~AmrUserData (  )  [inline, virtual]

Definition at line 128 of file amr.h.


Member Function Documentation

virtual void AmrUserData::init ( void   )  [inline, virtual]

Definition at line 39 of file amr.h.

Referenced by createDataWrapper().

Here is the caller graph for this function:

static AmrUserData* AmrUserData::createDataWrapper ( BitVec  idx,
int  dim 
) [inline, static]

Definition at line 41 of file amr.h.

References createData(), dimension, init(), and myIndex.

Referenced by Cell1D::Cell1D(), Cell2D::Cell2D(), Cell3D::Cell3D(), and Cell::change_to_leaf().

Here is the call graph for this function:

Here is the caller graph for this function:

static AmrUserData* AmrUserData::createDataWrapper ( BitVec  idx,
int  dim,
void *  data,
int  dataSize 
) [inline, static]

Definition at line 49 of file amr.h.

References createData(), dimension, init(), and myIndex.

Here is the call graph for this function:

static AmrUserData* AmrUserData::createData (  )  [static]

Referenced by createDataWrapper().

Here is the caller graph for this function:

static AmrUserData* AmrUserData::createData ( void *  data,
int  dataSize 
) [static]

static void AmrUserData::deleteNborData ( void *  data  )  [static]

Referenced by NeighborMsg::~NeighborMsg().

Here is the caller graph for this function:

static void AmrUserData::deleteChildData ( void *  data  )  [static]

Referenced by ChildInitMsg::~ChildInitMsg().

Here is the caller graph for this function:

NeighborMsg ** AmrUserData::fragment ( NeighborMsg msg,
int  nMsg 
)

Definition at line 2018 of file amr.C.

References NeighborMsg::data, NeighborMsg::dataSize, fragmentNborData(), and size.

Referenced by Cell3D::frag_msg(), and Cell2D::frag_msg().

Here is the call graph for this function:

Here is the caller graph for this function:

void AmrUserData::combineAndStore ( NeighborMsg msg1,
NeighborMsg msg2 
)

Definition at line 2032 of file amr.C.

References NeighborMsg::data, data, NeighborMsg::dataSize, and NeighborMsg::which_neighbor.

Referenced by combineAndStore(), Cell3D::reg_nbor_msg(), and Cell2D::reg_nbor_msg().

Here is the caller graph for this function:

void AmrUserData::combineAndStore ( NeighborMsg msg1,
NeighborMsg msg2,
NeighborMsg msg3,
NeighborMsg msg4 
)

Definition at line 2045 of file amr.C.

References combineAndStore(), NeighborMsg::data, data, NeighborMsg::dataSize, and NeighborMsg::which_neighbor.

Here is the call graph for this function:

void AmrUserData::store ( NeighborMsg msg  ) 

Definition at line 2059 of file amr.C.

References NeighborMsg::data, NeighborMsg::dataSize, and NeighborMsg::which_neighbor.

Referenced by Cell1D::reg_nbor_msg(), Cell3D::reg_nbor_msg(), and Cell2D::reg_nbor_msg().

Here is the caller graph for this function:

bool AmrUserData::isOnNegXBoundary (  )  [inline]

Definition at line 71 of file amr.h.

References myIndex, and BitVec::vec.

bool AmrUserData::isOnPosXBoundary (  )  [inline]

Definition at line 74 of file amr.h.

References dimension, myIndex, BitVec::numbits, and BitVec::vec.

bool AmrUserData::isOnNegYBoundary (  )  [inline]

Definition at line 84 of file amr.h.

References myIndex, and BitVec::vec.

bool AmrUserData::isOnPosYBoundary (  )  [inline]

Definition at line 88 of file amr.h.

References dimension, myIndex, BitVec::numbits, and BitVec::vec.

bool AmrUserData::isOnNegZBoundary (  )  [inline]

Definition at line 98 of file amr.h.

References myIndex, and BitVec::vec.

bool AmrUserData::isOnPosZBoundary (  )  [inline]

Definition at line 102 of file amr.h.

References dimension, myIndex, BitVec::numbits, and BitVec::vec.

virtual void** AmrUserData::fragmentNborData ( void *  data,
int sizePtr 
) [inline, virtual]

Definition at line 112 of file amr.h.

Referenced by fragment().

Here is the caller graph for this function:

virtual void** AmrUserData::getNborMsgArray ( int sizePtr  )  [inline, virtual]

Definition at line 113 of file amr.h.

Referenced by Cell::doIterations().

Here is the caller graph for this function:

virtual void AmrUserData::store ( void *  data,
int  dataSize,
int  neighborSide 
) [inline, virtual]

Definition at line 115 of file amr.h.

virtual void AmrUserData::combineAndStore ( void **  dataArray,
int  dataSize,
int  neighborSide 
) [inline, virtual]

Definition at line 116 of file amr.h.

virtual bool AmrUserData::refineCriterion ( void   )  [inline, virtual]

Definition at line 117 of file amr.h.

Referenced by Cell::refineExec().

Here is the caller graph for this function:

virtual void** AmrUserData::fragmentForRefine ( int sizePtr  )  [inline, virtual]

Definition at line 120 of file amr.h.

Referenced by Cell::refine().

Here is the caller graph for this function:

virtual void AmrUserData::doComputation ( void   )  [inline, virtual]

Definition at line 121 of file amr.h.

Referenced by Cell::neighbor_data().

Here is the caller graph for this function:

virtual void AmrUserData::pup ( PUP::er p  )  [inline, virtual]

Reimplemented from PUP::able.

Definition at line 122 of file amr.h.

References dimension, myIndex, p, BitVec::pup(), and PUP::able::pup().

Here is the call graph for this function:

AmrUserData::PUPable_decl ( AmrUserData   ) 


Field Documentation

Definition at line 34 of file amr.h.

Referenced by createDataWrapper(), isOnPosXBoundary(), isOnPosYBoundary(), isOnPosZBoundary(), and pup().


The documentation for this class was generated from the following files:

Generated on Mon Sep 21 08:17:26 2020 for Charm++ by  doxygen 1.5.5