OpenAtom  Version1.5a
PhysScratchCache Class Reference

PhysScratchCache class. More...

#include <PhysScratchCache.h>

Inheritance diagram for PhysScratchCache:
Group

Public Member Functions

 PhysScratchCache (CkMigrateMessage *m)
 

Public Attributes

PSSCRATCH * psscratch
 

Detailed Description

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.


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