SPH
Public Member Functions | List of all members
StorageVisitor< VisitorEnum::ALL_VALUES > Struct Reference

Iterator over all quantities, executes given functor with buffer of quantity values. More...

#include <Iterate.h>

Public Member Functions

template<typename TValue , typename TFunctor >
void visit (Quantity &q, const QuantityId id, TFunctor &&functor)
 

Detailed Description

Iterator over all quantities, executes given functor with buffer of quantity values.

Does not access derivatives of quantities. Stored buffers are passed as Array to the functor.

Definition at line 32 of file Iterate.h.

Member Function Documentation

◆ visit()

template<typename TValue , typename TFunctor >
void StorageVisitor< VisitorEnum::ALL_VALUES >::visit ( Quantity q,
const QuantityId  id,
TFunctor &&  functor 
)
inline

Definition at line 34 of file Iterate.h.


The documentation for this struct was generated from the following file: