rebl-AMR
definitions.h File Reference
#include <algorithm>
#include <bitset>
#include <cstdint>
#include <cstdio>
#include <cstdlib>
#include <functional>
#include <iostream>
#include <stack>
#include <unordered_map>
#include <vector>
#include <list>
#include <unistd.h>
#include <mpi.h>
#include <memory>
#include <time.h>
#include <stdexcept>
#include "zoltan.h"
#include <cstddef>
#include <string>
#include <fstream>
#include <sstream>
#include <unordered_set>
#include <utility>
#include <iomanip>
#include <cmath>
#include <assert.h>
#include "params.h"
#include <locale>

Go to the source code of this file.

Macros

#define hash   0
 
#define nonnative   1 /*!\ default STD hash and comparison functions */
 
#define RED   "\033[01;31m"
 
#define GREEN   "\033[22;32m"
 
#define YELLOW   "\033[22;33m"
 
#define BLUE   "\033[22;34m"
 
#define MAGENTA   "\033[22;35m"
 
#define CYAN   "\033[22;36m"
 
#define RESET   "\033[22;0m"
 

Typedefs

using real = double
 
using uint = unsigned int
 
using integer = int
 
template<size_t N>
using morton = std::bitset< N >
 
template<size_t N, typename value >
using bitmap = std::unordered_map< morton< N >, value * >
 
template<size_t M>
using bitlist = std::list< morton< M > >
 
template<size_t N>
using bitvector = std::vector< morton< N > >
 
template<size_t N>
using bitunorderedset = std::unordered_set< morton< N > >
 

Functions

template<class T >
std::string FormatWithCommas (T value)
 

Macro Definition Documentation

◆ BLUE

#define BLUE   "\033[22;34m"

◆ CYAN

#define CYAN   "\033[22;36m"

◆ GREEN

#define GREEN   "\033[22;32m"

◆ hash

#define hash   0

◆ MAGENTA

#define MAGENTA   "\033[22;35m"

◆ nonnative

#define nonnative   1 /*!\ default STD hash and comparison functions */

◆ RED

#define RED   "\033[01;31m"

◆ RESET

#define RESET   "\033[22;0m"

◆ YELLOW

#define YELLOW   "\033[22;33m"

Typedef Documentation

◆ bitlist

template<size_t M>
using bitlist = std::list<morton<M> >

◆ bitmap

template<size_t N, typename value >
using bitmap = std::unordered_map<morton<N>, value *>

◆ bitunorderedset

template<size_t N>
using bitunorderedset = std::unordered_set<morton<N> >

◆ bitvector

template<size_t N>
using bitvector = std::vector<morton<N> >

◆ integer

using integer = int

◆ morton

template<size_t N>
using morton = std::bitset<N>

◆ real

using real = double

◆ uint

using uint = unsigned int

Function Documentation

◆ FormatWithCommas()

template<class T >
std::string FormatWithCommas ( value)