OpenAtom
Version1.5a
|
PhysScratchCache class. More...
#include <PhysScratchCache.h>
Public Member Functions | |
PhysScratchCache (CkMigrateMessage *m) | |
Public Attributes | |
PSSCRATCH * | psscratch |
PhysScratchCache class.
PhysScratchCache is an entirely passive structure for thread safe data scratch spaces used in for various computations. In some future, post C++11, world this could be replaced by thread local storage.
This cannot be a nodegroup unless the scratch structures are protected from data races. Some savings in memory footprint could be realized by a pooling scheme to satisfy simultaneous usage, but the effort implementing that has not yet been sufficiently motivated.
Definition at line 26 of file PhysScratchCache.h.