# EPSGDSetBOrth

Selects the orthogonalization that will be used in the search subspace in case of generalized Hermitian problems.

### Synopsis

    #include "slepceps.h"
    PetscErrorCode EPSGDSetBOrth(EPS eps,EPSOrthType borth)

Logically Collective on EPS

### Input Parameters

| eps | - the eigenproblem solver context
| borth | - the kind of orthogonalization

### Possible values

The parameter 'borth' can have one of these values

| EPS_ORTH_I | - orthogonalization of the search subspace
| EPS_ORTH_B | - B-orthogonalization of the search subspace
| EPS_ORTH_BOPT | - B-orthogonalization of the search subspace with an alternative method

### Options Database Key

-eps_gd_borth - Set the orthogonalization used in the search subspace

### Notes

If borth is EPS_ORTH_B, the solver uses a variant of Gram-Schmidt (selected in IP associated to the EPS) with the inner product defined by the matrix problem B. If borth is EPS_ORTH_BOPT, it uses another variant of Gram-Schmidt that only performs one matrix-vector product although more than one reorthogonalization would be done.

### See Also

EPSGDGetBOrth()

Location: src/eps/impls/davidson/gd/gd.c
Index of all EPS routines
Table of Contents for all manual pages
Index of all manual pages