|
MOAB: Mesh Oriented datABase
(version 5.4.1)
|
#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 CEILDIV | ( | a, | |
| b | |||
| ) | ( ( ( a ) + (b)-1 ) / ( b ) ) |
Definition at line 586 of file TupleList.cpp.
| #define COUNT_DIGIT_01 | ( | n, | |
| i | |||
| ) | if( ( n ) > ( i ) ) count[i][val & DIGIT_MASK]++, val >>= DIGIT_BITS |
Definition at line 592 of file TupleList.cpp.
| #define COUNT_DIGIT_02 | ( | n, | |
| i | |||
| ) |
COUNT_DIGIT_01( n, i ); \ COUNT_DIGIT_01( n, ( i ) + 1 )
Definition at line 594 of file TupleList.cpp.
| #define COUNT_DIGIT_04 | ( | n, | |
| i | |||
| ) |
COUNT_DIGIT_02( n, i ); \ COUNT_DIGIT_02( n, ( i ) + 2 )
Definition at line 597 of file TupleList.cpp.
| #define COUNT_DIGIT_08 | ( | n, | |
| i | |||
| ) |
COUNT_DIGIT_04( n, i ); \ COUNT_DIGIT_04( n, ( i ) + 4 )
Definition at line 600 of file TupleList.cpp.
| #define COUNT_DIGIT_16 | ( | n, | |
| i | |||
| ) |
COUNT_DIGIT_08( n, i ); \ COUNT_DIGIT_08( n, ( i ) + 8 )
Definition at line 603 of file TupleList.cpp.
| #define COUNT_DIGIT_32 | ( | n, | |
| i | |||
| ) |
COUNT_DIGIT_16( n, i ); \ COUNT_DIGIT_16( n, ( i ) + 16 )
Definition at line 606 of file TupleList.cpp.
| #define COUNT_DIGIT_64 | ( | n, | |
| i | |||
| ) |
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 DIGIT_MASK ( (Value)( DIGIT_VALUES - 1 ) ) |
Definition at line 585 of file TupleList.cpp.
Referenced by moab::TupleList::radix_index_pass_b(), moab::TupleList::radix_index_pass_be(), moab::TupleList::radix_index_pass_e(), moab::TupleList::radix_index_pass_m(), and moab::TupleList::radix_zeros().
| #define DIGIT_VALUES ( 1 << DIGIT_BITS ) |
Definition at line 584 of file TupleList.cpp.
Referenced by moab::TupleList::index_sort(), moab::TupleList::radix_index_sort(), and moab::TupleList::radix_offsets().
| #define DIGITS CEILDIV( CHAR_BIT * sizeof( Value ), DIGIT_BITS ) |
Definition at line 587 of file TupleList.cpp.
Referenced by moab::TupleList::radix_count(), and moab::TupleList::radix_index_sort().
| #define umax_2 | ( | a, | |
| b | |||
| ) | ( ( ( a ) > ( b ) ) ? ( a ) : ( b ) ) |
Definition at line 548 of file TupleList.cpp.
Referenced by obbox_data_alloc_2(), obbox_setup_2(), opt_alloc_2(), and moab::TupleList::sort().
| #define VALUE_BITS ( DIGIT_BITS * DIGITS ) |
Definition at line 588 of file TupleList.cpp.
Referenced by moab::TupleList::radix_zeros().