| /petsc/src/dm/impls/stag/tests/ |
| H A D | ex15.c | 294 row.loc = DMSTAG_DOWN; in CreateSystem2d() 307 row.loc = DMSTAG_DOWN; in CreateSystem2d() 313 col[0].loc = DMSTAG_DOWN; in CreateSystem2d() 318 col[1].loc = DMSTAG_DOWN; in CreateSystem2d() 323 col[2].loc = DMSTAG_DOWN; in CreateSystem2d() 329 col[3].loc = DMSTAG_DOWN; in CreateSystem2d() 347 col[0].loc = DMSTAG_DOWN; in CreateSystem2d() 352 col[1].loc = DMSTAG_DOWN; in CreateSystem2d() 357 col[2].loc = DMSTAG_DOWN; in CreateSystem2d() 362 col[3].loc = DMSTAG_DOWN; in CreateSystem2d() [all …]
|
| H A D | ex17.c | 59 s[0].loc = DMSTAG_DOWN; in main() 71 s[0].loc = DMSTAG_DOWN; in main() 73 s[1].loc = DMSTAG_DOWN; /* redundant, should be ignored */ in main() 110 s[3].loc = DMSTAG_DOWN; in main()
|
| H A D | ex43.c | 37 row[7].loc = DMSTAG_DOWN; in AssembleSystem() 124 stencil_not_element[6].loc = DMSTAG_DOWN; in main() 191 stencil_not_vertex_first_three[3].loc = DMSTAG_DOWN; in main() 236 stencil_face_and_edge[2].loc = DMSTAG_DOWN; in main() 277 stencil_face[2].loc = DMSTAG_DOWN; in main()
|
| H A D | ex50.c | 39 loc[1][1] = DMSTAG_DOWN; in main() 54 loc[2][1] = DMSTAG_DOWN; in main()
|
| H A D | ex19.c | 38 PetscCall(DMStagGetLocationSlot(dmCoarse, DMSTAG_DOWN, 0, &vy)); in main() 59 PetscCall(DMStagGetLocationSlot(dm, DMSTAG_DOWN, 0, &vy)); in main()
|
| H A D | ex6.c | 69 PetscCall(DMStagVecSplitToDMDA(dm, vec, DMSTAG_DOWN, 0, &da, &vecda)); in main()
|
| H A D | ex40.c | 379 row.loc = DMSTAG_DOWN; in FormFunction2DNoCoupling() 457 row.loc = DMSTAG_DOWN; in FormJacobian2DNoCoupling() 541 row.loc = DMSTAG_DOWN; in FormFunction2D() 612 row[nrows].loc = DMSTAG_DOWN; in FormFunction2D() 637 col[ncols].loc = DMSTAG_DOWN; in FormFunction2D() 702 row.loc = DMSTAG_DOWN; in FormJacobian2D() 773 row[nrows].loc = DMSTAG_DOWN; in FormJacobian2D() 798 col[ncols].loc = DMSTAG_DOWN; in FormJacobian2D() 911 row.loc = DMSTAG_DOWN; in FormFunction3DNoCoupling() 1055 row.loc = DMSTAG_DOWN; in FormJacobian3DNoCoupling() [all …]
|
| H A D | ex18.c | 36 #define DOWN DMSTAG_DOWN 131 stencil_set[cnt].loc = DMSTAG_DOWN; in main() 708 const DMStagStencilLocation loc = DMSTAG_DOWN; in DMStagAnalysisKSPMonitor() 748 const DMStagStencilLocation loc = DMSTAG_DOWN; in DMStagAnalysisKSPMonitor() 792 const DMStagStencilLocation loc = DMSTAG_DOWN; in DMStagAnalysisKSPMonitor() 837 const DMStagStencilLocation loc = DMSTAG_DOWN; in DMStagAnalysisKSPMonitor()
|
| H A D | ex11.c | 49 PetscCall(DMStagGetLocationSlot(dmSol, DMSTAG_DOWN, 0, &iuy)); in main() 134 PetscCall(DMStagGetLocationSlot(dm, DMSTAG_DOWN, 0, &idxUy)); in ApplyOperator()
|
| H A D | ex8.c | 49 PetscCall(DMStagGetLocationSlot(dmSol, DMSTAG_DOWN, 0, &iuy)); in main() 139 PetscCall(DMStagGetLocationSlot(dm, DMSTAG_DOWN, 0, &idxUy)); in ApplyOperator()
|
| H A D | ex13.c | 212 PetscCall(DMStagGetLocationSlot(dm, DMSTAG_DOWN, 0, &idxDown)); in Test2_2d() 323 PetscCall(DMStagGetLocationSlot(dm, DMSTAG_DOWN, 0, &idxDown)); in Test2_3d()
|
| /petsc/src/dm/impls/stag/ |
| H A D | stagstencil.c | 171 case DMSTAG_DOWN: in DMStagGetLocationDOF() 209 case DMSTAG_DOWN: in DMStagGetLocationDOF() 242 case DMSTAG_DOWN: in DMStagStencilLocationCanonicalize() 244 *locCanonical = DMSTAG_DOWN; in DMStagStencilLocationCanonicalize()
|
| H A D | stagmulti.c | 599 rowf.loc = DMSTAG_DOWN; in DMStagPopulateInterpolation2d_Internal() 607 colc[0].loc = DMSTAG_DOWN; in DMStagPopulateInterpolation2d_Internal() 608 colc[1].loc = DMSTAG_DOWN; in DMStagPopulateInterpolation2d_Internal() 887 rowf.loc = DMSTAG_DOWN; in DMStagPopulateInterpolation3d_Internal() 898 colc[0].loc = DMSTAG_DOWN; in DMStagPopulateInterpolation3d_Internal() 899 colc[1].loc = DMSTAG_DOWN; in DMStagPopulateInterpolation3d_Internal() 902 colc[4].loc = DMSTAG_DOWN; in DMStagPopulateInterpolation3d_Internal() 903 colc[5].loc = DMSTAG_DOWN; in DMStagPopulateInterpolation3d_Internal() 1158 rowc.loc = DMSTAG_DOWN; in DMStagPopulateRestriction2d_Internal() 1165 colf[count].loc = DMSTAG_DOWN; in DMStagPopulateRestriction2d_Internal() [all …]
|
| H A D | stag2d.c | 78 PetscCall(DMStagGetLocationSlot(dmf, DMSTAG_DOWN, 0, &idownf)); in DMStagRestrictSimple_2d() 82 PetscCall(DMStagGetLocationSlot(dmc, DMSTAG_DOWN, 0, &idownc)); in DMStagRestrictSimple_2d() 149 PetscCall(DMStagGetLocationSlot(dmCoord, DMSTAG_DOWN, 0, &idown)); in DMStagSetUniformCoordinatesExplicit_2d() 1151 stag->locationOffsets[DMSTAG_DOWN] = stag->locationOffsets[DMSTAG_DOWN_LEFT] + stag->dof[0]; in DMStagComputeLocationOffsets_2d() 1153 stag->locationOffsets[DMSTAG_LEFT] = stag->locationOffsets[DMSTAG_DOWN] + stag->dof[1]; in DMStagComputeLocationOffsets_2d() 1157 stag->locationOffsets[DMSTAG_UP] = stag->locationOffsets[DMSTAG_DOWN] + epr; in DMStagComputeLocationOffsets_2d() 1329 row_face_down[c].loc = DMSTAG_DOWN; in DMCreateMatrix_Stag_2D_AIJ_Assemble() 1400 row[nrows].loc = DMSTAG_DOWN; in DMCreateMatrix_Stag_2D_AIJ_Assemble() 1426 col[ncols].loc = DMSTAG_DOWN; in DMCreateMatrix_Stag_2D_AIJ_Assemble()
|
| H A D | stagda.c | 39 case DMSTAG_DOWN: in DMStagCreateCompatibleDMDA() 149 case DMSTAG_DOWN: in DMStagDMDAGetExtraPoints()
|
| H A D | stag3d.c | 90 PetscCall(DMStagGetLocationSlot(dmf, DMSTAG_DOWN, 0, &idownf)); in DMStagRestrictSimple_3d() 98 PetscCall(DMStagGetLocationSlot(dmc, DMSTAG_DOWN, 0, &idownc)); in DMStagRestrictSimple_3d() 226 PetscCall(DMStagGetLocationSlot(dmCoord, DMSTAG_DOWN, 0, &idown)); in DMStagSetUniformCoordinatesExplicit_3d() 3210 …stag->locationOffsets[DMSTAG_DOWN] = stag->locationOffsets[DMSTAG_DOWN_LEFT] + stag->d… in DMStagComputeLocationOffsets_3d() 3212 …stag->locationOffsets[DMSTAG_LEFT] = stag->locationOffsets[DMSTAG_DOWN] + stag->dof[2]; in DMStagComputeLocationOffsets_3d() 3216 stag->locationOffsets[DMSTAG_UP] = stag->locationOffsets[DMSTAG_DOWN] + epr; in DMStagComputeLocationOffsets_3d() 3446 row_face_down[c].loc = DMSTAG_DOWN; in DMCreateMatrix_Stag_3D_AIJ_Assemble() 3579 row[nrows].loc = DMSTAG_DOWN; in DMCreateMatrix_Stag_3D_AIJ_Assemble() 3625 col[ncols].loc = DMSTAG_DOWN; in DMCreateMatrix_Stag_3D_AIJ_Assemble()
|
| H A D | stag.c | 99 stencil1[cnt].loc = DMSTAG_DOWN; in DMCreateFieldDecomposition_Stag() 144 stencil2[cnt].loc = DMSTAG_DOWN; in DMCreateFieldDecomposition_Stag()
|
| /petsc/src/dm/impls/stag/tutorials/ |
| H A D | ex4.c | 644 row.loc = DMSTAG_DOWN; in CreateSystem2d() 661 row.loc = DMSTAG_DOWN; in CreateSystem2d() 709 col[count].loc = DMSTAG_DOWN; in CreateSystem2d() 715 col[count].loc = DMSTAG_DOWN; in CreateSystem2d() 722 col[count].loc = DMSTAG_DOWN; in CreateSystem2d() 730 col[count].loc = DMSTAG_DOWN; in CreateSystem2d() 879 col[count].loc = DMSTAG_DOWN; in CreateSystem2d() 885 col[count].loc = DMSTAG_DOWN; in CreateSystem2d() 960 col[2].loc = DMSTAG_DOWN; in CreateSystem2d() 1204 col[count].loc = DMSTAG_DOWN; in CreateSystem3d() [all …]
|
| H A D | ex6.c | 383 PetscCall(DMStagGetLocationSlot(ctx->dm_buoyancy, DMSTAG_DOWN, 0, &slot_buoyancy_down)); in UpdateVelocity_2d() 400 PetscCall(DMStagGetLocationSlot(ctx->dm_velocity, DMSTAG_DOWN, 0, &slot_vy_down)); in UpdateVelocity_2d() 464 PetscCall(DMStagGetLocationSlot(ctx->dm_buoyancy, DMSTAG_DOWN, 0, &slot_buoyancy_down)); in UpdateVelocity_3d() 489 PetscCall(DMStagGetLocationSlot(ctx->dm_velocity, DMSTAG_DOWN, 0, &slot_vy_down)); in UpdateVelocity_3d() 586 PetscCall(DMStagGetLocationSlot(ctx->dm_velocity, DMSTAG_DOWN, 0, &slot_vy_down)); in UpdateStress_2d() 672 PetscCall(DMStagGetLocationSlot(ctx->dm_velocity, DMSTAG_DOWN, 0, &slot_vy_down)); in UpdateStress_3d() 853 from[1].loc = DMSTAG_DOWN; in DumpVelocity() 892 from[1].loc = DMSTAG_DOWN; in DumpVelocity()
|
| H A D | ex2.c | 33 #define DOWN DMSTAG_DOWN
|
| H A D | ex3.c | 42 #define DOWN DMSTAG_DOWN
|
| /petsc/src/binding/petsc4py/src/petsc4py/PETSc/ |
| H A D | petscdmstag.pxi | 22 DMSTAG_DOWN 111 elif stencil_location == "down": return DMSTAG_DOWN
|
| H A D | DMStag.pyx | 23 DOWN = DMSTAG_DOWN
|
| /petsc/include/ |
| H A D | petscdmstag.h | 34 DMSTAG_DOWN, enumerator
|
| /petsc/doc/manual/ |
| H A D | dmstag.md | 140 DMSTAG_DOWN
|