Searched refs:offset_y (Results 1 – 2 of 2) sorted by relevance
1442 for (PetscInt offset_y = -stencil_width; offset_y <= stencil_width; ++offset_y) { in DMCreateMatrix_Stag_2D_AIJ_Assemble() local1443 const PetscInt ey_offset = ey + offset_y; in DMCreateMatrix_Stag_2D_AIJ_Assemble()1451 …if ((stencil_type == DMSTAG_STENCIL_BOX || offset_x == 0 || offset_y == 0) && (boundary_type[0] ==… in DMCreateMatrix_Stag_2D_AIJ_Assemble()
3650 for (PetscInt offset_y = -stencil_width; offset_y <= stencil_width; ++offset_y) { in DMCreateMatrix_Stag_3D_AIJ_Assemble() local3651 const PetscInt ey_offset = ey + offset_y; in DMCreateMatrix_Stag_3D_AIJ_Assemble()3654 …Bool is_star_point = (PetscBool)(((offset_x == 0) && (offset_y == 0 || offset_z == 0)) || (offset_… in DMCreateMatrix_Stag_3D_AIJ_Assemble()