MP-Gadget
5.0.1.dev1-76bc7d4726-dirty
|
#include <mpi.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <gsl/gsl_heapsort.h>
#include "peano.h"
Go to the source code of this file.
Functions | |
peano_t | peano_hilbert_key (int x, int y, int z, int bits) |
Variables | |
const unsigned char | rottable3 [48][8] |
const unsigned char | subpix3 [48][8] |
peano_t peano_hilbert_key | ( | int | x, |
int | y, | ||
int | z, | ||
int | bits | ||
) |
This function computes a Peano-Hilbert key for an integer triplet (x,y,z), with x,y,z in the range between 0 and 2^bits-1.
Definition at line 119 of file peano.c.
References rottable3, and subpix3.
Referenced by force_create_node_for_topnode(), and PEANO().
const unsigned char rottable3[48][8] |
Definition at line 14 of file peano.c.
Referenced by peano_hilbert_key().
const unsigned char subpix3[48][8] |
Definition at line 65 of file peano.c.
Referenced by peano_hilbert_key().