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

Iterator over all highest-order derivatives of 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 highest-order derivatives of quantities.

This won't access zero-order quantities. Passes single array to the functor; second derivatives for second-order quantities and first derivatives for first-order quantitites.

Definition at line 223 of file Iterate.h.

Member Function Documentation

◆ visit() [1/2]

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

Definition at line 234 of file Iterate.h.

◆ visit() [2/2]

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

Definition at line 225 of file Iterate.h.


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