#include "petscksp.h" PetscErrorCode KSPGuessDestroy(KSPGuess *guess)PetscFunctionBegin; PetscValidHeaderSpecific(guess,KSPGUESS_CLASSID,1); if (guess->ops->setfromoptions) { ierr = (*guess->ops->setfromoptions)(guess);CHKERRQ(ierr); } PetscFunctionReturn(0); }
/*@ KSPGuessDestroy - Destroys KSPGuess context.
Collective on KSPGuess
Level:beginner
Location:src/ksp/ksp/interface/iguess.c
Index of all KSP routines
Table of Contents for all manual pages
Index of all manual pages