|
| | SimpleCache () |
| | SimpleCache (const SimpleCache &c) |
| const Q * | getptr (const Key< NDIM > &key) const |
| | If key is present return pointer to cached value, otherwise return NULL.
|
| const Q * | getptr (Level n, const Key< NDIM > &disp) const |
| | If key=(n,l) is present return pointer to cached value, otherwise return NULL.
|
| const Q * | getptr (Level n, Translation l) const |
| | If key=(n,l) is present return pointer to cached value, otherwise return NULL.
|
| SimpleCache & | operator= (const SimpleCache &c) |
| const Q * | set (const Key< NDIM > &key, const Q &val) |
| | Set value associated with key ... gives ownership of a new copy to the container.
|
| const Q * | set (Level n, const Key< NDIM > &disp, const Q &val) |
| const Q * | set (Level n, Translation l, const Q &val) |
template<typename
Q, std::size_t NDIM>
class madness::SimpleCache< Q, NDIM >
Simplified interface around hash_map to cache stuff for 1D.
This is a write once cache — subsequent writes of elements have no effect (so that pointers/references to cached data cannot be invalidated)