Home
last modified time | relevance | path

Searched refs:nex (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
75 nex = nel; in test_3d()
81 PetscCall(DMDAGetElementsSizes(dm, &nex, &ney, &nez)); in test_3d()
82 nel = nex * ney * nez; in test_3d()
91 for (i = gx; i < gx + nex; i++) { in test_3d()
/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()
422 …genCtx.nex = genCtx.M * genCtx.A * genCtx.blockSizeElementXYZ[0]; /* number of e… in DMMBUtil_InitializeOptions()
424 genCtx.NX = (genCtx.q * genCtx.nex + 1); in DMMBUtil_InitializeOptions()
440 …genCtx.nex = genCtx.M * genCtx.A * genCtx.blockSizeElementXYZ[0]; /* number … in DMMBUtil_InitializeOptions()
441 …genCtx.dx = (genCtx.xyzbounds[1] - genCtx.xyzbounds[0]) / (genCtx.nex * genCtx.q); /* distanc… in DMMBUtil_InitializeOptions()
442 genCtx.NX = (genCtx.q * genCtx.nex + 1); in DMMBUtil_InitializeOptions()
453 …genCtx.nex = genCtx.M * genCtx.A * genCtx.blockSizeElementXYZ[0]; /* number of e… in DMMBUtil_InitializeOptions()
[all …]
/petsc/src/ksp/ksp/tutorials/ !
H A Dex59.c36 PetscInt nex, ney, nez; member
649 dd->nex_l = dd->nex / dd->npx; in DomainDecomposition()
650 if (dd->ipx < dd->nex % dd->npx) dd->nex_l++; in DomainDecomposition()
665 dd->xm = dd->nex * dd->p + 1; in DomainDecomposition()
677 j = dd->nex / dd->npx; in DomainDecomposition()
680 if (i < dd->nex % dd->npx) k++; in DomainDecomposition()
946 dd->nex = dd->npx; in InitializeDomainData()
949 PetscCall(PetscOptionsGetInt(NULL, NULL, "-nex", &dd->nex, NULL)); in InitializeDomainData()
978 …PetscCheck(dd->nex >= dd->npx, dd->gcomm, PETSC_ERR_USER, "Number of elements per dim must be grea… 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/da/ !
H A Dgrglvis.c35 static PetscErrorCode DMDAGetNumElementsGhosted(DM da, PetscInt *nex, PetscInt *ney, PetscInt *nez) in DMDAGetNumElementsGhosted() argument
42 if (nex) *nex = -1; in DMDAGetNumElementsGhosted()
62 if (nex) *nex = ien; in DMDAGetNumElementsGhosted()