|
waLBerla 7.3
|
Manages a single shadow buffer for a field to facilitate data swapping.
Internal component of SweepGen that realizes field-swapping logic by managing a shadow buffer of a field.
#include <SweepParts.hpp>
Public Types | |
| using | FieldType = TField |
| using | BufferType = FieldType::BufferSystemType::BufferType |
| using | BufferViewType = FieldType::BufferSystemType::ViewType |
Public Member Functions | |
| ShadowBufferCache ()=default | |
| BufferViewType | view (const FieldType &field) |
| void | swapBuffers (const FieldType &field, IBlock &block) |
Private Attributes | |
| std::unique_ptr< BufferType > | shadowBuffer_ |
| using walberla::sweepgen::sweep_parts::ShadowBufferCache< TField >::BufferType = FieldType::BufferSystemType::BufferType |
| using walberla::sweepgen::sweep_parts::ShadowBufferCache< TField >::BufferViewType = FieldType::BufferSystemType::ViewType |
| using walberla::sweepgen::sweep_parts::ShadowBufferCache< TField >::FieldType = TField |
|
default |
|
inline |
|
inline |
|
private |