|
SpECTRE
v2025.08.19
|
Holds a previous surface and a lock that protects it. More...
#include <Storage.hpp>
Public Member Functions | |
| LockedPreviousSurface (const PreviousSurface< Fr > &rhs) | |
| LockedPreviousSurface (const LockedPreviousSurface &rhs) | |
| LockedPreviousSurface & | operator= (const LockedPreviousSurface &rhs) |
| LockedPreviousSurface (LockedPreviousSurface &&rhs) | |
| LockedPreviousSurface & | operator= (LockedPreviousSurface &&rhs) |
| void | pup (PUP::er &p) |
Public Attributes | |
| std::optional< PreviousSurface< Fr > > | surface |
| Parallel::MultiReaderSpinlock | lock |
Holds a previous surface and a lock that protects it.
This is used to store and update a previous surface in the global cache and allow multiple readers (elements) to access it simultaneously.