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

Go to the source code of this file.

Typedefs

typedef struct _fvm_neighborhood_t fvm_neighborhood_t
 

Functions

fvm_neighborhood_tfvm_neighborhood_create (void)
 
void fvm_neighborhood_destroy (fvm_neighborhood_t **n)
 
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)
 
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)
 
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)
 
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)
 
void fvm_neighborhood_prune (fvm_neighborhood_t *n)
 
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])
 
void fvm_neighborhood_get_times (const fvm_neighborhood_t *n, double *build_wtime, double *build_cpu_time, double *query_wtime, double *query_cpu_time)
 
void fvm_neighborhood_dump (const fvm_neighborhood_t *n)
 

Typedef Documentation

◆ fvm_neighborhood_t

typedef struct _fvm_neighborhood_t fvm_neighborhood_t

Function Documentation

◆ fvm_neighborhood_by_boxes()

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 
)

◆ fvm_neighborhood_create()

fvm_neighborhood_t* fvm_neighborhood_create ( void  )

◆ fvm_neighborhood_destroy()

void fvm_neighborhood_destroy ( fvm_neighborhood_t **  n)

◆ fvm_neighborhood_dump()

void fvm_neighborhood_dump ( const fvm_neighborhood_t n)

◆ fvm_neighborhood_get_box_stats()

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] 
)

◆ fvm_neighborhood_get_data()

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 
)

◆ fvm_neighborhood_get_times()

void fvm_neighborhood_get_times ( const fvm_neighborhood_t n,
double *  build_wtime,
double *  build_cpu_time,
double *  query_wtime,
double *  query_cpu_time 
)

◆ fvm_neighborhood_prune()

void fvm_neighborhood_prune ( fvm_neighborhood_t n)

◆ fvm_neighborhood_set_options()

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 
)

◆ fvm_neighborhood_transfer_data()

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 
)