slepc-3.5.2 2014-10-10
Report Typos and Errors

BVSetOrthogonalization

Specifies the type of orthogonalization technique to be used (classical or modified Gram-Schmidt with or without refinement).

Synopsis

#include "slepcbv.h" 
PetscErrorCode BVSetOrthogonalization(BV bv,BVOrthogType type,BVOrthogRefineType refine,PetscReal eta)
Logically Collective on BV

Input Parameters

bv - the basis vectors context
type - the type of orthogonalization technique
refine - type of refinement
eta - parameter for selective refinement

Options Database Keys

-bv_orthog_type <type> - Where <type> is cgs for Classical Gram-Schmidt orthogonalization (default) or mgs for Modified Gram-Schmidt orthogonalization
-bv_orthog_refine <ref> - Where <ref> is one of never, ifneeded (default) or always
-bv_orthog_eta <eta> - For setting the value of eta

Notes

The default settings work well for most problems.

The parameter eta should be a real value between 0 and 1 (or PETSC_DEFAULT). The value of eta is used only when the refinement type is "ifneeded".

When using several processors, MGS is likely to result in bad scalability.

See Also

BVOrthogonalizeColumn(), BVGetOrthogonalization(), BVOrthogType, BVOrthogRefineType

Location: src/sys/classes/bv/interface/bvbasic.c
Index of all BV routines
Table of Contents for all manual pages
Index of all manual pages