UIDGenerators.h File Reference

Detailed Description

Author
Florian Schornbaum flori.nosp@m.an.s.nosp@m.chorn.nosp@m.baum.nosp@m.@fau..nosp@m.de
Christian Feichtinger
#include "core/debug/Debug.h"
#include <cstdint>
#include <limits>

Classes

class  walberla::uid::IndexGenerator< T, UINT >
 Generates UIDs (unique IDs) per class T starting from 0. More...
 
class  walberla::uid::StandardGenerator< T, UINT >
 Generates UIDs (unique IDs) per class T starting from 1. More...
 
class  walberla::uid::BitGenerator< T, UINT >
 Generates UIDs (unique IDs) per class T starting from 1. More...
 
class  walberla::uid::SingletonGenerator< T, UINT >
 Generates UIDs (unique IDs) per class T starting from 1. More...
 
struct  walberla::uid::index_generated_tag
 
class  walberla::uid::IndexGenerator< T, UINT >
 Generates UIDs (unique IDs) per class T starting from 0. More...
 
struct  walberla::uid::standard_generated_tag
 
class  walberla::uid::StandardGenerator< T, UINT >
 Generates UIDs (unique IDs) per class T starting from 1. More...
 
struct  walberla::uid::bit_generated_tag
 
class  walberla::uid::BitGenerator< T, UINT >
 Generates UIDs (unique IDs) per class T starting from 1. More...
 
struct  walberla::uid::singleton_generated_tag
 
class  walberla::uid::SingletonGenerator< T, UINT >
 Generates UIDs (unique IDs) per class T starting from 1. More...
 

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::uid
 

Macros

#define logBase2LT(n)   n, n, n, n, n, n, n, n, n, n, n, n, n, n, n, n
 

Functions

template<typename UINT >
size_t walberla::uid::logBase2 (UINT value)
 
template<>
size_t walberla::uid::logBase2< uint64_t > (uint64_t value)
 
template<>
size_t walberla::uid::logBase2< uint32_t > (uint32_t value)
 

Variables

static const uint8_t walberla::uid::logBase2LookupTable [256]
 

Macro Definition Documentation

◆ logBase2LT

#define logBase2LT (   n)    n, n, n, n, n, n, n, n, n, n, n, n, n, n, n, n