int HYPRE_StructPFMGSetRAPType

(HYPRE_StructSolver solver,
  int rap_type)

(Optional) Set type of coarse-grid operator to use.

Documentation

(Optional) Set type of coarse-grid operator to use.

Current operators set by rap_type are:

\begin{tabular}{l@{ -- }l} 0 Galerkin (default) 1 non-Galerkin 5-pt or 7-pt stencils

Both operators are constructed algebraically. The non-Galerkin option maintains a 5-pt stencil in 2D and a 7-pt stencil in 3D on all grid levels. The stencil coefficients are computed by averaging techniques.

Alphabetic index