Home
last modified time | relevance | path

Searched refs:restore (Results 1 – 10 of 10) sorted by relevance

/petsc/src/vec/vec/impls/hypre/
H A Dvhyp.c147 …etArrayForHYPRE(v, 0, VecHYPRE_IJVectorMemoryLocation(ij->ij), (PetscScalar **)&pv, &ij->restore)); in VecHYPRE_IJVectorPushVecRead()
164 …etArrayForHYPRE(v, 1, VecHYPRE_IJVectorMemoryLocation(ij->ij), (PetscScalar **)&pv, &ij->restore)); in VecHYPRE_IJVectorPushVecWrite()
181 …etArrayForHYPRE(v, 2, VecHYPRE_IJVectorMemoryLocation(ij->ij), (PetscScalar **)&pv, &ij->restore)); in VecHYPRE_IJVectorPushVec()
194 …PetscCheck(ij->restore, PETSC_COMM_SELF, PETSC_ERR_ORDER, "Forgot to call VecHYPRE_IJVectorPushVec… in VecHYPRE_IJVectorPopVec()
196 PetscCall((*ij->restore)(ij->pvec, (PetscScalar **)&pv)); in VecHYPRE_IJVectorPopVec()
199 ij->restore = NULL; in VecHYPRE_IJVectorPopVec()
H A Dvhyp.h14 PetscErrorCode (*restore)(Vec, PetscScalar **); member
/petsc/src/dm/impls/plex/tutorials/
H A Dex11.c286 PetscBool restore = PETSC_TRUE; in CheckSubcells() local
319 restore = PETSC_FALSE; in CheckSubcells()
325 restore = PETSC_FALSE; in CheckSubcells()
331 restore = PETSC_FALSE; in CheckSubcells()
336 …PetscCheck(!restore, PETSC_COMM_SELF, PETSC_ERR_PLIB, "Unable to find matching %s %" PetscInt_FMT … in CheckSubcells()
345 if (restore) PetscCall(DMPlexTransformRestoreCone(otr, pNew, &oqcone, &oqornt)); in CheckSubcells()
/petsc/src/mat/impls/dense/seq/
H A Ddense.c328 if (PetscAbsScalar(v[i + j * N] - PetscConj(v[j + i * N])) > rtol) goto restore; in MatIsHermitian_SeqDense()
332 restore: in MatIsHermitian_SeqDense()
349 if (PetscAbsScalar(v[i + j * N] - v[j + i * N]) > rtol) goto restore; in MatIsSymmetric_SeqDense()
353 restore: in MatIsSymmetric_SeqDense()
/petsc/doc/manual/
H A Dgetting_started.md1003 Objects obtained with a "get" routine should be returned with a "restore" routine, generally within…
1015 // don't forget to restore x after you are done with it
H A Dsnes.md843 … indicate the current value should be retained; use `PETSC_DETERMINE` to restore to the default va…
/petsc/src/binding/petsc4py/src/petsc4py/PETSc/
H A DVec.pyx765 # DLPack does not currently play well with our get/restore model
766 # Call restore right-away and hope that the consumer will do the right thing
H A DMat.pyx6008 # DLPack does not currently play well with our get/restore model
6009 # Call restore right-away and hope that the consumer will do the right thing
/petsc/share/petsc/datafiles/meshes/
H A Dtestcase3D.cas654 (shell/restore-inner-temp? #f)
2043 (dpm/random/seed-restore? #t)
8348 (cpld/cell-ar/rdq-restore 0.5)
8700 (amg-c/amg-alpha-restore 0.1)
8701 (recon/lim/filter/on-restore? #f)
8702 (cpld/divergence-prevention-relaxation-restore 0.1)
8703 (cpld/divergence-prevention-active-restore? #f)
/petsc/src/ksp/pc/impls/bddc/
H A Dbddcprivate.c2261 PetscErrorCode PCBDDCBenignShellMat(PC pc, PetscBool restore) in PCBDDCBenignShellMat() argument
2268 if (!restore) { in PCBDDCBenignShellMat()