1#ifndef __FVM_NEIGHBORHOOD_H__
2#define __FVM_NEIGHBORHOOD_H__
107 float max_box_ratio_distrib);
128 cs_gnum_t **
const elt_num,
130 cs_gnum_t **
const neighbor_num);
155 cs_gnum_t **neighbor_num);
191 const cs_gnum_t *box_gnum,
193 cs_gnum_t **box_gnum_assigned,
255 size_t mem_required[3]);
271 double *build_cpu_time,
273 double *query_cpu_time);
#define BEGIN_C_DECLS
Definition cs_defs.h:509
double cs_coord_t
Definition cs_defs.h:317
#define END_C_DECLS
Definition cs_defs.h:510
int cs_lnum_t
local mesh entity id
Definition cs_defs.h:313
void fvm_neighborhood_by_boxes(fvm_neighborhood_t *n, int dim, cs_lnum_t n_boxes, const cs_gnum_t *box_gnum, const cs_coord_t *extents, cs_gnum_t **box_gnum_assigned, cs_coord_t **extents_assigned)
Definition fvm_neighborhood.c:836
void fvm_neighborhood_get_times(const fvm_neighborhood_t *n, double *build_wtime, double *build_cpu_time, double *query_wtime, double *query_cpu_time)
Definition fvm_neighborhood.c:1140
void fvm_neighborhood_prune(fvm_neighborhood_t *n)
Definition fvm_neighborhood.c:1003
void fvm_neighborhood_destroy(fvm_neighborhood_t **n)
Definition fvm_neighborhood.c:675
fvm_neighborhood_t * fvm_neighborhood_create(void)
Definition fvm_neighborhood.c:618
struct _fvm_neighborhood_t fvm_neighborhood_t
Definition fvm_neighborhood.h:50
int fvm_neighborhood_get_box_stats(const fvm_neighborhood_t *n, int depth[3], cs_lnum_t n_leaves[3], cs_lnum_t n_boxes[3], cs_lnum_t n_threshold_leaves[3], cs_lnum_t n_leaf_boxes[3], size_t mem_final[3], size_t mem_required[3])
Definition fvm_neighborhood.c:1088
void fvm_neighborhood_transfer_data(fvm_neighborhood_t *n, cs_lnum_t *n_elts, cs_gnum_t **elt_num, cs_lnum_t **neighbor_index, cs_gnum_t **neighbor_num)
Definition fvm_neighborhood.c:779
void fvm_neighborhood_get_data(const fvm_neighborhood_t *n, cs_lnum_t *n_elts, cs_gnum_t **const elt_num, cs_lnum_t **const neighbor_index, cs_gnum_t **const neighbor_num)
Definition fvm_neighborhood.c:738
void fvm_neighborhood_dump(const fvm_neighborhood_t *n)
Definition fvm_neighborhood.c:1168
void fvm_neighborhood_set_options(fvm_neighborhood_t *n, int max_tree_depth, int leaf_threshold, float max_box_ratio, float max_box_ratio_distrib)
Definition fvm_neighborhood.c:706