FlagField.impl.h File Reference

Detailed Description

Implementation of FlagField.

Author
Martin Bauer marti.nosp@m.n.ba.nosp@m.uer@f.nosp@m.au.d.nosp@m.e
#include <type_traits>

Namespaces

 walberla
 \file TimestepTracker.h \ingroup lbm \author Frederik Hennig frede.nosp@m.rik..nosp@m.henni.nosp@m.g@fa.nosp@m.u.de
 
 walberla::field
 

Functions

template<typename T , typename FieldPtrOrIterator >
void walberla::field::addMask (const FieldPtrOrIterator &it, T mask)
 
template<typename T , typename FieldPtrOrIterator >
void walberla::field::addFlag (const FieldPtrOrIterator &it, T flag)
 
template<class T , typename FieldPtrOrIterator >
void walberla::field::removeMask (const FieldPtrOrIterator &it, T mask)
 
template<class T , typename FieldPtrOrIterator >
void walberla::field::removeFlag (const FieldPtrOrIterator &it, T flag)
 
template<class T , typename FieldPtrOrIterator >
bool walberla::field::isMaskSet (const FieldPtrOrIterator &it, T mask)
 
template<class T , typename FieldPtrOrIterator >
bool walberla::field::isFlagSet (const FieldPtrOrIterator &it, T flag)
 
template<class T , typename FieldPtrOrIterator >
bool walberla::field::isPartOfMaskSet (const FieldPtrOrIterator &it, T mask)
 
template<class Sten , typename FieldPtrOrIterator >
bool walberla::field::isFlagInNeighborhood (const FieldPtrOrIterator &i, typename FieldPtrOrIterator::value_type mask)
 Ores the neighborhood of the specified stencil and checks whether the bits of mask are set. More...
 
template<class Sten , typename FieldPtrOrIterator >
std::remove_const< typename FieldPtrOrIterator::value_type >::type walberla::field::getOredNeighborhood (const FieldPtrOrIterator &i)
 Ores the neighborhood of the specified stencil and returns mask. More...