Searched refs:nupdates (Results 1 – 5 of 5) sorted by relevance
| /petsc/src/tao/bound/impls/bqnls/ |
| H A D | bqnls.c | 26 PetscInt nupdates; in TaoBQNLSComputeStep() local 33 PetscCall(MatLMVMGetUpdateCount(bqnk->B, &nupdates)); in TaoBQNLSComputeStep() 34 if (nupdates == 0) *step_type = BNK_SCALED_GRADIENT; in TaoBQNLSComputeStep()
|
| /petsc/src/tao/unconstrained/impls/lmvm/ |
| H A D | lmvm.c | 12 PetscInt stepType = LMVM_STEP_GRAD, nupdates; in TaoSolve_LMVM() local 52 PetscCall(MatLMVMGetUpdateCount(lmP->M, &nupdates)); in TaoSolve_LMVM() 53 if (nupdates > 0) stepType = LMVM_STEP_BFGS; in TaoSolve_LMVM()
|
| /petsc/src/ksp/ksp/utils/lmvm/ |
| H A D | lmvmimpl.c | 84 lmvm->nupdates = 0; in MatReset_LMVM() 146 lmvm->nupdates++; in MatUpdateKernel_LMVM() 256 mctx->nupdates = bctx->nupdates; in MatCopy_LMVM() 326 PetscCall(PetscViewerASCIIPrintf(pv, "Number of updates: %" PetscInt_FMT "\n", lmvm->nupdates)); in MatView_LMVM()
|
| H A D | lmvm.h | 86 PetscInt m, k, nupdates, nrejects, nresets; member
|
| H A D | lmvmutils.c | 900 PetscErrorCode MatLMVMGetUpdateCount(Mat B, PetscInt *nupdates) in MatLMVMGetUpdateCount() argument 910 *nupdates = lmvm->nupdates; in MatLMVMGetUpdateCount()
|