waLBerla 7.2
Loading...
Searching...
No Matches
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

namespace  walberla
 Storage for detected contacts which can be used to perform actions for all contacts, e.g.
 
namespace  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 &it, typename FieldPtrOrIterator::value_type mask)
 Ores the neighborhood of the specified stencil and checks whether the bits of mask are set.
 
template<class Sten , typename FieldPtrOrIterator >
std::remove_const_t< typename FieldPtrOrIterator::value_type > walberla::field::getOredNeighborhood (const FieldPtrOrIterator &it)
 Ores the neighborhood of the specified stencil and returns mask.