GADGET-4
|
defines some custom data types used by the code More...
#include <stdint.h>
#include <cstddef>
Go to the source code of this file.
Classes | |
struct | offset_tuple |
struct | location |
struct | halotrees_table |
struct | parttrees_table |
struct | times_catalogue |
class | peanokey |
struct | data_partlist |
struct | thread_data |
Macros | |
#define | POSITIONS_IN_32BIT |
#define | BITS_FOR_POSITIONS 32 |
#define | IDS_32BIT |
#define | MPI_MYFLOAT MPI_FLOAT |
#define | MPI_MYDOUBLE MPI_FLOAT |
#define | H5T_NATIVE_MYFLOAT H5T_NATIVE_FLOAT |
#define | H5T_NATIVE_MYDOUBLE H5T_NATIVE_FLOAT |
#define | TIMEBINS 29 |
#define | TIMEBASE (1 << TIMEBINS) |
#define | NUMBER_OF_MPI_LISTENERS_PER_NODE 1 |
#define | MAX_NUMBER_OF_RANKS_WITH_SHARED_MEMORY 64 |
#define | LONG_X 1 |
#define | MAX_LONG_X_BITS 0 |
#define | LONG_Y 1 |
#define | MAX_LONG_Y_BITS 0 |
#define | LONG_Z 1 |
#define | MAX_LONG_Z_BITS 0 |
#define | LONG_BITS_MAX(A, B) (((A) > (B)) ? (A) : (B)) |
#define | LEVEL_ALWAYS_OPEN LONG_BITS_MAX(MAX_LONG_X_BITS, LONG_BITS_MAX(MAX_LONG_Y_BITS, MAX_LONG_Z_BITS)) |
#define | DBX 1 |
#define | DBY 1 |
#define | DBZ 1 |
#define | DBX_EXTRA 0 |
#define | DBY_EXTRA 0 |
#define | DBZ_EXTRA 0 |
Typedefs | |
typedef uint32_t | MyIntPosType |
typedef int32_t | MySignedIntPosType |
typedef unsigned int | MyIDType |
typedef int | MyLenType |
typedef double | MyReal |
typedef float | MyFloat |
typedef float | MyDouble |
typedef float | MyNgbTreeFloat |
typedef int | integertime |
typedef uint64_t | node_bit_field |
Enumerations | |
enum | mysnaptype { NORMAL_SNAPSHOT , MOST_BOUND_PARTICLE_SNAPHOT , MOST_BOUND_PARTICLE_SNAPHOT_REORDERED } |
enum | restart_options { RST_BEGIN , RST_RESUME , RST_STARTFROMSNAP , RST_FOF , RST_POWERSPEC , RST_CONVERTSNAP , RST_CREATEICS , RST_CALCDESC , RST_MAKETREES , RST_IOBANDWIDTH , RST_LCREARRANGE , RST_SNPREARRANGE } |
Functions | |
bool | operator== (const location &left, const location &right) |
bool | operator!= (const location &left, const location &right) |
bool | operator< (const location &left, const location &right) |
bool | operator>= (const peanokey &a, const peanokey &b) |
bool | operator< (const peanokey &a, const peanokey &b) |
peanokey | operator+ (const peanokey &a, const peanokey &b) |
peanokey | get_peanokey_offset (unsigned int j, int bits) |
defines some custom data types used by the code
Definition in file dtypes.h.
#define LEVEL_ALWAYS_OPEN LONG_BITS_MAX(MAX_LONG_X_BITS, LONG_BITS_MAX(MAX_LONG_Y_BITS, MAX_LONG_Z_BITS)) |
typedef int integertime |
typedef uint32_t MyIntPosType |
typedef float MyNgbTreeFloat |
typedef int32_t MySignedIntPosType |
typedef uint64_t node_bit_field |
enum mysnaptype |
enum restart_options |
|
inline |