Home
last modified time | relevance | path

Searched refs:pM (Results 1 – 3 of 3) sorted by relevance

/petsc/src/ksp/ksp/tutorials/
H A Dex42.c1545 PetscInt M, N, P, pM, pN, pP, sum, *olx, *oly, *olz; in DAViewVTK_write_PieceExtend() local
1555 PetscCall(DMDAGetInfo(da, 0, &M, &N, &P, &pM, &pN, &pP, 0, &stencil, 0, 0, 0, 0)); in DAViewVTK_write_PieceExtend()
1559 PetscCall(PetscMalloc1(pM + 1, &olx)); in DAViewVTK_write_PieceExtend()
1563 for (i = 0; i < pM; i++) { in DAViewVTK_write_PieceExtend()
1567 olx[pM] = sum; in DAViewVTK_write_PieceExtend()
1581 PetscCall(PetscMalloc1(pM, &osx)); in DAViewVTK_write_PieceExtend()
1584 PetscCall(PetscMalloc1(pM, &oex)); in DAViewVTK_write_PieceExtend()
1587 for (i = 0; i < pM; i++) { in DAViewVTK_write_PieceExtend()
1609 for (i = 0; i < pM; i++) { in DAViewVTK_write_PieceExtend()
1611 PetscInt procid = i + j * pM + k * pM * pN; /* convert proc(i,j,k) to pid */ in DAViewVTK_write_PieceExtend()
/petsc/src/mat/tests/
H A Dex94.c37 PetscInt pm, pn, pM, pN; in main() local
292 PetscCall(MatGetSize(P, &pM, &pN)); in main()
/petsc/src/binding/petsc4py/src/petsc4py/PETSc/
H A Dlibpetsc4py.pyx1283 cdef PetscMat pM = C if i == 2 else B if i == 1 else A
1293 cdef productNumeric = PyMat(pM).productNumeric
1295 productNumeric(PyC if C == pM else PyB if B == pM else PyA, Mat_(mat), mtypes[mtype], *mats)
1324 cdef PetscMat pM = C if i == 2 else B if i == 1 else A
1334 cdef productSymbolic = PyMat(pM).productSymbolic
1336 productSymbolic(PyC if C == pM else PyB if B == pM else PyA, Mat_(mat), mtypes[mtype], *mats)
1377 cdef PetscMat pM = NULL
1383 pM = <PetscMat>mm.mat
1384 CHKERR(PetscObjectTypeCompare(<PetscObject>pM, MATPYTHON, &mispy))
1386 if PyMat(pM).productSetFromOptions is not None:
[all …]