| /petsc/src/dm/impls/stag/tests/ |
| H A D | ex43.c | 50 row[10].loc = DMSTAG_DOWN_LEFT; in AssembleSystem() 130 stencil_not_element[9].loc = DMSTAG_DOWN_LEFT; in main() 197 stencil_not_vertex_first_three[6].loc = DMSTAG_DOWN_LEFT; in main() 242 stencil_face_and_edge[5].loc = DMSTAG_DOWN_LEFT; in main() 285 stencil_edge[2].loc = DMSTAG_DOWN_LEFT; in main()
|
| H A D | ex50.c | 36 loc[0][0] = DMSTAG_DOWN_LEFT; in main() 49 loc[1][0] = DMSTAG_DOWN_LEFT; in main()
|
| H A D | ex40.c | 366 row.loc = DMSTAG_DOWN_LEFT; in FormFunction2DNoCoupling() 444 row.loc = DMSTAG_DOWN_LEFT; in FormJacobian2DNoCoupling() 528 row.loc = DMSTAG_DOWN_LEFT; in FormFunction2D() 602 row[nrows].loc = DMSTAG_DOWN_LEFT; in FormFunction2D() 627 col[ncols].loc = DMSTAG_DOWN_LEFT; in FormFunction2D() 689 row.loc = DMSTAG_DOWN_LEFT; in FormJacobian2D() 763 row[nrows].loc = DMSTAG_DOWN_LEFT; in FormJacobian2D() 788 col[ncols].loc = DMSTAG_DOWN_LEFT; in FormJacobian2D() 866 row.loc = DMSTAG_DOWN_LEFT; in FormFunction3DNoCoupling() 1010 row.loc = DMSTAG_DOWN_LEFT; in FormJacobian3DNoCoupling() [all …]
|
| H A D | ex13.c | 209 if (dof0 > 0) PetscCall(DMStagGetLocationSlot(dm, DMSTAG_DOWN_LEFT, 0, &idxDownLeft)); in Test2_2d() 319 PetscCall(DMStagGetLocationSlot(dm, DMSTAG_DOWN_LEFT, 0, &idxDownLeft)); in Test2_3d()
|
| H A D | ex18.c | 35 #define DOWN_LEFT DMSTAG_DOWN_LEFT
|
| H A D | ex30.c | 17 #define DOWN_LEFT DMSTAG_DOWN_LEFT
|
| /petsc/src/dm/impls/stag/ |
| H A D | stagstencil.c | 162 case DMSTAG_DOWN_LEFT: in DMStagGetLocationDOF() 197 case DMSTAG_DOWN_LEFT: in DMStagGetLocationDOF() 250 case DMSTAG_DOWN_LEFT: in DMStagStencilLocationCanonicalize() 254 *locCanonical = DMSTAG_DOWN_LEFT; in DMStagStencilLocationCanonicalize()
|
| H A D | stag2d.c | 76 PetscCall(DMStagGetLocationSlot(dmf, DMSTAG_DOWN_LEFT, 0, &idownleftf)); in DMStagRestrictSimple_2d() 80 PetscCall(DMStagGetLocationSlot(dmc, DMSTAG_DOWN_LEFT, 0, &idownleftc)); in DMStagRestrictSimple_2d() 147 if (stagCoord->dof[0]) PetscCall(DMStagGetLocationSlot(dmCoord, DMSTAG_DOWN_LEFT, 0, &idownleft)); in DMStagSetUniformCoordinatesExplicit_2d() 1150 stag->locationOffsets[DMSTAG_DOWN_LEFT] = 0; in DMStagComputeLocationOffsets_2d() 1151 stag->locationOffsets[DMSTAG_DOWN] = stag->locationOffsets[DMSTAG_DOWN_LEFT] + stag->dof[0]; in DMStagComputeLocationOffsets_2d() 1152 stag->locationOffsets[DMSTAG_DOWN_RIGHT] = stag->locationOffsets[DMSTAG_DOWN_LEFT] + epe; in DMStagComputeLocationOffsets_2d() 1156 stag->locationOffsets[DMSTAG_UP_LEFT] = stag->locationOffsets[DMSTAG_DOWN_LEFT] + epr; in DMStagComputeLocationOffsets_2d() 1323 row_vertex[c].loc = DMSTAG_DOWN_LEFT; in DMCreateMatrix_Stag_2D_AIJ_Assemble() 1390 row[nrows].loc = DMSTAG_DOWN_LEFT; in DMCreateMatrix_Stag_2D_AIJ_Assemble() 1416 col[ncols].loc = DMSTAG_DOWN_LEFT; in DMCreateMatrix_Stag_2D_AIJ_Assemble()
|
| H A D | stagmulti.c | 536 rowf.loc = DMSTAG_DOWN_LEFT; in DMStagPopulateInterpolation2d_Internal() 542 colc[0].loc = DMSTAG_DOWN_LEFT; in DMStagPopulateInterpolation2d_Internal() 713 rowf.loc = DMSTAG_DOWN_LEFT; in DMStagPopulateInterpolation3d_Internal() 722 colc[0].loc = DMSTAG_DOWN_LEFT; in DMStagPopulateInterpolation3d_Internal() 726 colc[4].loc = DMSTAG_DOWN_LEFT; in DMStagPopulateInterpolation3d_Internal() 1100 rowc.loc = DMSTAG_DOWN_LEFT; in DMStagPopulateRestriction2d_Internal() 1107 colf[count].loc = DMSTAG_DOWN_LEFT; in DMStagPopulateRestriction2d_Internal() 1283 rowc.loc = DMSTAG_DOWN_LEFT; in DMStagPopulateRestriction3d_Internal() 1292 colf[count].loc = DMSTAG_DOWN_LEFT; in DMStagPopulateRestriction3d_Internal()
|
| H A D | stagda.c | 50 case DMSTAG_DOWN_LEFT: in DMStagCreateCompatibleDMDA() 155 case DMSTAG_DOWN_LEFT: in DMStagDMDAGetExtraPoints()
|
| H A D | stag3d.c | 89 PetscCall(DMStagGetLocationSlot(dmf, DMSTAG_DOWN_LEFT, 0, &idownleftf)); in DMStagRestrictSimple_3d() 97 PetscCall(DMStagGetLocationSlot(dmc, DMSTAG_DOWN_LEFT, 0, &idownleftc)); in DMStagRestrictSimple_3d() 222 PetscCall(DMStagGetLocationSlot(dmCoord, DMSTAG_DOWN_LEFT, 0, &idownleft)); in DMStagSetUniformCoordinatesExplicit_3d() 3209 …stag->locationOffsets[DMSTAG_DOWN_LEFT] = stag->locationOffsets[DMSTAG_BACK] + stag->dof[2]; in DMStagComputeLocationOffsets_3d() 3210 …stag->locationOffsets[DMSTAG_DOWN] = stag->locationOffsets[DMSTAG_DOWN_LEFT] + stag->d… in DMStagComputeLocationOffsets_3d() 3211 stag->locationOffsets[DMSTAG_DOWN_RIGHT] = stag->locationOffsets[DMSTAG_DOWN_LEFT] + epe; in DMStagComputeLocationOffsets_3d() 3215 stag->locationOffsets[DMSTAG_UP_LEFT] = stag->locationOffsets[DMSTAG_DOWN_LEFT] + epr; in DMStagComputeLocationOffsets_3d() 3422 row_edge_down_left[c].loc = DMSTAG_DOWN_LEFT; in DMCreateMatrix_Stag_3D_AIJ_Assemble() 3559 row[nrows].loc = DMSTAG_DOWN_LEFT; in DMCreateMatrix_Stag_3D_AIJ_Assemble() 3605 col[ncols].loc = DMSTAG_DOWN_LEFT; in DMCreateMatrix_Stag_3D_AIJ_Assemble()
|
| H A D | stag.c | 93 stencil0[d].loc = DMSTAG_DOWN_LEFT; in DMCreateFieldDecomposition_Stag() 132 stencil1[cnt].loc = DMSTAG_DOWN_LEFT; in DMCreateFieldDecomposition_Stag()
|
| /petsc/src/dm/impls/stag/tutorials/ |
| H A D | ex6.c | 260 pos.loc = DMSTAG_DOWN_LEFT; in CreateLame() 313 pos.loc = DMSTAG_DOWN_LEFT; in CreateLame() 392 PetscCall(DMStagGetLocationSlot(ctx->dm_stress, DMSTAG_DOWN_LEFT, 0, &slot_txy_downleft)); in UpdateVelocity_2d() 475 PetscCall(DMStagGetLocationSlot(ctx->dm_stress, DMSTAG_DOWN_LEFT, 0, &slot_txy_downleft)); in UpdateVelocity_3d() 578 PetscCall(DMStagGetLocationSlot(ctx->dm_stress, DMSTAG_DOWN_LEFT, 0, &slot_txy_downleft)); in UpdateStress_2d() 595 PetscCall(DMStagGetLocationSlot(ctx->dm_lame, DMSTAG_DOWN_LEFT, 0, &slot_mu_downleft)); in UpdateStress_2d() 662 PetscCall(DMStagGetLocationSlot(ctx->dm_stress, DMSTAG_DOWN_LEFT, 0, &slot_txy_downleft)); in UpdateStress_3d() 683 PetscCall(DMStagGetLocationSlot(ctx->dm_lame, DMSTAG_DOWN_LEFT, 0, &slot_mu_downleft)); in UpdateStress_3d() 797 …PetscCall(DMStagVecSplitToDMDA(ctx->dm_stress, stress, DMSTAG_DOWN_LEFT, 0, &da_shear, &vec_shear)… in DumpStress()
|
| H A D | ex4.c | 667 rhoPoint[0].loc = DMSTAG_DOWN_LEFT; in CreateSystem2d() 679 etaPoint[0].loc = DMSTAG_DOWN_LEFT; in CreateSystem2d() 834 etaPoint[3].loc = DMSTAG_DOWN_LEFT; in CreateSystem2d() 1115 eta_point[2].loc = DMSTAG_DOWN_LEFT; in CreateSystem3d() 1330 rho_point[0].loc = DMSTAG_DOWN_LEFT; in CreateSystem3d() 1357 eta_point[0].loc = DMSTAG_DOWN_LEFT; in CreateSystem3d() 1888 PetscCall(DMStagGetLocationSlot(dm_coefficients, DMSTAG_DOWN_LEFT, 0, &slot_eta_downleft)); in PopulateCoefficientData() 1889 PetscCall(DMStagGetLocationSlot(dm_coefficients, DMSTAG_DOWN_LEFT, 1, &slot_rho_downleft)); in PopulateCoefficientData() 2177 …PetscCall(DMStagVecSplitToDMDA(dm_coefficients, coeff, DMSTAG_DOWN_LEFT, 0, &da_eta_down_left, &ve… in DumpSolution() 2180 …PetscCall(DMStagVecSplitToDMDA(dm_coefficients, coeff, DMSTAG_DOWN_LEFT, 1, &da_rho_down_left, &ve… in DumpSolution()
|
| H A D | ex2.c | 32 #define DOWN_LEFT DMSTAG_DOWN_LEFT
|
| H A D | ex3.c | 41 #define DOWN_LEFT DMSTAG_DOWN_LEFT
|
| /petsc/src/binding/petsc4py/src/petsc4py/PETSc/ |
| H A D | petscdmstag.pxi | 21 DMSTAG_DOWN_LEFT 110 elif stencil_location == "down_left": return DMSTAG_DOWN_LEFT
|
| H A D | DMStag.pyx | 22 DOWN_LEFT = DMSTAG_DOWN_LEFT
|
| /petsc/include/ |
| H A D | petscdmstag.h | 33 DMSTAG_DOWN_LEFT, enumerator
|
| /petsc/doc/manual/ |
| H A D | dmstag.md | 139 DMSTAG_DOWN_LEFT
|