Another way is explained here

https://lists.mcs.anl.gov/pipermail/petsc-users/2019-May/038519.html 
<https://lists.mcs.anl.gov/pipermail/petsc-users/2019-May/038519.html>

Best
praveen

> On 03-Dec-2020, at 6:21 PM, Praveen C <[email protected]> wrote:
> 
> We have used this in our code, though I did not implement it, so I dont know 
> the details. 
> 
> Here is  sample code
> 
> 
>             // get gmsh boundary tag
>             PetscInt bdry_tag;
>             ierr = DMGetLabelValue(dm, "Face Sets", face_no, &bdry_tag); 
> CHKERRQ(ierr);
> 
> Best
> praveen

_______________________________________________
gmsh mailing list
[email protected]
http://onelab.info/mailman/listinfo/gmsh

Reply via email to