KSPCGGetObjFcn

Get objective function value.

Synopsis

#include "petscksp.h" 
PetscErrorCode  KSPCGGetObjFcn(KSP ksp, PetscReal *o_fcn)
Collective on ksp

Input Parameters

ksp - the iterative context
o_fcn - the objective function value

Level: advanced

See Also

KSP, KSPCG, KSPNASH, KSPSTCG, KSPGLTR

Location:cgtype.c