| /petsc/src/dm/partitioner/impls/simple/ |
| H A D | partsimple.c | 50 PetscInt Np = 1, Nr, np, nk, nj, ni, pk, pj, pi, ck, cj, ci, i; in PetscPartitionerPartition_Simple_Grid() local 85 for (nk = 0; nk < nodes[2]; ++nk) { in PetscPartitionerPartition_Simple_Grid() 88 const PetscInt nid = (nk * nodes[1] + nj) * nodes[0] + ni; in PetscPartitionerPartition_Simple_Grid() 99 …const PetscInt cid = (((nk * procs[2] + pk) * pcells[2] + ck) * cells[1] + ((nj * procs[1] + pj) *… in PetscPartitionerPartition_Simple_Grid()
|
| /petsc/src/mat/tests/ |
| H A D | ex202.c | 7 const PetscInt nr = 2, nc = 3, nk = 10; in TestInitialMatrix() local 63 PetscCall(MatCreateSeqDense(PETSC_COMM_WORLD, acol[0] + acol[nr] + acol[2 * nr], nk, NULL, &B)); in TestInitialMatrix() 72 for (i = 0; i < nk; i++) { in TestInitialMatrix()
|
| /petsc/src/dm/tutorials/ |
| H A D | ex15.c | 72 PetscInt i, j, k, l, si, sj, sk, ni, nj, nk, M, N, dof; in DMDAVecGenerateEntries() local 76 PetscCall(DMDAGetCorners(dm, &si, &sj, &sk, &ni, &nj, &nk)); in DMDAVecGenerateEntries() 78 for (k = sk; k < sk + nk; k++) { in DMDAVecGenerateEntries()
|
| /petsc/src/dm/impls/plex/ |
| H A D | plexgmsh.c | 1295 PetscInt keymap[GMSH_NUM_POLYTOPES], nk = 0; in GmshReadElements() local 1301 keymap[GMSH_TET] = nk++; in GmshReadElements() 1302 keymap[GMSH_HEX] = nk++; in GmshReadElements() 1303 keymap[GMSH_PRI] = nk++; in GmshReadElements() 1304 keymap[GMSH_PYR] = nk++; in GmshReadElements() 1305 keymap[GMSH_TRI] = nk++; in GmshReadElements() 1306 keymap[GMSH_QUA] = nk++; in GmshReadElements() 1307 keymap[GMSH_SEG] = nk++; in GmshReadElements() 1308 keymap[GMSH_VTX] = nk++; in GmshReadElements() 1313 for (k = 1; k < nk; ++k) offset[k] += offset[k - 1]; in GmshReadElements()
|
| /petsc/src/ksp/pc/impls/telescope/ |
| H A D | telescope_dmda.c | 218 PetscInt i, j, k, si, sj, sk, ni, nj, nk, M, N, P, Ml, Nl, Pl, c, nidx; in PCTelescopeSetUp_dmda_repart_coors3d() local 239 PetscCall(DMDAGetCorners(subdm, &si, &sj, &sk, &ni, &nj, &nk)); in PCTelescopeSetUp_dmda_repart_coors3d() 242 Pl = nk; in PCTelescopeSetUp_dmda_repart_coors3d() 245 ni = nj = nk = 0; in PCTelescopeSetUp_dmda_repart_coors3d() 253 for (k = sk; k < sk + nk; k++) { in PCTelescopeSetUp_dmda_repart_coors3d()
|
| /petsc/src/dm/impls/da/ |
| H A D | gr2.c | 730 PetscInt dim, ni, nj, nk, pi, pj, pk, dof, n; in VecView_MPI_DA() local 736 …PetscCall(DMDAGetInfo(da, &dim, &ni, &nj, &nk, &pi, &pj, &pk, &dof, NULL, NULL, NULL, NULL, NULL)); in VecView_MPI_DA() 741 …mp,%" PetscInt_FMT ",%" PetscInt_FMT ",%" PetscInt_FMT ",%" PetscInt_FMT ");\n", dof, ni, nj, nk)); in VecView_MPI_DA()
|
| /petsc/share/petsc/datafiles/meshes/ |
| H A D | testcase3D.cas | 8151 (synthetic-turb-generator-nk 200) 8301 (omega/nk 1) 9678 (beach-dir-nk . 0) 9684 …(beach-dir-list ((ni . 1) (nj . 0) (nk . 0) (xe . 0) (len . 1)) ((ni . 1) (nj . 0) (nk . 0) (xe . … 9733 (nk . 0) 9855 (q-nk (constant . 0) (profile "" "")) 10049 (nk . 0) 10171 (q-nk (constant . 0) (profile "" "")) 10365 (nk . 0) 10487 (q-nk (constant . 0) (profile "" "")) [all …]
|