Home
last modified time | relevance | path

Searched refs:next_idx (Results 1 – 2 of 2) sorted by relevance

/petsc/src/ksp/ksp/utils/lmvm/
H A Dlmbasis.c265 PetscInt next_idx = ((next - 1) % A->m) + 1; in LMBasisGEMV() local
284 } else if (oldest_idx < next_idx) { in LMBasisGEMV()
286 if (beta == 0.0) PetscCall(MatMultColumnRange(A->vecs, x_, y, oldest_idx, next_idx)); in LMBasisGEMV()
287 else PetscCall(MatMultAddColumnRange(A->vecs, x_, y, y, oldest_idx, next_idx)); in LMBasisGEMV()
289 if (beta == 0.0) PetscCall(MatMultColumnRange(A->vecs, x_, y, 0, next_idx)); in LMBasisGEMV()
290 else PetscCall(MatMultAddColumnRange(A->vecs, x_, y, y, 0, next_idx)); in LMBasisGEMV()
301 PetscInt next_idx = ((next - 1) % A->m) + 1; in LMBasisGEMVH() local
326 } else if (oldest_idx < next_idx) { in LMBasisGEMVH()
328 … 1.0) PetscCall(MatMultHermitianTransposeAddColumnRange(A->vecs, x, y_, y_, oldest_idx, next_idx)); in LMBasisGEMVH()
329 else PetscCall(MatMultHermitianTransposeColumnRange(A->vecs, x, y_, oldest_idx, next_idx)); in LMBasisGEMVH()
[all …]
H A Dlmproducts.c152 PetscInt next_idx = ((next - 1) % dots->m) + 1; in LMProductsUpdate_Internal() local
154 if (next_idx > start_idx) { in LMProductsUpdate_Internal()