Home
last modified time | relevance | path

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

/petsc/src/ksp/ksp/utils/lmvm/dense/
H A Dcd_utils.c57 static inline PetscInt oldest_update(PetscInt m, PetscInt idx) in oldest_update() function
69 oldest_index = recycle_index(m, oldest_update(m, num_updates)); in VecRecycleOrderToHistoryOrder()
82 oldest_index = recycle_index(m, oldest_update(m, num_updates)); in VecHistoryOrderToRecycleOrder()
154 h = num_updates - oldest_update(m, num_updates); in MatUpperTriangularSolveInPlace()
166 …larSolveInPlace_Internal(strategy, memtype_x, hermitian_transpose, m, oldest_update(m, num_updates… in MatUpperTriangularSolveInPlace()
H A Ddenseqn.c29 static inline PetscInt oldest_update(PetscInt m, PetscInt idx) in oldest_update() function
311 PetscInt h_old = k - oldest_update(m, k); in MatUpdate_LMVMDQN()
312 PetscInt h_new = k + 1 - oldest_update(m, k + 1); in MatUpdate_LMVMDQN()
419 PetscInt h = k - oldest_update(m, k); in MatUpdate_LMVMDQN()
667 PetscInt h = k - oldest_update(m, k); in MatLMVMDBFGSUpdateMultData()
684 lbfgs->num_mult_updates = oldest_update(m, k); in MatLMVMDBFGSUpdateMultData()
689 for (PetscInt j = oldest_update(m, k); j < k; j++) { in MatLMVMDBFGSUpdateMultData()
707 prev_oldest = oldest_update(m, lbfgs->num_mult_updates); in MatLMVMDBFGSUpdateMultData()
708 if (lbfgs->strategy == MAT_LMVM_DENSE_REORDER && prev_oldest < oldest_update(m, k)) { in MatLMVMDBFGSUpdateMultData()
710 PetscInt m_keep = m - (oldest_update(m, k) - prev_oldest); in MatLMVMDBFGSUpdateMultData()
[all …]