SPH
|
Iterator over all buffers. More...
#include <Iterate.h>
Public Member Functions | |
template<typename TValue , typename TFunctor > | |
void | visit (Quantity &q, const QuantityId UNUSED(id), TFunctor &&functor) |
template<typename TValue , typename TFunctor > | |
void | visit (const Quantity &q, const QuantityId UNUSED(id), TFunctor &&functor) |
Iterator over all buffers.
This will execute given functor for each buffer of each quantities, meaning both values of the quantities and all derivatives. Stored buffers are passed as Array to the functor. Useful for operations such as merging two storages, resizing all arrays of the storage, ...
|
inline |
|
inline |