Home
last modified time | relevance | path

Searched refs:DMSTAG_LEFT (Results 1 – 25 of 30) sorted by relevance

12

/petsc/src/dm/impls/stag/tests/
H A Dex15.c117 pos[idxLoc].loc = DMSTAG_LEFT; in CreateSystem1d()
123 pos[idxLoc].loc = DMSTAG_LEFT; in CreateSystem1d()
145 row.loc = DMSTAG_LEFT; in CreateSystem1d()
154 row.loc = DMSTAG_LEFT; in CreateSystem1d()
169 col[2].loc = DMSTAG_LEFT; in CreateSystem1d()
174 col[3].loc = DMSTAG_LEFT; in CreateSystem1d()
179 col[4].loc = DMSTAG_LEFT; in CreateSystem1d()
219 col[0].loc = DMSTAG_LEFT; in CreateSystem1d()
426 row.loc = DMSTAG_LEFT; in CreateSystem2d()
438 row.loc = DMSTAG_LEFT; in CreateSystem2d()
[all …]
H A Dex50.c27 loc[0][0] = DMSTAG_LEFT; in main()
38 loc[1][0] = DMSTAG_LEFT; in main()
53 loc[2][0] = DMSTAG_LEFT; in main()
H A Dex43.c33 row[6].loc = DMSTAG_LEFT; in AssembleSystem()
120 stencil_not_element[4].loc = DMSTAG_LEFT; in main()
187 stencil_not_vertex_first_three[1].loc = DMSTAG_LEFT; in main()
232 stencil_face_and_edge[0].loc = DMSTAG_LEFT; in main()
273 stencil_face[0].loc = DMSTAG_LEFT; in main()
H A Dex40.c37 row.loc = DMSTAG_LEFT; in FormFunction1DNoCoupling()
83 row_vertex.loc = DMSTAG_LEFT; in FormJacobian1DNoCoupling()
140 row_vertex.loc = DMSTAG_LEFT; in FormFunction1D()
158 col.loc = DMSTAG_LEFT; in FormFunction1D()
195 col.loc = DMSTAG_LEFT; in FormFunction1D()
254 row_vertex.loc = DMSTAG_LEFT; in FormJacobian1D()
272 col.loc = DMSTAG_LEFT; in FormJacobian1D()
309 col.loc = DMSTAG_LEFT; in FormJacobian1D()
393 row.loc = DMSTAG_LEFT; in FormFunction2DNoCoupling()
471 row.loc = DMSTAG_LEFT; in FormJacobian2DNoCoupling()
[all …]
H A Dex17.c61 s[1].loc = DMSTAG_LEFT; in main()
75 s[2].loc = DMSTAG_LEFT; in main()
H A Dex19.c37 PetscCall(DMStagGetLocationSlot(dmCoarse, DMSTAG_LEFT, 0, &vx)); in main()
58 PetscCall(DMStagGetLocationSlot(dm, DMSTAG_LEFT, 0, &vx)); in main()
H A Dex18.c38 #define LEFT DMSTAG_LEFT
134 stencil_set[cnt].loc = DMSTAG_LEFT; in main()
691 const DMStagStencilLocation loc = DMSTAG_LEFT; in DMStagAnalysisKSPMonitor()
731 const DMStagStencilLocation loc = DMSTAG_LEFT; in DMStagAnalysisKSPMonitor()
775 const DMStagStencilLocation loc = DMSTAG_LEFT; in DMStagAnalysisKSPMonitor()
820 const DMStagStencilLocation loc = DMSTAG_LEFT; in DMStagAnalysisKSPMonitor()
H A Dex11.c48 PetscCall(DMStagGetLocationSlot(dmSol, DMSTAG_LEFT, 0, &iux)); in main()
133 PetscCall(DMStagGetLocationSlot(dm, DMSTAG_LEFT, 0, &idxUx)); in ApplyOperator()
H A Dex23.c24 PetscCall(DMStagGetProductCoordinateLocationSlot(dm, DMSTAG_LEFT, &iPrev)); in main()
H A Dex8.c48 PetscCall(DMStagGetLocationSlot(dmSol, DMSTAG_LEFT, 0, &iux)); in main()
138 PetscCall(DMStagGetLocationSlot(dm, DMSTAG_LEFT, 0, &idxUx)); in ApplyOperator()
H A Dex13.c148 if (dof0 > 0) PetscCall(DMStagGetLocationSlot(dm, DMSTAG_LEFT, 0, &idxLeft)); in Test2_1d()
211 PetscCall(DMStagGetLocationSlot(dm, DMSTAG_LEFT, 0, &idxLeft)); in Test2_2d()
322 PetscCall(DMStagGetLocationSlot(dm, DMSTAG_LEFT, 0, &idxLeft)); in Test2_3d()
H A Dex5.c9 #define LEFT DMSTAG_LEFT
/petsc/src/dm/impls/stag/tutorials/
H A Dex8.c83 row.loc = DMSTAG_LEFT; in AssembleSystem1DVertexCentered()
98 row_extra.loc = DMSTAG_LEFT; in AssembleSystem1DVertexCentered()
109 col[0].loc = DMSTAG_LEFT; in AssembleSystem1DVertexCentered()
113 col[1].loc = DMSTAG_LEFT; in AssembleSystem1DVertexCentered()
117 col[2].loc = DMSTAG_LEFT; in AssembleSystem1DVertexCentered()
H A Dex4.c737 col[count].loc = DMSTAG_LEFT; in CreateSystem2d()
749 col[count].loc = DMSTAG_LEFT; in CreateSystem2d()
800 row.loc = DMSTAG_LEFT; in CreateSystem2d()
816 row.loc = DMSTAG_LEFT; in CreateSystem2d()
852 col[count].loc = DMSTAG_LEFT; in CreateSystem2d()
860 col[count].loc = DMSTAG_LEFT; in CreateSystem2d()
867 col[count].loc = DMSTAG_LEFT; in CreateSystem2d()
873 col[count].loc = DMSTAG_LEFT; in CreateSystem2d()
950 col[0].loc = DMSTAG_LEFT; in CreateSystem2d()
1082 row.loc = DMSTAG_LEFT; in CreateSystem3d()
[all …]
H A Dex6.c382 PetscCall(DMStagGetLocationSlot(ctx->dm_buoyancy, DMSTAG_LEFT, 0, &slot_buoyancy_left)); in UpdateVelocity_2d()
399 PetscCall(DMStagGetLocationSlot(ctx->dm_velocity, DMSTAG_LEFT, 0, &slot_vx_left)); in UpdateVelocity_2d()
406 …PetscCall(DMStagGetProductCoordinateLocationSlot(ctx->dm_velocity, DMSTAG_LEFT, &slot_coord_prev)); in UpdateVelocity_2d()
463 PetscCall(DMStagGetLocationSlot(ctx->dm_buoyancy, DMSTAG_LEFT, 0, &slot_buoyancy_left)); in UpdateVelocity_3d()
488 PetscCall(DMStagGetLocationSlot(ctx->dm_velocity, DMSTAG_LEFT, 0, &slot_vx_left)); in UpdateVelocity_3d()
496 …PetscCall(DMStagGetProductCoordinateLocationSlot(ctx->dm_velocity, DMSTAG_LEFT, &slot_coord_prev)); in UpdateVelocity_3d()
584 PetscCall(DMStagGetLocationSlot(ctx->dm_velocity, DMSTAG_LEFT, 0, &slot_vx_left)); in UpdateStress_2d()
601 …PetscCall(DMStagGetProductCoordinateLocationSlot(ctx->dm_velocity, DMSTAG_LEFT, &slot_coord_prev)); in UpdateStress_2d()
670 PetscCall(DMStagGetLocationSlot(ctx->dm_velocity, DMSTAG_LEFT, 0, &slot_vx_left)); in UpdateStress_3d()
691 …PetscCall(DMStagGetProductCoordinateLocationSlot(ctx->dm_velocity, DMSTAG_LEFT, &slot_coord_prev)); in UpdateStress_3d()
[all …]
H A Dex1.c78 #define LEFT DMSTAG_LEFT
/petsc/src/dm/impls/stag/
H A Dstagstencil.c149 case DMSTAG_LEFT: in DMStagGetLocationDOF()
168 case DMSTAG_LEFT: in DMStagGetLocationDOF()
207 case DMSTAG_LEFT: in DMStagGetLocationDOF()
238 case DMSTAG_LEFT: in DMStagStencilLocationCanonicalize()
240 *locCanonical = DMSTAG_LEFT; in DMStagStencilLocationCanonicalize()
H A Dstag1d.c69 PetscCall(DMStagGetLocationSlot(dmf, DMSTAG_LEFT, 0, &ileftf)); in DMStagRestrictSimple_1d()
71 PetscCall(DMStagGetLocationSlot(dmc, DMSTAG_LEFT, 0, &ileftc)); in DMStagRestrictSimple_1d()
108 if (stagCoord->dof[0]) PetscCall(DMStagGetLocationSlot(dmCoord, DMSTAG_LEFT, 0, &ileft)); in DMStagSetUniformCoordinatesExplicit_1d()
455 stag->locationOffsets[DMSTAG_LEFT] = 0; in DMStagComputeLocationOffsets_1d()
456 stag->locationOffsets[DMSTAG_ELEMENT] = stag->locationOffsets[DMSTAG_LEFT] + stag->dof[0]; in DMStagComputeLocationOffsets_1d()
457 stag->locationOffsets[DMSTAG_RIGHT] = stag->locationOffsets[DMSTAG_LEFT] + epe; in DMStagComputeLocationOffsets_1d()
540 row_vertex[c].loc = DMSTAG_LEFT; in DMCreateMatrix_Stag_1D_AIJ_Assemble()
570 row[nrows].loc = DMSTAG_LEFT; in DMCreateMatrix_Stag_1D_AIJ_Assemble()
584 col[ncols].loc = DMSTAG_LEFT; in DMCreateMatrix_Stag_1D_AIJ_Assemble()
H A Dstagmulti.c474 rowf.loc = DMSTAG_LEFT; in DMStagPopulateInterpolation1d_Internal()
479 colc[0].loc = DMSTAG_LEFT; in DMStagPopulateInterpolation1d_Internal()
565 rowf.loc = DMSTAG_LEFT; in DMStagPopulateInterpolation2d_Internal()
573 colc[0].loc = DMSTAG_LEFT; in DMStagPopulateInterpolation2d_Internal()
575 colc[2].loc = DMSTAG_LEFT; in DMStagPopulateInterpolation2d_Internal()
840 rowf.loc = DMSTAG_LEFT; in DMStagPopulateInterpolation3d_Internal()
851 colc[0].loc = DMSTAG_LEFT; in DMStagPopulateInterpolation3d_Internal()
853 colc[2].loc = DMSTAG_LEFT; in DMStagPopulateInterpolation3d_Internal()
855 colc[4].loc = DMSTAG_LEFT; in DMStagPopulateInterpolation3d_Internal()
857 colc[6].loc = DMSTAG_LEFT; in DMStagPopulateInterpolation3d_Internal()
[all …]
H A Dstag2d.c77 PetscCall(DMStagGetLocationSlot(dmf, DMSTAG_LEFT, 0, &ileftf)); in DMStagRestrictSimple_2d()
81 PetscCall(DMStagGetLocationSlot(dmc, DMSTAG_LEFT, 0, &ileftc)); in DMStagRestrictSimple_2d()
150 PetscCall(DMStagGetLocationSlot(dmCoord, DMSTAG_LEFT, 0, &ileft)); in DMStagSetUniformCoordinatesExplicit_2d()
1153 stag->locationOffsets[DMSTAG_LEFT] = stag->locationOffsets[DMSTAG_DOWN] + stag->dof[1]; in DMStagComputeLocationOffsets_2d()
1154 stag->locationOffsets[DMSTAG_ELEMENT] = stag->locationOffsets[DMSTAG_LEFT] + stag->dof[1]; in DMStagComputeLocationOffsets_2d()
1155 stag->locationOffsets[DMSTAG_RIGHT] = stag->locationOffsets[DMSTAG_LEFT] + epe; in DMStagComputeLocationOffsets_2d()
1335 row_face_left[c].loc = DMSTAG_LEFT; in DMCreateMatrix_Stag_2D_AIJ_Assemble()
1395 row[nrows].loc = DMSTAG_LEFT; in DMCreateMatrix_Stag_2D_AIJ_Assemble()
1421 col[ncols].loc = DMSTAG_LEFT; in DMCreateMatrix_Stag_2D_AIJ_Assemble()
H A Dstagda.c32 case DMSTAG_LEFT: in DMStagCreateCompatibleDMDA()
146 case DMSTAG_LEFT: in DMStagDMDAGetExtraPoints()
H A Dstag.c83 stencil0[d].loc = DMSTAG_LEFT; in DMCreateFieldDecomposition_Stag()
104 stencil1[cnt].loc = DMSTAG_LEFT; in DMCreateFieldDecomposition_Stag()
149 stencil2[cnt].loc = DMSTAG_LEFT; in DMCreateFieldDecomposition_Stag()
H A Dstag3d.c91 PetscCall(DMStagGetLocationSlot(dmf, DMSTAG_LEFT, 0, &ileftf)); in DMStagRestrictSimple_3d()
99 PetscCall(DMStagGetLocationSlot(dmc, DMSTAG_LEFT, 0, &ileftc)); in DMStagRestrictSimple_3d()
227 PetscCall(DMStagGetLocationSlot(dmCoord, DMSTAG_LEFT, 0, &ileft)); in DMStagSetUniformCoordinatesExplicit_3d()
3212 …stag->locationOffsets[DMSTAG_LEFT] = stag->locationOffsets[DMSTAG_DOWN] + stag->dof[2]; in DMStagComputeLocationOffsets_3d()
3213 …stag->locationOffsets[DMSTAG_ELEMENT] = stag->locationOffsets[DMSTAG_LEFT] + stag->dof[2]; in DMStagComputeLocationOffsets_3d()
3214 stag->locationOffsets[DMSTAG_RIGHT] = stag->locationOffsets[DMSTAG_LEFT] + epe; in DMStagComputeLocationOffsets_3d()
3440 row_face_left[c].loc = DMSTAG_LEFT; in DMCreateMatrix_Stag_3D_AIJ_Assemble()
3574 row[nrows].loc = DMSTAG_LEFT; in DMCreateMatrix_Stag_3D_AIJ_Assemble()
3620 col[ncols].loc = DMSTAG_LEFT; in DMCreateMatrix_Stag_3D_AIJ_Assemble()
/petsc/src/binding/petsc4py/src/petsc4py/PETSc/
H A Dpetscdmstag.pxi24 DMSTAG_LEFT
113 elif stencil_location == "left": return DMSTAG_LEFT
/petsc/include/
H A Dpetscdmstag.h36 DMSTAG_LEFT, enumerator

12