MOAB: Mesh Oriented datABase  (version 5.4.1)
TupleList.cpp File Reference
#include <cstring>
#include <climits>
#include <cstdio>
#include <cstdlib>
#include <cstdarg>
#include <iostream>
#include <fstream>
#include "moab/TupleList.hpp"
+ Include dependency graph for TupleList.cpp:

Go to the source code of this file.

Namespaces

namespace  moab
 

Class representing axis-aligned bounding box.


Defines

#define umax_2(a, b)   ( ( ( a ) > ( b ) ) ? ( a ) : ( b ) )
#define DIGIT_BITS   8
#define DIGIT_VALUES   ( 1 << DIGIT_BITS )
#define DIGIT_MASK   ( (Value)( DIGIT_VALUES - 1 ) )
#define CEILDIV(a, b)   ( ( ( a ) + (b)-1 ) / ( b ) )
#define DIGITS   CEILDIV( CHAR_BIT * sizeof( Value ), DIGIT_BITS )
#define VALUE_BITS   ( DIGIT_BITS * DIGITS )
#define COUNT_SIZE   ( DIGITS * DIGIT_VALUES )
#define COUNT_DIGIT_01(n, i)   if( ( n ) > ( i ) ) count[i][val & DIGIT_MASK]++, val >>= DIGIT_BITS
#define COUNT_DIGIT_02(n, i)
#define COUNT_DIGIT_04(n, i)
#define COUNT_DIGIT_08(n, i)
#define COUNT_DIGIT_16(n, i)
#define COUNT_DIGIT_32(n, i)
#define COUNT_DIGIT_64(n, i)

Functions

void moab::fail (const char *fmt,...)

Define Documentation

#define CEILDIV (   a,
 
)    ( ( ( a ) + (b)-1 ) / ( b ) )

Definition at line 586 of file TupleList.cpp.

#define COUNT_DIGIT_01 (   n,
 
)    if( ( n ) > ( i ) ) count[i][val & DIGIT_MASK]++, val >>= DIGIT_BITS

Definition at line 592 of file TupleList.cpp.

#define COUNT_DIGIT_02 (   n,
 
)
Value:
COUNT_DIGIT_01( n, i );    \
    COUNT_DIGIT_01( n, ( i ) + 1 )

Definition at line 594 of file TupleList.cpp.

#define COUNT_DIGIT_04 (   n,
 
)
Value:
COUNT_DIGIT_02( n, i );    \
    COUNT_DIGIT_02( n, ( i ) + 2 )

Definition at line 597 of file TupleList.cpp.

#define COUNT_DIGIT_08 (   n,
 
)
Value:
COUNT_DIGIT_04( n, i );    \
    COUNT_DIGIT_04( n, ( i ) + 4 )

Definition at line 600 of file TupleList.cpp.

#define COUNT_DIGIT_16 (   n,
 
)
Value:
COUNT_DIGIT_08( n, i );    \
    COUNT_DIGIT_08( n, ( i ) + 8 )

Definition at line 603 of file TupleList.cpp.

#define COUNT_DIGIT_32 (   n,
 
)
Value:
COUNT_DIGIT_16( n, i );    \
    COUNT_DIGIT_16( n, ( i ) + 16 )

Definition at line 606 of file TupleList.cpp.

#define COUNT_DIGIT_64 (   n,
 
)
Value:
COUNT_DIGIT_32( n, i );    \
    COUNT_DIGIT_32( n, ( i ) + 32 )

Definition at line 609 of file TupleList.cpp.

Referenced by moab::TupleList::radix_count().

#define COUNT_SIZE   ( DIGITS * DIGIT_VALUES )

Definition at line 589 of file TupleList.cpp.

Referenced by moab::TupleList::radix_count().

#define DIGIT_BITS   8

Definition at line 583 of file TupleList.cpp.

Referenced by moab::TupleList::radix_zeros().

#define DIGITS   CEILDIV( CHAR_BIT * sizeof( Value ), DIGIT_BITS )
#define umax_2 (   a,
 
)    ( ( ( a ) > ( b ) ) ? ( a ) : ( b ) )
#define VALUE_BITS   ( DIGIT_BITS * DIGITS )

Definition at line 588 of file TupleList.cpp.

Referenced by moab::TupleList::radix_zeros().

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines