Searched refs:offset_x (Results 1 – 2 of 2) sorted by relevance
1444 for (PetscInt offset_x = -stencil_width; offset_x <= stencil_width; ++offset_x) { in DMCreateMatrix_Stag_2D_AIJ_Assemble() local1445 const PetscInt ex_offset = ex + offset_x; 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()
3652 for (PetscInt offset_x = -stencil_width; offset_x <= stencil_width; ++offset_x) { in DMCreateMatrix_Stag_3D_AIJ_Assemble() local3653 const PetscInt ex_offset = ex + offset_x; in DMCreateMatrix_Stag_3D_AIJ_Assemble()3654 …const PetscBool is_star_point = (PetscBool)(((offset_x == 0) && (offset_y == 0 || offset_z == 0)) … in DMCreateMatrix_Stag_3D_AIJ_Assemble()