KSPOrthogonalizationFn#

A function prototype for functions provided to KSPOrthogonalizationSet()

Synopsis#

PETSC_EXTERN_TYPEDEF typedef PetscErrorCode KSPOrthogonalizationFn(KSP ksp, Vec V[], PetscInt n, Vec x, PetscScalar h[]);

Calling Sequence#

  • ksp - the KSP context

  • V - array of previously computed orthonormal vectors

  • n - number of vectors

  • x - vector to be orthogonalized (may be NULL)

  • h - computed orthogonalization coefficients

Note#

If no x is given, then the vector to be orthogonalized is assumed to be located at V[n].

See Also#

KSP: Linear System Solvers, KSP, KSPOrthogonalizationSet()

Level#

intermediate

Location#

include/petscksp.h


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