Home
last modified time | relevance | path

Searched refs:DMSTAG_ELEMENT (Results 1 – 25 of 31) sorted by relevance

12

/petsc/src/dm/impls/stag/tests/
H A Dex15.c102 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 Dex6.c24 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 Dex50.c29 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 Dex41.c33 row.loc = DMSTAG_ELEMENT; in main()
37 col.loc = DMSTAG_ELEMENT; in main()
H A Dex40.c49 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 Dex17.c39 s.loc = DMSTAG_ELEMENT; in main()
104 s[0].loc = DMSTAG_ELEMENT; in main()
H A Dex19.c39 PetscCall(DMStagGetLocationSlot(dmCoarse, DMSTAG_ELEMENT, 0, &p)); in main()
60 PetscCall(DMStagGetLocationSlot(dm, DMSTAG_ELEMENT, 0, &p)); in main()
H A Dex11.c50 PetscCall(DMStagGetLocationSlot(dmSol, DMSTAG_ELEMENT, 0, &ip)); in main()
135 PetscCall(DMStagGetLocationSlot(dm, DMSTAG_ELEMENT, 0, &idxP)); in ApplyOperator()
H A Dex43.c24 row[4].loc = DMSTAG_ELEMENT; in AssembleSystem()
134 stencil_element[0].loc = DMSTAG_ELEMENT; in main()
H A Dex23.c26 PetscCall(DMStagGetProductCoordinateLocationSlot(dm, DMSTAG_ELEMENT, &iCenter)); in main()
H A Dex8.c51 PetscCall(DMStagGetLocationSlot(dmSol, DMSTAG_ELEMENT, 0, &ip)); in main()
141 PetscCall(DMStagGetLocationSlot(dm, DMSTAG_ELEMENT, 0, &idxP)); in ApplyOperator()
H A Dex13.c149 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 Dex5.c11 #define ELEMENT DMSTAG_ELEMENT
/petsc/src/dm/impls/stag/tutorials/
H A Dex6.c243 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 Dex4.c687 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 Dex1.c80 #define ELEMENT DMSTAG_ELEMENT
/petsc/src/dm/impls/stag/
H A Dstagstencil.c153 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 Dstag1d.c70 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 Dstagmulti.c495 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 Dstag2d.c79 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 Dstagda.c30 case DMSTAG_ELEMENT: in DMStagCreateCompatibleDMDA()
144 case DMSTAG_ELEMENT: in DMStagDMDAGetExtraPoints()
H A Dstag.c87 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 Ddmstag.md55 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 Dpetscdmstag.pxi25 DMSTAG_ELEMENT
114 elif stencil_location == "element": return DMSTAG_ELEMENT
/petsc/include/
H A Dpetscdmstag.h37 DMSTAG_ELEMENT, enumerator

12