9.0
general documentation
Loading...
Searching...
No Matches
cs_grid.cpp File Reference
#include "base/cs_defs.h"
#include <chrono>
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include <math.h>
#include "bft/bft_error.h"
#include "bft/bft_printf.h"
#include "base/cs_base.h"
#include "base/cs_dispatch.h"
#include "base/cs_halo.h"
#include "base/cs_halo_perio.h"
#include "base/cs_log.h"
#include "base/cs_mem.h"
#include "alge/cs_matrix.h"
#include "alge/cs_matrix_default.h"
#include "alge/cs_matrix_tuning.h"
#include "alge/cs_matrix_util.h"
#include "base/cs_order.h"
#include "base/cs_prototypes.h"
#include "alge/cs_sles.h"
#include "base/cs_sort.h"
#include "fvm/fvm_defs.h"
#include "alge/cs_grid.h"
Include dependency graph for cs_grid.cpp:

Functions

void cs_grid_set_matrix_tuning (cs_matrix_fill_type_t fill_type, int max_level)
 Set matrix tuning behavior for multigrid coarse meshes.
void cs_grid_restrict_row_var (cs_dispatch_context &ctx, const cs_grid_t *f, const cs_grid_t *c, const cs_real_t *f_var, cs_real_t *c_var)
void cs_grid_prolong_row_var (cs_dispatch_context &ctx, const cs_grid_t *c, const cs_grid_t *f, bool increment, cs_real_t *c_var, cs_real_t *f_var)

Function Documentation

◆ cs_grid_prolong_row_var()

void cs_grid_prolong_row_var ( cs_dispatch_context & ctx,
const cs_grid_t * c,
const cs_grid_t * f,
bool increment,
cs_real_t * c_var,
cs_real_t * f_var )

◆ cs_grid_restrict_row_var()

void cs_grid_restrict_row_var ( cs_dispatch_context & ctx,
const cs_grid_t * f,
const cs_grid_t * c,
const cs_real_t * f_var,
cs_real_t * c_var )

◆ cs_grid_set_matrix_tuning()

void cs_grid_set_matrix_tuning ( cs_matrix_fill_type_t fill_type,
int max_level )

Set matrix tuning behavior for multigrid coarse meshes.

The finest mesh (level 0) is handled by the default tuning options, so only coarser meshes are considered here.

Parameters
[in]fill_typeassociated matrix fill type
[in]max_levelmaximum level for which tuning is active