9.2
general documentation
cs_grid.h File Reference
#include "base/cs_defs.h"
#include "alge/cs_matrix.h"
+ Include dependency graph for cs_grid.h:

Go to the source code of this file.

Enumerations

enum  cs_grid_coarsening_t {
  CS_GRID_COARSENING_DEFAULT , CS_GRID_COARSENING_SPD_DX , CS_GRID_COARSENING_SPD_MX , CS_GRID_COARSENING_SPD_PW ,
  CS_GRID_COARSENING_CONV_DIFF_DX
}
 

Functions

void cs_grid_set_diag_dom_clip_factor (double factor)
 Set factor to ensure diagonal dominance. More...
 
void cs_grid_set_matrix_tuning (cs_matrix_fill_type_t fill_type, int max_level)
 Set matrix tuning behavior for multigrid coarse meshes. More...
 

Variables

const char * cs_grid_coarsening_type_name []
 

Enumeration Type Documentation

◆ cs_grid_coarsening_t

Enumerator
CS_GRID_COARSENING_DEFAULT 

default among following choices

CS_GRID_COARSENING_SPD_DX 

SPD, diag/extradiag ratio based

CS_GRID_COARSENING_SPD_MX 

SPD, max extradiag ratio based

CS_GRID_COARSENING_SPD_PW 

SPD, pairwise aggregation

CS_GRID_COARSENING_CONV_DIFF_DX 

convection+diffusion, diag/extradiag ratio based

Function Documentation

◆ cs_grid_set_diag_dom_clip_factor()

void cs_grid_set_diag_dom_clip_factor ( double  factor)

Set factor to ensure diagonal dominance.

Parameters
[in]factorclip margin factor (ignored if < 0).

◆ 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

Variable Documentation

◆ cs_grid_coarsening_type_name

const char* cs_grid_coarsening_type_name[]
extern