Re: [petsc-users] Applying Multi-Point-Constraints with SNES

2023-07-07 Thread Matthew Knepley
On Fri, Jul 7, 2023 at 3:59 PM Hongrui Yu wrote: > Thanks Matt. To clarify, were you referring to the following section in > DMPlexCreateBoxMesh_Tensor_SFC_Periodicity_Private()? > > > > PetscCall(DMPlexSetIsoperiodicFaceSF(dm, sfper)); > > > > PetscScalar t[4][4] = {{0}}; > > t[0][0]

Re: [petsc-users] Applying Multi-Point-Constraints with SNES

2023-07-07 Thread Hongrui Yu
Thanks Matt. To clarify, were you referring to the following section in DMPlexCreateBoxMesh_Tensor_SFC_Periodicity_Private()? PetscCall(DMPlexSetIsoperiodicFaceSF(dm, sfper)); PetscScalar t[4][4] = {{0}}; t[0][0] = 1; t[1][1] = 1; t[2][2] =