| /petsc/src/sys/classes/viewer/impls/vu/ |
| H A D | petscvu.c | 22 PetscViewer_VU *vu = (PetscViewer_VU *)viewer->data; in PetscViewerFileClose_VU() local 25 if (vu->vecSeen) PetscCall(PetscViewerVUPrintDeferred(viewer, "};\n\n")); in PetscViewerFileClose_VU() 27 PetscCall(PetscFClose(PetscObjectComm((PetscObject)viewer), vu->fd)); in PetscViewerFileClose_VU() 28 vu->fd = NULL; in PetscViewerFileClose_VU() 29 PetscCall(PetscFree(vu->filename)); in PetscViewerFileClose_VU() 35 PetscViewer_VU *vu = (PetscViewer_VU *)viewer->data; in PetscViewerDestroy_VU() local 39 PetscCall(PetscFree(vu)); in PetscViewerDestroy_VU() 59 PetscViewer_VU *vu = (PetscViewer_VU *)viewer->data; in PetscViewerFileSetMode_VU() local 62 vu->mode = mode; in PetscViewerFileSetMode_VU() 68 PetscViewer_VU *vu = (PetscViewer_VU *)viewer->data; in PetscViewerFileGetMode_VU() local [all …]
|
| /petsc/src/snes/tutorials/ |
| H A D | ex21.c | 114 Vec vw, vu, vlambda, vfw, vfu, vflambda; in FormFunction() local 117 PetscCall(DMCompositeGetLocalVectors(user->packer, &vw, &vu, &vlambda)); in FormFunction() 119 PetscCall(DMCompositeScatter(user->packer, U, vw, vu, vlambda)); in FormFunction() 125 PetscCall(DMDAVecGetArray(user->da1, vu, &u)); in FormFunction() 155 PetscCall(DMDAVecRestoreArray(user->da1, vu, &u)); in FormFunction() 161 PetscCall(DMCompositeRestoreLocalVectors(user->packer, &vw, &vu, &vlambda)); in FormFunction()
|
| /petsc/src/mat/tests/ |
| H A D | ex120.c | 19 PetscReal vl, vu, abstol = 1.e-8; in main() local 161 vu = 8.0; in main() 163 …LAPACKsyevx_("V", "I", "U", &bn, arrayA, &bn, &vl, &vu, &il, &iu, &abstol, &nevs, evals, evecs_arr… in main() 190 vu = 8.0; in main() 192 …LAPACKsygvx_(&one, "V", "I", "U", &bn, arrayA, &bn, arrayB, &bn, &vl, &vu, &il, &iu, &abstol, &nev… in main()
|
| H A D | ex116.c | 27 PetscReal vl, vu, abstol = 1.e-8; in main() local 89 vu = 8.0; in main() 90 …LAPACKsyevx_("V", "I", "U", &bn, arrayA, &bn, &vl, &vu, &il, &iu, &abstol, &nevs, evals, evecs_arr… in main()
|
| H A D | ex118.c | 23 PetscReal vl = 0.0, vu = 4.0, tol = 1000 * PETSC_MACHINE_EPSILON; in main() 49 …LAPACKstebz_("I", "E", &n, &vl, &vu, &il, &iu, &tol, (PetscReal *)D, (PetscReal *)E, &nevs, &nspli… in main()
|
| /petsc/src/ksp/ksp/impls/cg/pipecg2/ |
| H A D | pipecg2.c | 82 …g1, Vec vh1, Vec vs, Vec va1, Vec vb1, Vec ve, Vec vf, Vec vm, Vec vn, Vec vu, PetscInt normtype, … in VecMergedOpsShort_Private() argument 109 PetscCall(VecGetArray(vu, (PetscScalar **)&pu)); in VecMergedOpsShort_Private() 299 PetscCall(VecRestoreArray(vu, (PetscScalar **)&pu)); in VecMergedOpsShort_Private() 304 …g1, Vec vh1, Vec vs, Vec va1, Vec vb1, Vec ve, Vec vf, Vec vm, Vec vn, Vec vu, PetscInt normtype, … in VecMergedOps_Private() argument 331 PetscCall(VecGetArray(vu, (PetscScalar **)&pu)); in VecMergedOps_Private() 528 PetscCall(VecRestoreArray(vu, (PetscScalar **)&pu)); in VecMergedOps_Private()
|
| /petsc/src/ksp/ksp/impls/cg/gltr/ |
| H A D | gltr.c | 72 PetscReal vl, vu; in KSPCGSolve_GLTR() 652 vu = 0.0; in KSPCGSolve_GLTR() 656 …PetscCallBLAS("LAPACKstebz", LAPACKstebz_("I", "E", &t_size, &vl, &vu, &il, &iu, &cg->eigen_tol, c… in KSPCGSolve_GLTR()
|
| /petsc/src/dm/impls/plex/ |
| H A D | plexsubmesh.c | 1510 PetscInt econeSize, r, vs, vu; in DMPlexConstructCohesiveCells_Internal() local 1516 … PetscCall(PetscFindInt(econe[r], numUnsplitPoints[dep - 2], unsplitPoints[dep - 2], &vu)); in DMPlexConstructCohesiveCells_Internal() 1518 …PetscCheck(vu >= 0, PETSC_COMM_SELF, PETSC_ERR_ARG_WRONG, "Could not locate point %" PetscInt_FMT … in DMPlexConstructCohesiveCells_Internal()
|