PCNN#

Balancing Neumann-Neumann for scalar elliptic PDEs.

Options Database Keys#

  • -pc_nn_turn_off_first_balancing (true|false) - do not balance the residual before solving the local Neumann problems (this skips the first coarse grid solve in the preconditioner)

  • -pc_nn_turn_off_second_balancing (true|false) - do not balance the solution solving the local Neumann problems (this skips the second coarse grid solve in the preconditioner)

  • -pc_is_damp_fixed [fact] - use shift amount fact for zero pivots when factoring the local Neumann matrix of a subdomain that touches the Dirichlet boundary (default: the floating subdomain amount)

  • -pc_is_remove_nullspace_fixed (true|false) - attach the constant null space to the local Neumann matrix of a subdomain that touches the Dirichlet boundary

  • -pc_is_set_damping_factor_floating fact - use shift amount fact for zero pivots when factoring the local Neumann matrix of a floating subdomain (default 1.e-12)

  • -pc_is_not_damp_floating (true|false) - do not shift the diagonal when factoring the local Neumann matrix of a floating subdomain

  • -pc_is_not_remove_nullspace_floating (true|false) - do not attach the constant null space to the local Neumann matrix of a floating subdomain

Options Database prefixes for the subsolvers this preconditioner uses#

  • -nn_coarse_pc_ - for the coarse grid preconditioner

  • -is_localD_pc_ - for the Dirichlet subproblem preconditioner

  • -is_localN_pc_ - for the Neumann subproblem preconditioner

Notes#

The matrix used with this preconditioner must be of type MATIS

A floating subdomain is one that does not touch the Dirichlet boundary, so its local Neumann matrix is singular. The -pc_is_ options apply to the Neumann subproblem and so require the -is_localN_ prefix, for example -is_localN_pc_is_damp_fixed.

Unlike more ‘conventional’ Neumann-Neumann preconditioners this iterates over ALL the degrees of freedom, NOT just those on the interface (this allows the use of approximate solvers on the subdomains; though in our experience using approximate solvers is slower.).

Contributed by Paulo Goldfeld

See Also#

KSP: Linear System Solvers, PCCreate(), PCSetType(), PCType, PC, MATIS, PCBDDC

Level#

intermediate

Location#

src/ksp/pc/impls/is/nn/nn.c


Index of all PC routines
Table of Contents for all manual pages
Index of all manual pages