Cache interface to the particles for smooth calculations. This cache is a writeback cache. More...
#include <CacheInterface.h>
Public Member Functions | |
void * | request (CkArrayIndexMax &, KeyType) |
Request a bucket of particles from a TreePiece. | |
void * | unpack (CkCacheFillMsg< KeyType > *, int, CkArrayIndexMax &) |
Return data from fufilled cache request. | |
void | writeback (CkArrayIndexMax &, KeyType, void *) |
Send the message back to the original TreePiece. | |
void | free (void *) |
free cached data. | |
int | size (void *) |
return size of cached data. | |
Static Public Member Functions | |
static void | callback (CkArrayID, CkArrayIndexMax &, KeyType, CkCacheUserData &, void *, int) |
callback to TreePiece after data is received. | |
Cache interface to the particles for smooth calculations. This cache is a writeback cache.