|
DOLFINx 0.12.0.0
DOLFINx C++
|
Concept for the mutable scratch buffers passed to the assembly kernels. More...
#include <traits.h>
Concept for the mutable scratch buffers passed to the assembly kernels.
Satisfied by std::span<T> and by std::array<T, N>. The buffers are taken by value, so an array carries its size in its type and the assembler can size its work at compile time; a span leaves the size to run time and the storage to the caller.