programmer's documentation
Typedefs | Functions
fvm_hilbert.h File Reference
#include "cs_defs.h"
#include "fvm_defs.h"
Include dependency graph for fvm_hilbert.h:

Go to the source code of this file.

Typedefs

typedef double fvm_hilbert_code_t
 

Functions

void fvm_hilbert_get_coord_extents (int dim, size_t n_coords, const cs_coord_t coords[], cs_coord_t g_extents[])
 
void fvm_hilbert_encode_coords (int dim, const cs_coord_t extents[], cs_lnum_t n_coords, const cs_coord_t coords[], fvm_hilbert_code_t h_code[])
 
void fvm_hilbert_local_order (cs_lnum_t n_codes, const fvm_hilbert_code_t hilbert_codes[], cs_lnum_t order[])
 
void fvm_hilbert_local_order_coords (int dim, const cs_coord_t extents[], cs_lnum_t n_coords, const cs_coord_t coords[], cs_lnum_t order[])
 
size_t fvm_hilbert_quantile_search (size_t n_quantiles, fvm_hilbert_code_t code, fvm_hilbert_code_t quantile_start[])
 

Typedef Documentation

typedef double fvm_hilbert_code_t

Function Documentation

void fvm_hilbert_encode_coords ( int  dim,
const cs_coord_t  extents[],
cs_lnum_t  n_coords,
const cs_coord_t  coords[],
fvm_hilbert_code_t  h_code[] 
)
void fvm_hilbert_get_coord_extents ( int  dim,
size_t  n_coords,
const cs_coord_t  coords[],
cs_coord_t  g_extents[] 
)
void fvm_hilbert_local_order ( cs_lnum_t  n_codes,
const fvm_hilbert_code_t  hilbert_codes[],
cs_lnum_t  order[] 
)
void fvm_hilbert_local_order_coords ( int  dim,
const cs_coord_t  extents[],
cs_lnum_t  n_coords,
const cs_coord_t  coords[],
cs_lnum_t  order[] 
)
size_t fvm_hilbert_quantile_search ( size_t  n_quantiles,
fvm_hilbert_code_t  code,
fvm_hilbert_code_t  quantile_start[] 
)