| /petsc/src/ksp/pc/impls/wb/ |
| H A D | wb.c | 20 …PetscInt mwidth, nwidth, pwidth, cnt, mp, np, pp, Ntotal, gl[26], *globals, Ng, *IIi… in DMDAGetWireBasketInterpolation() local 317 PetscCall(MatGetLocalSize(Aglobal, &Ng, NULL)); in DMDAGetWireBasketInterpolation() 319 …PetscCall(MatCreateAIJ(PetscObjectComm((PetscObject)da), Ng, PETSC_DECIDE, PETSC_DECIDE, Ntotal, N… in DMDAGetWireBasketInterpolation() 338 PetscCall(VecCreateMPI(PetscObjectComm((PetscObject)da), Ng, PETSC_DETERMINE, &y)); in DMDAGetWireBasketInterpolation() 343 …for (i = 0; i < Ng; i++) PetscCheck(PetscAbsScalar(yy[i] - 1.0) <= 1.e-10, PETSC_COMM_SELF, PETSC_… in DMDAGetWireBasketInterpolation() 368 …PetscInt mwidth, nwidth, pwidth, cnt, mp, np, pp, Ntotal, gl[6], *globals, Ng, *IIin… in DMDAGetFaceInterpolation() local 606 PetscCall(MatGetLocalSize(Aglobal, &Ng, NULL)); in DMDAGetFaceInterpolation() 608 …PetscCall(MatCreateAIJ(PetscObjectComm((PetscObject)da), Ng, PETSC_DECIDE, PETSC_DECIDE, Ntotal, N… in DMDAGetFaceInterpolation() 627 PetscCall(VecCreateMPI(PetscObjectComm((PetscObject)da), Ng, PETSC_DETERMINE, &y)); in DMDAGetFaceInterpolation() 632 …for (i = 0; i < Ng; i++) PetscCheck(PetscAbsScalar(yy[i] - 1.0) <= 1.e-10, PETSC_COMM_SELF, PETSC_… in DMDAGetFaceInterpolation()
|
| /petsc/src/tao/constrained/impls/ipm/ |
| H A D | pdipm.h | 17 PetscInt ng, Ng; /* user equality constraints g(x) = 0. */ member
|
| H A D | pdipm.c | 25 if (pdipm->Ng) { in TaoPDIPMEvaluateFunctionsAndJacobians() 68 if (pdipm->Ng) { in TaoPDIPMUpdateConstraints() 314 if (pdipm->Ng) { in TaoSNESJacobian_PDIPM() 355 if (pdipm->Ng) { /* grad g' */ in TaoSNESJacobian_PDIPM() 487 if (pdipm->Ng) { in TaoSNESFunction_PDIPM() 870 PetscCall(VecGetSize(tao->constraints_equality, &pdipm->Ng)); in TaoSetup_PDIPM() 873 pdipm->ng = pdipm->Ng = 0; in TaoSetup_PDIPM() 877 pdipm->Nce = pdipm->Ng + pdipm->Nxfixed; in TaoSetup_PDIPM() 923 if (pdipm->Ng) { in TaoSetup_PDIPM() 924 …PetscCall(VecCreateMPIWithArray(comm, 1, pdipm->ng, pdipm->Ng, Xarr + pdipm->off_lambdae, &tao->DE… in TaoSetup_PDIPM() [all …]
|
| /petsc/src/dm/impls/plex/ |
| H A D | plexsubmesh.c | 920 PetscInt d, depth = 0, nleaves, loc, Ng, numFS, fs, fStart, fEnd, ghostCell, cEnd, c; in DMPlexConstructGhostCells_Internal() local 932 Ng = 0; in DMPlexConstructGhostCells_Internal() 950 Ng += numBdFaces; in DMPlexConstructGhostCells_Internal() 963 if (depth >= 0) depthShift[2 * depth + 1] = Ng; in DMPlexConstructGhostCells_Internal() 968 for (c = cEnd; c < cEnd + Ng; ++c) PetscCall(DMPlexSetConeSize(gdm, c, 1)); in DMPlexConstructGhostCells_Internal() 986 PetscCall(DMPlexSetSupportSize(gdm, faces[f] + Ng, 2)); in DMPlexConstructGhostCells_Internal() 1005 PetscInt newFace = faces[f] + Ng, numChildren; in DMPlexConstructGhostCells_Internal() 1026 for (c = cEnd; c < cEnd + Ng; ++c) PetscCall(DMPlexSetCellType(gdm, c, DM_POLYTOPE_FV_GHOST)); in DMPlexConstructGhostCells_Internal() 1030 if (numGhostCells) *numGhostCells = Ng; in DMPlexConstructGhostCells_Internal() 1059 PetscInt dim, Ng = 0; in DMPlexConstructGhostCells() local [all …]
|
| /petsc/src/dm/dt/interface/ |
| H A D | dtds.c | 3801 PetscInt Nf, Ng; in PetscDSCopyEquations() local 3807 PetscCall(PetscDSGetNumFields(newprob, &Ng)); in PetscDSCopyEquations() 3808 …eck(Nf == Ng, PetscObjectComm((PetscObject)prob), PETSC_ERR_ARG_SIZ, "Number of fields must match … in PetscDSCopyEquations()
|
| /petsc/doc/ |
| H A D | petsc.bib | 17100 L.C. McInnes and E. Ng and S. Wild}, 17153 author = {P. Spentzouris and J. Cary and L. C. McInnes and W. Mori and C. Ng and E. Ng and 18143 Parry Husbands and Esmond G. Ng}, 23391 Miranda Holmes-Cerfon and Barney Maccabe and Esmong Ng and Pieter Swart and Karen 29941 author = {J. R. Gilbert and E. Ng}, 34676 author = {E. Ng and B. Peyton},
|