Searched refs:hessComputed (Results 1 – 1 of 1) sorted by relevance
298 PetscBool hessComputed, diagExists, hadactive; in TaoBNKEstimateActiveSet() local316 hessComputed = diagExists = PETSC_FALSE; in TaoBNKEstimateActiveSet()317 if (tao->hessian) PetscCall(MatAssembled(tao->hessian, &hessComputed)); in TaoBNKEstimateActiveSet()318 if (hessComputed) PetscCall(MatHasOperation(tao->hessian, MATOP_GET_DIAGONAL, &diagExists)); in TaoBNKEstimateActiveSet()