Home
last modified time | relevance | path

Searched refs:ney (Results 1 – 4 of 4) sorted by relevance

/petsc/src/dm/tests/
H A Dex50.c56 PetscInt nel, dof = 3, nex, ney, nez, gx = 0, gy = 0, gz = 0; in test_3d() local
76 ney = 1; in test_3d()
81 PetscCall(DMDAGetElementsSizes(dm, &nex, &ney, &nez)); in test_3d()
82 nel = nex * ney * nez; in test_3d()
90 for (j = gy; j < gy + ney; j++) { in test_3d()
/petsc/src/ksp/ksp/tutorials/
H A Dex59.c36 PetscInt nex, ney, nez; member
652 dd->ney_l = dd->ney / dd->npy; in DomainDecomposition()
653 if (dd->ipy < dd->ney % dd->npy) dd->ney_l++; in DomainDecomposition()
667 dd->ym = dd->ney * dd->p + 1; in DomainDecomposition()
687 j = dd->ney / dd->npy; in DomainDecomposition()
690 if (i < dd->ney % dd->npy) k++; in DomainDecomposition()
947 dd->ney = dd->npy; in InitializeDomainData()
950 PetscCall(PetscOptionsGetInt(NULL, NULL, "-ney", &dd->ney, NULL)); in InitializeDomainData()
953 dd->ney = 0; in InitializeDomainData()
981 …PetscCheck(dd->nex >= dd->npx || dd->ney < dd->npy, dd->gcomm, PETSC_ERR_USER, "Number of elements… in InitializeDomainData()
[all …]
/petsc/src/dm/impls/moab/
H A Ddmmbutil.cxx20 PetscInt NX, NY, NZ, nex, ney, nez; member
320 … gids[ie + j] = 1 + ((xe + ii) + (ye + jj) * genCtx.nex + (ze + kk) * (genCtx.nex * genCtx.ney)); in DMMoab_GenerateElements_Private()
410 genCtx.nex = genCtx.ney = genCtx.nez = 0; in DMMBUtil_InitializeOptions()
413 genCtx.nex = genCtx.ney = genCtx.nez = 0; in DMMBUtil_InitializeOptions()
426 …genCtx.ney = genCtx.N * genCtx.B * genCtx.blockSizeElementXYZ[1]; /* number of e… in DMMBUtil_InitializeOptions()
428 genCtx.NY = (genCtx.q * genCtx.ney + 1); in DMMBUtil_InitializeOptions()
444 …genCtx.ney = genCtx.N * genCtx.B * genCtx.blockSizeElementXYZ[1]; /* number of e… in DMMBUtil_InitializeOptions()
446 genCtx.NY = (genCtx.q * genCtx.ney + 1); in DMMBUtil_InitializeOptions()
473 …= %" PetscInt_FMT ", %" PetscInt_FMT ", %" PetscInt_FMT "\n", genCtx.nex, genCtx.ney, genCtx.nez)); in DMMBUtil_InitializeOptions()
/petsc/src/dm/impls/da/
H A Dgrglvis.c35 static PetscErrorCode DMDAGetNumElementsGhosted(DM da, PetscInt *nex, PetscInt *ney, PetscInt *nez) in DMDAGetNumElementsGhosted() argument
43 if (ney) *ney = -1; in DMDAGetNumElementsGhosted()
63 if (ney) *ney = jen; in DMDAGetNumElementsGhosted()