Searched refs:DMSTAG_MAX_DIM (Results 1 – 7 of 7) sorted by relevance
| /petsc/include/petsc/private/ |
| H A D | dmstagimpl.h | 6 #define DMSTAG_MAX_DIM 3 macro 7 #define DMSTAG_MAX_STRATA DMSTAG_MAX_DIM + 1 15 PetscInt N[DMSTAG_MAX_DIM]; /* Global dimensions (elements) */ 16 PetscInt n[DMSTAG_MAX_DIM]; /* Local dimensions (elements) */ 17 PetscInt *l[DMSTAG_MAX_DIM]; /* Elements/rank in each direction */ 21 DMBoundaryType boundaryType[DMSTAG_MAX_DIM]; /* Physical domain ghosting type */ 22 PetscMPIInt nRanks[DMSTAG_MAX_DIM]; /* Ranks in each direction */ 26 PetscInt refineFactor[DMSTAG_MAX_DIM]; /* Ratio used in refining and coarsening */ 31 PetscInt nGhost[DMSTAG_MAX_DIM]; /* Local dimensions (w/ ghosts) */ 32 PetscInt start[DMSTAG_MAX_DIM]; /* First element number */ [all …]
|
| /petsc/src/dm/impls/stag/ |
| H A D | stagda.c | 10 PetscInt dim, i, j, stencilWidth, dof, N[DMSTAG_MAX_DIM]; in DMStagCreateCompatibleDMDA() 12 PetscInt *l[DMSTAG_MAX_DIM]; in DMStagCreateCompatibleDMDA() 135 PetscInt dim, d, nExtra[DMSTAG_MAX_DIM]; in DMStagDMDAGetExtraPoints() 140 …PetscCheck(dim <= DMSTAG_MAX_DIM, PetscObjectComm((PetscObject)dm), PETSC_ERR_SUP, "Not implemente… in DMStagDMDAGetExtraPoints() 185 …etscInt i, j, k, d, dim, dof, dofToMax, start[DMSTAG_MAX_DIM], n[DMSTAG_MAX_DIM], extraPoint[DMSTA… in DMStagMigrateVecDMDA() 303 PetscInt dim, start[DMSTAG_MAX_DIM], n[DMSTAG_MAX_DIM], extraPoint[DMSTAG_MAX_DIM], d; in DMStagTransferCoordinatesToDMDA()
|
| H A D | stagstencil.c | 38 PetscInt start[DMSTAG_MAX_DIM], n[DMSTAG_MAX_DIM], extraPoint[DMSTAG_MAX_DIM]; in DMStagCreateISFromStencils() 82 for (PetscInt d = dim; d < DMSTAG_MAX_DIM; ++d) { in DMStagCreateISFromStencils()
|
| H A D | stagutils.c | 42 void *arr[DMSTAG_MAX_DIM]; in DMStagGetProductCoordinateArrays_Private() 48 …PetscCheck(dim <= DMSTAG_MAX_DIM, PetscObjectComm((PetscObject)dm), PETSC_ERR_SUP, "Not implemente… in DMStagGetProductCoordinateArrays_Private() 811 …scInt start[DMSTAG_MAX_DIM], startGhost[DMSTAG_MAX_DIM], n[DMSTAG_MAX_DIM], nExtra[DMSTA… in DMStagMigrateVec() 832 for (i = 0; i < DMSTAG_MAX_DIM; ++i) offset[i] = start[i] - startGhost[i]; in DMStagMigrateVec() 966 void *arr[DMSTAG_MAX_DIM]; in DMStagRestoreProductCoordinateArrays_Private() 972 …PetscCheck(dim <= DMSTAG_MAX_DIM, PetscObjectComm((PetscObject)dm), PETSC_ERR_SUP, "Not implemente… in DMStagRestoreProductCoordinateArrays_Private()
|
| H A D | stag.c | 264 PetscInt *l[DMSTAG_MAX_DIM]; in DMCoarsen_Stag() 315 PetscInt *l[DMSTAG_MAX_DIM]; in DMRefine_Stag() 340 for (i = 0; i < DMSTAG_MAX_DIM; ++i) PetscCall(PetscFree(stag->l[i])); in DMDestroy_Stag() 384 …PetscInt dim, stencilWidthc, stencilWidthf, nf[DMSTAG_MAX_DIM], nc[DMSTAG_MAX_DIM], doff[DMSTAG_MA… in CheckTransferOperatorRequirements_Private() 883 PetscInt dim, nRefine = 0, refineFactorTotal[DMSTAG_MAX_DIM], i, d; in DMSetFromOptions_Stag() 966 for (i = 0; i < DMSTAG_MAX_DIM; ++i) stag->l[i] = NULL; in DMCreate_Stag() 969 for (i = 0; i < DMSTAG_MAX_DIM; ++i) stag->nRanks[i] = -1; in DMCreate_Stag() 971 for (i = 0; i < DMSTAG_MAX_DIM; ++i) stag->refineFactor[i] = 2; in DMCreate_Stag()
|
| H A D | stagintern.c | 52 PetscCall(PetscArraycpy(newstag->refineFactor, stag->refineFactor, DMSTAG_MAX_DIM)); in DMStagDuplicateWithoutSetup()
|
| H A D | stagmulti.c | 31 …PetscInt d, nf[DMSTAG_MAX_DIM], nc[DMSTAG_MAX_DIM], doff[DMSTAG_MAX_STRATA], dofc[DMSTAG_MAX_STRAT… in DMStagRestrictSimple()
|