| /petsc/src/dm/impls/stag/tests/ |
| H A D | ex15.c | 102 pos[idxLoc].loc = DMSTAG_ELEMENT; in CreateSystem1d() 109 pos[idxLoc].loc = DMSTAG_ELEMENT; in CreateSystem1d() 158 col[0].loc = DMSTAG_ELEMENT; in CreateSystem1d() 162 col[1].loc = DMSTAG_ELEMENT; in CreateSystem1d() 205 row.loc = DMSTAG_ELEMENT; in CreateSystem1d() 215 row.loc = DMSTAG_ELEMENT; in CreateSystem1d() 334 col[4].loc = DMSTAG_ELEMENT; in CreateSystem2d() 339 col[5].loc = DMSTAG_ELEMENT; in CreateSystem2d() 368 col[4].loc = DMSTAG_ELEMENT; in CreateSystem2d() 373 col[5].loc = DMSTAG_ELEMENT; in CreateSystem2d() [all …]
|
| H A D | ex6.c | 24 PetscCall(DMStagVecSplitToDMDA(dm, vec, DMSTAG_ELEMENT, -3, &da, &vecda)); in main() 33 PetscCall(DMStagVecSplitToDMDA(dm, vec, DMSTAG_ELEMENT, -5, &da, &vecda)); in main() 42 PetscCall(DMStagVecSplitToDMDA(dm, vec, DMSTAG_ELEMENT, -2, &da, &vecda)); in main()
|
| H A D | ex50.c | 29 loc[1][0] = DMSTAG_ELEMENT; in main() 41 loc[2][0] = DMSTAG_ELEMENT; in main() 57 loc[3][0] = DMSTAG_ELEMENT; in main()
|
| H A D | ex41.c | 33 row.loc = DMSTAG_ELEMENT; in main() 37 col.loc = DMSTAG_ELEMENT; in main()
|
| H A D | ex40.c | 49 row.loc = DMSTAG_ELEMENT; in FormFunction1DNoCoupling() 95 row_element.loc = DMSTAG_ELEMENT; in FormJacobian1DNoCoupling() 143 row_element.loc = DMSTAG_ELEMENT; in FormFunction1D() 176 col.loc = DMSTAG_ELEMENT; in FormFunction1D() 213 col.loc = DMSTAG_ELEMENT; in FormFunction1D() 257 row_element.loc = DMSTAG_ELEMENT; in FormJacobian1D() 290 col.loc = DMSTAG_ELEMENT; in FormJacobian1D() 327 col.loc = DMSTAG_ELEMENT; in FormJacobian1D() 407 row.loc = DMSTAG_ELEMENT; in FormFunction2DNoCoupling() 485 row.loc = DMSTAG_ELEMENT; in FormJacobian2DNoCoupling() [all …]
|
| H A D | ex17.c | 39 s.loc = DMSTAG_ELEMENT; in main() 104 s[0].loc = DMSTAG_ELEMENT; in main()
|
| H A D | ex19.c | 39 PetscCall(DMStagGetLocationSlot(dmCoarse, DMSTAG_ELEMENT, 0, &p)); in main() 60 PetscCall(DMStagGetLocationSlot(dm, DMSTAG_ELEMENT, 0, &p)); in main()
|
| H A D | ex11.c | 50 PetscCall(DMStagGetLocationSlot(dmSol, DMSTAG_ELEMENT, 0, &ip)); in main() 135 PetscCall(DMStagGetLocationSlot(dm, DMSTAG_ELEMENT, 0, &idxP)); in ApplyOperator()
|
| H A D | ex43.c | 24 row[4].loc = DMSTAG_ELEMENT; in AssembleSystem() 134 stencil_element[0].loc = DMSTAG_ELEMENT; in main()
|
| H A D | ex23.c | 26 PetscCall(DMStagGetProductCoordinateLocationSlot(dm, DMSTAG_ELEMENT, &iCenter)); in main()
|
| H A D | ex8.c | 51 PetscCall(DMStagGetLocationSlot(dmSol, DMSTAG_ELEMENT, 0, &ip)); in main() 141 PetscCall(DMStagGetLocationSlot(dm, DMSTAG_ELEMENT, 0, &idxP)); in ApplyOperator()
|
| H A D | ex13.c | 149 if (dof1 > 0) PetscCall(DMStagGetLocationSlot(dm, DMSTAG_ELEMENT, 0, &idxElement)); in Test2_1d() 214 if (dof2 > 0) PetscCall(DMStagGetLocationSlot(dm, DMSTAG_ELEMENT, 0, &idxElement)); in Test2_2d() 326 if (dof3 > 0) PetscCall(DMStagGetLocationSlot(dm, DMSTAG_ELEMENT, 0, &idxElement)); in Test2_3d()
|
| H A D | ex5.c | 11 #define ELEMENT DMSTAG_ELEMENT
|
| /petsc/src/dm/impls/stag/tutorials/ |
| H A D | ex6.c | 243 pos.loc = DMSTAG_ELEMENT; in CreateLame() 248 pos.loc = DMSTAG_ELEMENT; in CreateLame() 275 pos.loc = DMSTAG_ELEMENT; in CreateLame() 281 pos.loc = DMSTAG_ELEMENT; in CreateLame() 346 pos.loc = DMSTAG_ELEMENT; in ForceStress() 352 pos.loc = DMSTAG_ELEMENT; in ForceStress() 359 pos.loc = DMSTAG_ELEMENT; in ForceStress() 389 PetscCall(DMStagGetLocationSlot(ctx->dm_stress, DMSTAG_ELEMENT, 0, &slot_txx)); in UpdateVelocity_2d() 390 PetscCall(DMStagGetLocationSlot(ctx->dm_stress, DMSTAG_ELEMENT, 1, &slot_tyy)); in UpdateVelocity_2d() 408 …PetscCall(DMStagGetProductCoordinateLocationSlot(ctx->dm_velocity, DMSTAG_ELEMENT, &slot_coord_ele… in UpdateVelocity_2d() [all …]
|
| H A D | ex4.c | 687 etaPoint[2].loc = DMSTAG_ELEMENT; in CreateSystem2d() 691 etaPoint[3].loc = DMSTAG_ELEMENT; in CreateSystem2d() 762 col[count].loc = DMSTAG_ELEMENT; in CreateSystem2d() 768 col[count].loc = DMSTAG_ELEMENT; in CreateSystem2d() 822 etaPoint[0].loc = DMSTAG_ELEMENT; in CreateSystem2d() 826 etaPoint[1].loc = DMSTAG_ELEMENT; in CreateSystem2d() 904 col[count].loc = DMSTAG_ELEMENT; in CreateSystem2d() 910 col[count].loc = DMSTAG_ELEMENT; in CreateSystem2d() 935 row.loc = DMSTAG_ELEMENT; in CreateSystem2d() 946 row.loc = DMSTAG_ELEMENT; in CreateSystem2d() [all …]
|
| H A D | ex1.c | 80 #define ELEMENT DMSTAG_ELEMENT
|
| /petsc/src/dm/impls/stag/ |
| H A D | stagstencil.c | 153 case DMSTAG_ELEMENT: in DMStagGetLocationDOF() 174 case DMSTAG_ELEMENT: in DMStagGetLocationDOF() 215 case DMSTAG_ELEMENT: in DMStagGetLocationDOF() 235 case DMSTAG_ELEMENT: in DMStagStencilLocationCanonicalize() 236 *locCanonical = DMSTAG_ELEMENT; in DMStagStencilLocationCanonicalize()
|
| H A D | stag1d.c | 70 PetscCall(DMStagGetLocationSlot(dmf, DMSTAG_ELEMENT, 0, &ielemf)); in DMStagRestrictSimple_1d() 72 PetscCall(DMStagGetLocationSlot(dmc, DMSTAG_ELEMENT, 0, &ielemc)); in DMStagRestrictSimple_1d() 109 if (stagCoord->dof[1]) PetscCall(DMStagGetLocationSlot(dmCoord, DMSTAG_ELEMENT, 0, &ielement)); in DMStagSetUniformCoordinatesExplicit_1d() 456 stag->locationOffsets[DMSTAG_ELEMENT] = stag->locationOffsets[DMSTAG_LEFT] + stag->dof[0]; in DMStagComputeLocationOffsets_1d() 546 row_element[c].loc = DMSTAG_ELEMENT; in DMCreateMatrix_Stag_1D_AIJ_Assemble() 575 row[nrows].loc = DMSTAG_ELEMENT; in DMCreateMatrix_Stag_1D_AIJ_Assemble() 589 col[ncols].loc = DMSTAG_ELEMENT; in DMCreateMatrix_Stag_1D_AIJ_Assemble()
|
| H A D | stagmulti.c | 495 rowf.loc = DMSTAG_ELEMENT; in DMStagPopulateInterpolation1d_Internal() 498 colc[0].loc = DMSTAG_ELEMENT; in DMStagPopulateInterpolation1d_Internal() 631 rowf.loc = DMSTAG_ELEMENT; in DMStagPopulateInterpolation2d_Internal() 635 colc[0].loc = DMSTAG_ELEMENT; in DMStagPopulateInterpolation2d_Internal() 978 rowf.loc = DMSTAG_ELEMENT; in DMStagPopulateInterpolation3d_Internal() 983 colc[0].loc = DMSTAG_ELEMENT; in DMStagPopulateInterpolation3d_Internal() 1045 rowc.loc = DMSTAG_ELEMENT; in DMStagPopulateRestriction1d_Internal() 1050 colf[count].loc = DMSTAG_ELEMENT; in DMStagPopulateRestriction1d_Internal() 1186 rowc.loc = DMSTAG_ELEMENT; in DMStagPopulateRestriction2d_Internal() 1193 colf[count].loc = DMSTAG_ELEMENT; in DMStagPopulateRestriction2d_Internal() [all …]
|
| H A D | stag2d.c | 79 PetscCall(DMStagGetLocationSlot(dmf, DMSTAG_ELEMENT, 0, &ielemf)); in DMStagRestrictSimple_2d() 83 PetscCall(DMStagGetLocationSlot(dmc, DMSTAG_ELEMENT, 0, &ielemc)); in DMStagRestrictSimple_2d() 152 if (stagCoord->dof[2]) PetscCall(DMStagGetLocationSlot(dmCoord, DMSTAG_ELEMENT, 0, &ielement)); in DMStagSetUniformCoordinatesExplicit_2d() 1154 stag->locationOffsets[DMSTAG_ELEMENT] = stag->locationOffsets[DMSTAG_LEFT] + stag->dof[1]; in DMStagComputeLocationOffsets_2d() 1341 row_element[c].loc = DMSTAG_ELEMENT; in DMCreateMatrix_Stag_2D_AIJ_Assemble() 1405 row[nrows].loc = DMSTAG_ELEMENT; in DMCreateMatrix_Stag_2D_AIJ_Assemble() 1431 col[ncols].loc = DMSTAG_ELEMENT; in DMCreateMatrix_Stag_2D_AIJ_Assemble()
|
| H A D | stagda.c | 30 case DMSTAG_ELEMENT: in DMStagCreateCompatibleDMDA() 144 case DMSTAG_ELEMENT: in DMStagDMDAGetExtraPoints()
|
| H A D | stag.c | 87 stencil1[d].loc = DMSTAG_ELEMENT; in DMCreateFieldDecomposition_Stag() 110 stencil2[d].loc = DMSTAG_ELEMENT; in DMCreateFieldDecomposition_Stag() 155 stencil3[d].loc = DMSTAG_ELEMENT; in DMCreateFieldDecomposition_Stag()
|
| /petsc/doc/manual/ |
| H A D | dmstag.md | 55 itself is referred to with `DMSTAG_ELEMENT`, the top right vertex (in 2D) 126 This means that "canonical" values of `DMStagStencilLocation` are `DMSTAG_ELEMENT`, plus all entrie… 142 DMSTAG_ELEMENT
|
| /petsc/src/binding/petsc4py/src/petsc4py/PETSc/ |
| H A D | petscdmstag.pxi | 25 DMSTAG_ELEMENT 114 elif stencil_location == "element": return DMSTAG_ELEMENT
|
| /petsc/include/ |
| H A D | petscdmstag.h | 37 DMSTAG_ELEMENT, enumerator
|