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

Iterator over all first-order quantities. More...

#include <Iterate.h>

Public Member Functions

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

Detailed Description

Iterator over all first-order quantities.

This won't access second-order quantities! The functor is executed with two parameters: values and derivatives (both Arrays).

Definition at line 128 of file Iterate.h.

Member Function Documentation

◆ visit() [1/2]

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

Definition at line 137 of file Iterate.h.

◆ visit() [2/2]

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

Definition at line 130 of file Iterate.h.


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