Home
last modified time | relevance | path

Searched refs:nez (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
77 nez = 1; in test_3d()
81 PetscCall(DMDAGetElementsSizes(dm, &nex, &ney, &nez)); in test_3d()
82 nel = nex * ney * nez; in test_3d()
89 for (k = gz; k < gz + nez; k++) { in test_3d()
/petsc/src/ksp/ksp/tutorials/
H A Dex59.c36 PetscInt nex, ney, nez; member
658 dd->nez_l = dd->nez / dd->npz; in DomainDecomposition()
659 if (dd->ipz < dd->nez % dd->npz) dd->nez_l++; in DomainDecomposition()
669 dd->zm = dd->nez * dd->p + 1; in DomainDecomposition()
696 j = dd->nez / dd->npz; in DomainDecomposition()
699 if (i < dd->nez % dd->npz) k++; in DomainDecomposition()
948 dd->nez = dd->npz; in InitializeDomainData()
951 PetscCall(PetscOptionsGetInt(NULL, NULL, "-nez", &dd->nez, NULL)); in InitializeDomainData()
954 dd->nez = 0; in InitializeDomainData()
956 if (!dd->npz) dd->nez = 0; 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
44 if (nez) *nez = -1; in DMDAGetNumElementsGhosted()
64 if (nez) *nez = ken; in DMDAGetNumElementsGhosted()
/petsc/src/dm/impls/moab/
H A Ddmmbutil.cxx20 PetscInt NX, NY, NZ, nex, ney, nez; member
410 genCtx.nex = genCtx.ney = genCtx.nez = 0; in DMMBUtil_InitializeOptions()
413 genCtx.nex = genCtx.ney = genCtx.nez = 0; in DMMBUtil_InitializeOptions()
430 …genCtx.nez = genCtx.K * genCtx.C * genCtx.blockSizeElementXYZ[2]; /* number of e… in DMMBUtil_InitializeOptions()
432 genCtx.NZ = (genCtx.q * genCtx.nez + 1); in DMMBUtil_InitializeOptions()
473 …= %" PetscInt_FMT ", %" PetscInt_FMT ", %" PetscInt_FMT "\n", genCtx.nex, genCtx.ney, genCtx.nez)); in DMMBUtil_InitializeOptions()