SpECTRE
v2024.09.29
|
A TempBuffer holds a set of Tensor<DataType>
s, where DataType is either a DataVector
(or similar type) or a fundamental type, in a way that minimizes allocations.
More...
A TempBuffer holds a set of Tensor<DataType>
s, where DataType is either a DataVector
(or similar type) or a fundamental type, in a way that minimizes allocations.
The user gets references to Tensors inside of the TempBuffer using, e.g., auto& variable = get<Tag>(temp_buffer)
, where Tag
is one of the Tags in the TagList
.
If DataType is a DataVector or similar, than TempBuffer is a Variables. If DataType is a fundamental type, then TempBuffer is a TaggedTuple.