|
My Project
programmer's documentation
|
Go to the documentation of this file.
110 const int *diag_block_size,
111 const int *extra_diag_block_size,
238 #if defined(HAVE_MPI)
273 int aggregation_limit,
274 double relaxation_parameter);
437 int *rows_mean_threshold,
457 int rows_mean_threshold,
void cs_grid_project_row_rank(const cs_grid_t *g, cs_lnum_t n_base_rows, int f_row_rank[])
int cs_grid_get_merge_stride(void)
void cs_grid_prolong_row_num(const cs_grid_t *c, const cs_grid_t *f, int *c_num, int *f_num)
double precision, save a
Definition: cs_fuel_incl.f90:146
void cs_grid_get_info(const cs_grid_t *g, int *level, bool *symmetric, int *db_size, int *eb_size, int *n_ranks, cs_lnum_t *n_rows, cs_lnum_t *n_cols_ext, cs_lnum_t *n_entries, cs_gnum_t *n_g_rows)
void cs_grid_free_quantities(cs_grid_t *g)
#define END_C_DECLS
Definition: cs_defs.h:468
cs_grid_coarsening_t
Definition: cs_grid.h:54
const cs_matrix_t * cs_grid_get_matrix(const cs_grid_t *g)
cs_grid_t * cs_grid_create_from_shared(cs_lnum_t n_faces, const int *diag_block_size, const int *extra_diag_block_size, const cs_lnum_2_t *face_cell, const cs_real_t *cell_cen, const cs_real_t *cell_vol, const cs_real_t *face_normal, const cs_matrix_t *a, const cs_matrix_t *a_conv, const cs_matrix_t *a_diff)
double cs_real_t
Floating-point value.
Definition: cs_defs.h:302
#define BEGIN_C_DECLS
Definition: cs_defs.h:467
struct _cs_matrix_t cs_matrix_t
Definition: cs_matrix.h:90
void cs_grid_destroy(cs_grid_t **grid)
void cs_grid_project_diag_dom(const cs_grid_t *g, cs_lnum_t n_base_rows, cs_real_t diag_dom[])
struct _cs_grid_t cs_grid_t
Definition: cs_grid.h:67
struct _cs_matrix_variant_t cs_matrix_variant_t
Definition: cs_matrix.h:94
void cs_grid_set_matrix_tuning(cs_matrix_fill_type_t fill_type, int max_level)
Set matrix tuning behavior for multigrid coarse meshes.
Definition: cs_grid.c:6416
cs_grid_t * cs_grid_coarsen(const cs_grid_t *f, int verbosity, int coarsening_type, int aggregation_limit, double relaxation_parameter)
cs_lnum_t cs_grid_get_n_rows(const cs_grid_t *g)
void cs_grid_dump(const cs_grid_t *g)
unsigned long cs_gnum_t
global mesh entity number
Definition: cs_defs.h:286
void cs_grid_prolong_row_var(const cs_grid_t *c, const cs_grid_t *f, cs_real_t *c_var, cs_real_t *f_var)
void cs_grid_get_merge_options(int *rank_stride, int *rows_mean_threshold, cs_gnum_t *rows_glob_threshold, int *min_ranks)
Query the global multigrid parameters for parallel grid merging.
Definition: cs_grid.c:6346
cs_gnum_t cs_grid_get_n_g_rows(const cs_grid_t *g)
void cs_grid_project_row_num(const cs_grid_t *g, cs_lnum_t n_base_rows, int max_num, int c_row_num[])
void cs_grid_project_var(const cs_grid_t *g, cs_lnum_t n_base_rows, const cs_real_t c_var[], cs_real_t f_var[])
int cs_lnum_t
local mesh entity id
Definition: cs_defs.h:298
const char * cs_grid_coarsening_type_name[]
int cs_lnum_2_t[2]
vector of 2 local mesh-entity ids
Definition: cs_defs.h:308
cs_matrix_fill_type_t
Definition: cs_matrix.h:67
void cs_grid_set_merge_options(int rank_stride, int rows_mean_threshold, cs_gnum_t rows_glob_threshold, int min_ranks)
Set global multigrid parameters for parallel grid merging behavior.
Definition: cs_grid.c:6388
void cs_grid_restrict_row_var(const cs_grid_t *f, const cs_grid_t *c, const cs_real_t *f_var, cs_real_t *c_var)
void cs_grid_finalize(void)
cs_lnum_t cs_grid_get_n_cols_max(const cs_grid_t *g)
void cs_grid_log_merge_options(void)
Log the current settings for multigrid parallel merging.
Definition: cs_grid.c:6499
void cs_grid_set_matrix_variant(cs_matrix_fill_type_t fill_type, int level, const cs_matrix_variant_t *mv)
Force matrix variant selection for multigrid coarse meshes.
Definition: cs_grid.c:6456
cs_lnum_t cs_grid_get_n_cols_ext(const cs_grid_t *g)