SNESCompositeSetType#

Sets the type of composite preconditioner.

Synopsis#

#include "petscsnes.h" 
PetscErrorCode SNESCompositeSetType(SNES snes, SNESCompositeType type)

Logically Collective

Input Parameters#

  • snes - the preconditioner context

  • type - SNES_COMPOSITE_ADDITIVE (default), SNES_COMPOSITE_MULTIPLICATIVE

Options Database Key#

  • -snes_composite_type <type: one of multiplicative, additive, special> - Sets composite preconditioner type

See Also#

SNES_COMPOSITE_ADDITIVE, SNES_COMPOSITE_MULTIPLICATIVE, SNESCompositeType, SNESCOMPOSITE

Level#

Developer

Location#

src/snes/impls/composite/snescomposite.c

Implementations#

SNESCompositeSetType_Composite in src/snes/impls/composite/snescomposite.c


Edit on GitLab

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