| /petsc/src/dm/impls/stag/ |
| H A D | stagintern.c | 46 …nks[1], stag->nRanks[2], stag->dof[0], stag->dof[1], stag->dof[2], stag->dof[3], stag->stencilType, in DMStagDuplicateWithoutSetup() 63 …t dof0, PetscInt dof1, PetscInt dof2, PetscInt dof3, DMStagStencilType stencilType, PetscInt stenc… in DMStagInitialize() argument 70 PetscCall(DMStagSetStencilType(dm, stencilType)); in DMStagInitialize()
|
| H A D | stagda.c | 11 DMDAStencilType stencilType; in DMStagCreateCompatibleDMDA() local 99 switch (stag->stencilType) { in DMStagCreateCompatibleDMDA() 101 stencilType = DMDA_STENCIL_STAR; in DMStagCreateCompatibleDMDA() 105 stencilType = DMDA_STENCIL_BOX; in DMStagCreateCompatibleDMDA() 109 …PetscObjectComm((PetscObject)dm), PETSC_ERR_SUP, "Unsupported Stencil Type %d", stag->stencilType); in DMStagCreateCompatibleDMDA() 118 …ctComm((PetscObject)dm), stag->boundaryType[0], stag->boundaryType[1], stencilType, N[0], N[1], st… in DMStagCreateCompatibleDMDA() 121 …, stag->boundaryType[0], stag->boundaryType[1], stag->boundaryType[2], stencilType, N[0], N[1], N[… in DMStagCreateCompatibleDMDA()
|
| H A D | stag1d.c | 39 …Type bndx, PetscInt M, PetscInt dof0, PetscInt dof1, DMStagStencilType stencilType, PetscInt stenc… in DMStagCreate1d() argument 47 …OUNDARY_NONE, DM_BOUNDARY_NONE, M, 0, 0, size, 0, 0, dof0, dof1, 0, 0, stencilType, stencilWidth, … in DMStagCreate1d() 189 switch (stag->stencilType) { in DMSetUp_Stag_1d() 202 …jectComm((PetscObject)dm), PETSC_ERR_SUP, "Unrecognized ghost stencil type %d", stag->stencilType); in DMSetUp_Stag_1d() 206 switch (stag->stencilType) { in DMSetUp_Stag_1d() 217 …jectComm((PetscObject)dm), PETSC_ERR_SUP, "Unrecognized ghost stencil type %d", stag->stencilType); in DMSetUp_Stag_1d() 221 switch (stag->stencilType) { in DMSetUp_Stag_1d() 232 …jectComm((PetscObject)dm), PETSC_ERR_SUP, "Unrecognized ghost stencil type %d", stag->stencilType); in DMSetUp_Stag_1d()
|
| H A D | stag2d.c | 48 …cInt n, PetscInt dof0, PetscInt dof1, PetscInt dof2, DMStagStencilType stencilType, PetscInt stenc… in DMStagCreate2d() argument 53 …e(bndx, bndy, DM_BOUNDARY_NONE, M, N, 0, m, n, 0, dof0, dof1, dof2, 0, stencilType, stencilWidth, … in DMStagCreate2d() 285 …PetscCheck(stag->stencilType == DMSTAG_STENCIL_NONE || !(stag->n[0] < stag->stencilWidth || stag->… in DMSetUp_Stag_2d() 291 switch (stag->stencilType) { in DMSetUp_Stag_2d() 312 …jectComm((PetscObject)dm), PETSC_ERR_SUP, "Unrecognized ghost stencil type %d", stag->stencilType); in DMSetUp_Stag_2d() 316 switch (stag->stencilType) { in DMSetUp_Stag_2d() 327 …jectComm((PetscObject)dm), PETSC_ERR_SUP, "Unrecognized ghost stencil type %d", stag->stencilType); in DMSetUp_Stag_2d() 331 switch (stag->stencilType) { in DMSetUp_Stag_2d() 342 …jectComm((PetscObject)dm), PETSC_ERR_SUP, "Unrecognized ghost stencil type %d", stag->stencilType); in DMSetUp_Stag_2d() 382 …stencilType == DMSTAG_STENCIL_NONE || stag->stencilType == DMSTAG_STENCIL_BOX || stag->stencilType… in DMSetUp_Stag_2d() [all …]
|
| H A D | stag.c | 630 if (stag->stencilType != stag2->stencilType) { in DMGetCompatibility_Stag() 631 …encil types: %s != %s\n", DMStagStencilTypes[stag->stencilType], DMStagStencilTypes[stag2->stencil… in DMGetCompatibility_Stag() 838 …ViewerASCIIPrintf(viewer, "Elementwise ghost stencil: %s", DMStagStencilTypes[stag->stencilType])); in DMView_Stag() 839 if (stag->stencilType != DMSTAG_STENCIL_NONE) { in DMView_Stag() 895 …SetStencilType", DMStagStencilTypes, (PetscEnum)stag->stencilType, (PetscEnum *)&stag->stencilType… in DMSetFromOptions_Stag() 967 stag->stencilType = DMSTAG_STENCIL_NONE; in DMCreate_Stag()
|
| H A D | stagutils.c | 611 PetscErrorCode DMStagGetStencilType(DM dm, DMStagStencilType *stencilType) in DMStagGetStencilType() argument 617 *stencilType = stag->stencilType; in DMStagGetStencilType() 1214 PetscErrorCode DMStagSetStencilType(DM dm, DMStagStencilType stencilType) in DMStagSetStencilType() argument 1220 PetscValidLogicalCollectiveEnum(dm, stencilType, 2); in DMStagSetStencilType() 1222 stag->stencilType = stencilType; in DMStagSetStencilType() 1542 …Create1d(subcomm, stag->boundaryType[d], stag->N[d], dof0, dof1, stag->stencilType, stag->stencilW… in DMStagSetUniformCoordinatesProduct()
|
| H A D | stag3d.c | 55 …t dof0, PetscInt dof1, PetscInt dof2, PetscInt dof3, DMStagStencilType stencilType, PetscInt stenc… in DMStagCreate3d() argument 60 …Initialize(bndx, bndy, bndz, M, N, P, m, n, p, dof0, dof1, dof2, dof3, stencilType, stencilWidth, … in DMStagCreate3d() 380 switch (stag->stencilType) { in DMSetUp_Stag_3d() 401 …jectComm((PetscObject)dm), PETSC_ERR_SUP, "Unrecognized ghost stencil type %d", stag->stencilType); in DMSetUp_Stag_3d() 405 switch (stag->stencilType) { in DMSetUp_Stag_3d() 416 …jectComm((PetscObject)dm), PETSC_ERR_SUP, "Unrecognized ghost stencil type %d", stag->stencilType); in DMSetUp_Stag_3d() 420 switch (stag->stencilType) { in DMSetUp_Stag_3d() 431 …jectComm((PetscObject)dm), PETSC_ERR_SUP, "Unrecognized ghost stencil type %d", stag->stencilType); in DMSetUp_Stag_3d() 972 …if (stag->stencilType != DMSTAG_STENCIL_NONE && (stag->n[0] < stag->stencilWidth || stag->n[1] < s… in DMStagSetUpBuildScatter_3d() 978 …stencilType == DMSTAG_STENCIL_NONE || stag->stencilType == DMSTAG_STENCIL_BOX || stag->stencilType… in DMStagSetUpBuildScatter_3d() [all …]
|
| /petsc/include/petsc/private/ |
| H A D | dmstagimpl.h | 19 DMStagStencilType stencilType; /* Elementwise stencil type */ member
|