Searched refs:Ntotal (Results 1 – 2 of 2) sorted by relevance
| /petsc/src/sys/error/ |
| H A D | err.c | 493 PetscMPIInt *sizes, Ntotal, *displs, NN; in PetscIntViewNumColumns() local 505 Ntotal = sizes[0]; in PetscIntViewNumColumns() 509 Ntotal += sizes[i]; in PetscIntViewNumColumns() 512 PetscCall(PetscMalloc1(Ntotal, &array)); in PetscIntViewNumColumns() 514 PetscCall(PetscViewerBinaryWrite(viewer, array, Ntotal, PETSC_INT)); in PetscIntViewNumColumns() 601 PetscMPIInt *sizes, *displs, Ntotal, NN; in PetscRealViewNumColumns() local 613 Ntotal = sizes[0]; in PetscRealViewNumColumns() 617 Ntotal += sizes[i]; in PetscRealViewNumColumns() 620 PetscCall(PetscMalloc1(Ntotal, &array)); in PetscRealViewNumColumns() 622 PetscCall(PetscViewerBinaryWrite(viewer, array, Ntotal, PETSC_REAL)); in PetscRealViewNumColumns() [all …]
|
| /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 230 …Ntotal = (mp + 1) * (np + 1) * (pp + 1) + mp * np * (pp + 1) + mp * pp * (np + 1) + np * pp * (mp … in DMDAGetWireBasketInterpolation() 296 PetscCall(PetscHMapICreateWithSize(Ntotal / 3, &ht)); in DMDAGetWireBasketInterpolation() 307 …= Ntotal, PETSC_COMM_SELF, PETSC_ERR_PLIB, "Hash table size %" PetscInt_FMT " not equal to total n… in DMDAGetWireBasketInterpolation() 319 …PetscCall(MatCreateAIJ(PetscObjectComm((PetscObject)da), Ng, PETSC_DECIDE, PETSC_DECIDE, Ntotal, N… in DMDAGetWireBasketInterpolation() 339 PetscCall(VecCreateMPI(PetscObjectComm((PetscObject)da), PETSC_DETERMINE, Ntotal, &x)); in DMDAGetWireBasketInterpolation() 368 …PetscInt mwidth, nwidth, pwidth, cnt, mp, np, pp, Ntotal, gl[6], *globals, Ng, *IIin… in DMDAGetFaceInterpolation() local 552 Ntotal = mp * np * (pp + 1) + mp * pp * (np + 1) + np * pp * (mp + 1); in DMDAGetFaceInterpolation() 585 PetscCall(PetscHMapICreateWithSize(Ntotal / 3, &ht)); in DMDAGetFaceInterpolation() 596 …= Ntotal, PETSC_COMM_SELF, PETSC_ERR_PLIB, "Hash table size %" PetscInt_FMT " not equal to total n… in DMDAGetFaceInterpolation() [all …]
|