Re: [petsc-users] Advice on identifying boundary vertices

2025-02-15 Thread Matthew Knepley
On Sat, Feb 15, 2025 at 11:40 AM Aldo Bonfiglioli < aldo.bonfigli...@unibas.it> wrote: > Dear all, > > I am trying to identify the boundary vertices that belong to a given > stratum of the Face sets. This is going to be used to prescribe > Dirichlet-type bcs. > The label "Face Sets" is designed t

[petsc-users] Advice on identifying boundary vertices

2025-02-15 Thread Aldo Bonfiglioli
Dear all, I am trying to identify the boundary vertices that belong to a given stratum of the Face sets. This is going to be used to prescribe Dirichlet-type bcs. I can select the boundary faces (edges in 2D) of a given stratum using PetscCall(DMLabelGetStratumIS(label, stratum, user%bndryfa