Searched refs:cg_restart (Results 1 – 1 of 1) sorted by relevance
443 PetscBool cg_restart = PETSC_FALSE; in TaoBNCGStepDirectionUpdate() local453 cg_restart = PETSC_TRUE; in TaoBNCGStepDirectionUpdate()458 if (tao->niter % (dim * cg->min_restart_num)) cg_restart = PETSC_TRUE; in TaoBNCGStepDirectionUpdate()464 if (0 == tao->niter % (6 * dim)) cg_restart = PETSC_TRUE; in TaoBNCGStepDirectionUpdate()491 if (cg_restart) { in TaoBNCGStepDirectionUpdate()