petsc-3.3-p7 2013-05-11

SNESQNSetCompositionType

Sets the composition type

Synopsis

#include "petscsnes.h" 
PetscErrorCode SNESQNSetCompositionType(SNES snes, SNESQNCompositionType ctype)
Logically Collective on SNES

Input Parameters

snes - the iterative context
stype - composition type

Options Database

-snes_qn_composition_type<sequential, composed> -

SNESQNSelectTypes

SNES_QN_COMPOSITION_SEQUENTIAL - Solve the system with X = PC(X) and D = F(PC(X))
SNES_QN_COMPOSITION_COMPOSED - solve the system with X = X and D = PC(X) - X

Keywords

SNES, SNESQN, scaling, type, set SNESLineSearch

Level:intermediate
Location:
src/snes/impls/qnqn.c
Index of all SNES routines
Table of Contents for all manual pages
Index of all manual pages