Searched refs:yty (Results 1 – 4 of 4) sorted by relevance
| /petsc/src/ksp/ksp/utils/lmvm/rescale/ |
| H A D | symbrdnrescale.c | 25 for (PetscInt i = 0; i < next - oldest; ++i) signew += ldb->yts[i] / ldb->yty[i]; in SymBroydenRescaleUpdateScalar() 27 for (PetscInt i = 0; i < next - oldest; ++i) signew += ldb->sts[i] / ldb->yty[i]; in SymBroydenRescaleUpdateScalar() 35 a += ldb->yty[i]; in SymBroydenRescaleUpdateScalar() 229 yy_sum += ldb->yty[i]; // ||y||_{D^(-2*beta)}^2 in SymBroydenRescaleUpdateDiagonal() 330 ldb->yty[i - new_oldest] = ldb->yty[i - ldb_oldest]; in SymBroydenRescaleUpdate() 336 PetscScalar yty, sts, yts; in SymBroydenRescaleUpdate() local 338 PetscCall(MatLMVMProductsGetDiagonalValue(B, LMBASIS_Y, LMBASIS_Y, i, &yty)); in SymBroydenRescaleUpdate() 341 ldb->yty[i - new_oldest] = PetscRealPart(yty); in SymBroydenRescaleUpdate() 438 …PetscCall(PetscMalloc3(ldb->sigma_hist, &ldb->yty, ldb->sigma_hist, &ldb->yts, ldb->sigma_hist, &l… in SymBroydenRescaleAllocate() 512 PetscCall(PetscFree3(ldb->yty, ldb->yts, ldb->sts)); in SymBroydenRescaleReset()
|
| H A D | symbrdnrescale.h | 12 …PetscReal *yty, *sts, *yts; /* scalar arrays for recycling dot product… member
|
| /petsc/src/tao/bound/impls/bncg/ |
| H A D | bncg.c | 257 PetscErrorCode TaoBNCGComputeScalarScaling(PetscReal yty, PetscReal yts, PetscReal sts, PetscReal *… in TaoBNCGComputeScalarScaling() argument 263 if (1.0 == alpha) *scale = yts / yty; in TaoBNCGComputeScalarScaling() 267 a = yty; in TaoBNCGComputeScalarScaling() 634 cg->yty = ynorm2; in TaoBNCGStepDirectionUpdate() 677 cg->yty = ynorm2; in TaoBNCGStepDirectionUpdate() 730 cg->yty = ynorm2; in TaoBNCGStepDirectionUpdate() 773 cg->yty = ynorm2; in TaoBNCGStepDirectionUpdate() 777 PetscCall(TaoBNCGComputeScalarScaling(cg->yty, cg->yts, cg->sts, &tau_k, cg->alpha)); in TaoBNCGStepDirectionUpdate() 779 beta = tau_k * (gkp1_yk / dk_yk - cg->yty * gd / (dk_yk * dk_yk)) - step * tmp; in TaoBNCGStepDirectionUpdate() 802 cg->yty = ynorm2; in TaoBNCGStepDirectionUpdate() [all …]
|
| H A D | bncg.h | 28 PetscReal as_step, as_tol, yts, yty, sts; member
|