|
My Project
programmer's documentation
|
Go to the documentation of this file. 1 #ifndef __FVM_MORTON_H__
2 #define __FVM_MORTON_H__
114 #if defined(HAVE_MPI)
283 #if defined(HAVE_MPI)
305 fvm_morton_build_rank_index(
int dim,
bool fvm_morton_a_ge_b(fvm_morton_code_t a, fvm_morton_code_t b)
Definition: fvm_morton.c:1290
double precision, save a
Definition: cs_fuel_incl.f90:146
int fvm_morton_compare_o(const void *elt1, const void *elt2, const void *input)
Function pointer for comparison of 2 Morton codes.
Definition: fvm_morton.c:1463
bool fvm_morton_a_gt_b(fvm_morton_code_t a, fvm_morton_code_t b)
Definition: fvm_morton.c:1272
fvm_morton_code_t fvm_morton_encode(int dim, fvm_morton_int_t level, const cs_coord_t coords[])
Definition: fvm_morton.c:950
double precision, save b
Definition: cs_fuel_incl.f90:146
#define END_C_DECLS
Definition: cs_defs.h:468
#define BEGIN_C_DECLS
Definition: cs_defs.h:467
void fvm_morton_s_to_code(double s, void *elt, const void *input)
Function pointer for conversion of a double precision value in range [0, 1] to a given Morton code.
Definition: fvm_morton.c:1436
void fvm_morton_get_global_extents(int dim, size_t n_extents, const cs_coord_t extents[], cs_coord_t g_extents[])
Definition: fvm_morton.c:904
void fvm_morton_encode_coords(int dim, fvm_morton_int_t level, const cs_coord_t extents[], size_t n_coords, const cs_coord_t coords[], fvm_morton_code_t m_code[])
Definition: fvm_morton.c:988
void fvm_morton_local_sort(cs_lnum_t n_codes, fvm_morton_code_t morton_codes[])
Definition: fvm_morton.c:1170
fvm_morton_compare_t
Definition: fvm_morton.h:52
unsigned long cs_gnum_t
global mesh entity number
Definition: cs_defs.h:286
void fvm_morton_local_order(cs_lnum_t n_codes, const fvm_morton_code_t morton_codes[], cs_lnum_t order[])
Definition: fvm_morton.c:1121
fvm_morton_compare_t fvm_morton_compare(int dim, fvm_morton_code_t code_a, fvm_morton_code_t code_b)
Definition: fvm_morton.c:1218
int cs_lnum_t
local mesh entity id
Definition: cs_defs.h:298
void fvm_morton_dump(int dim, fvm_morton_code_t code)
Definition: fvm_morton.c:1489
int fvm_morton_binary_search(cs_lnum_t size, fvm_morton_code_t code, fvm_morton_code_t *codes)
Definition: fvm_morton.c:1311
fvm_morton_int_t L
Definition: fvm_morton.h:64
void fvm_morton_get_coord_extents(int dim, size_t n_coords, const cs_coord_t coords[], cs_coord_t g_extents[])
Definition: fvm_morton.c:852
Definition: fvm_morton.h:54
void fvm_morton_get_children(int dim, fvm_morton_code_t parent, fvm_morton_code_t children[])
Definition: fvm_morton.c:1063
Definition: fvm_morton.h:62
unsigned int fvm_morton_int_t
Definition: fvm_morton.h:60
double cs_coord_t
Definition: cs_defs.h:299
Definition: fvm_morton.h:55
void const cs_int_t const cs_real_t const cs_real_t * coords
Definition: cs_measures_util.h:360
Definition: fvm_morton.h:56