BSctx_set_pre - The preconditioner to be used by the iterative solver.
- context
- - The context to change
- pre
- - The desired preconditioner
The preconditioner choices are:
PRE_DIAG - diagonal preconditioning
PRE_ICC - incomplete Cholesky
PRE_ILU - incomplete LU
PRE_SSOR - SSOR
PRE_BJACOBI - block Jacobi
Must agree with the preconitioner that has been computed! If PRE_ICC is
selected, BSset_mat_icc_storage() must be set to TRUE before BSmain_perm(). If
PRE_ILU is selected, BSset_mat_icc_storage() must be set to FALSE.
void BSctx_set_pre(BSprocinfo *context, int pre)
BlockSolve95/src/BScontext.c