[Gmsh] PETSc/DMPlex and .msh

Jed Brown jed at jedbrown.org
Thu Dec 3 15:15:59 CET 2020


Yep, if you encounter issues with what you want to do, please write us on petsc-users at mcs.anl.gov and share a sample .msh or .geo file. Most things work with both ASCII and binary formats, albeit serial read then distribute rather than direct parallel read (which is hard with the Gmsh formats).

Praveen C <cpraveen at gmail.com> writes:

> 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 <cpraveen at gmail.com> 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
> gmsh at onelab.info
> http://onelab.info/mailman/listinfo/gmsh



More information about the gmsh mailing list