waLBerla 7.3
Loading...
Searching...
No Matches
FlagField.h File Reference

Detailed Description

GhostLayerField that stores flags.

Author
Martin Bauer marti.nosp@m.n.ba.nosp@m.uer@f.nosp@m.au.d.nosp@m.e
#include "FlagFunctions.h"
#include "FlagUID.h"
#include "GhostLayerField.h"
#include "core/DataTypes.h"
#include "core/cell/CellVector.h"
#include "core/debug/Debug.h"
#include "core/math/Uint.h"
#include <array>
#include <iostream>
#include <map>
#include <sstream>
#include <string>
#include <type_traits>
#include "FlagField.impl.h"

Classes

class  walberla::field::FlagField< T >
 GhostLayerField that stores bit masks. More...
struct  walberla::field::FlagField< T >::RegistrationData
class  walberla::FlagField< T >
 GhostLayerField that stores bit masks. More...

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::addMask (const FieldPtrOrIterator &it, T mask)
template<class T, typename FieldPtrOrIterator>
void walberla::removeMask (const FieldPtrOrIterator &it, T mask)
template<class T, typename FieldPtrOrIterator>
bool walberla::isMaskSet (const FieldPtrOrIterator &it, T mask)
template<class T, typename FieldPtrOrIterator>
bool walberla::isPartOfMaskSet (const FieldPtrOrIterator &it, T mask)
template<typename T, typename FieldPtrOrIterator>
void walberla::addFlag (const FieldPtrOrIterator &it, T flag)
template<class T, typename FieldPtrOrIterator>
void walberla::removeFlag (const FieldPtrOrIterator &it, T flag)
template<class T, typename FieldPtrOrIterator>
bool walberla::isFlagSet (const FieldPtrOrIterator &it, T flag)
template<class Sten, typename FieldPtrOrIterator>
bool walberla::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::getOredNeighborhood (const FieldPtrOrIterator &it)
 Ores the neighborhood of the specified stencil and returns mask.