[Gmsh] PETSc/DMPlex and .msh
Praveen C
cpraveen at gmail.com
Thu Dec 3 13:51:45 CET 2020
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
> On 03-Dec-2020, at 2:21 PM, Sharan Roongta <s.roongta at mpie.de> wrote:
>
> Hello,
>
> I believe this can be used to create a Dm object
>
>
> https://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/DMPLEX/DMPlexCreateFromFile.html#DMPlexCreateFromFile <https://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/DMPLEX/DMPlexCreateFromFile.html#DMPlexCreateFromFile>
>
> Where the input file is a mesh..?
>
> Best,
> Sharan
>
> From: Christophe Geuzaine <cgeuzaine at uliege.be <mailto:cgeuzaine at uliege.be>>
> To: Sharan Roongta <s.roongta at mpie.de <mailto:s.roongta at mpie.de>>
> Cc: <gmsh at onelab.info <mailto:gmsh at onelab.info>>
> Sent: 03/12/2020 8:46 AM
> Subject: Re: [Gmsh] PETSc/DMPlex and .msh
>
>
>
> > On 2 Dec 2020, at 22:54, Sharan Roongta <s.roongta at mpie.de> wrote:
> >
> > Hello,
> >
> > I was wondering if PETSc/DMPlex can directly read the physical entity/(.msh) file , and we can directly get the physical Ids from the DMPlex object?
>
> I have no idea... PETSc/DMPlex reads .msh files?
>
> Christophe
>
>
> >
> > Thanks and Regards,
> > Sharan
> >
> >
> > -------------------------------------------------
> > Max-Planck-Institut für Eisenforschung GmbH
> > Max-Planck-Straße 1
> > D-40237 Düsseldorf
> >
> > Handelsregister B 2533
> > Amtsgericht Düsseldorf
> >
> > Geschäftsführung
> > Prof. Dr. Gerhard Dehm
> > Prof. Dr. Jörg Neugebauer
> > Prof. Dr. Dierk Raabe
> > Dr. Kai de Weldige
> >
> > Ust.-Id.-Nr.: DE 11 93 58 514
> > Steuernummer: 105 5891 1000
> >
> >
> > Please consider that invitations and e-mails of our institute are
> > only valid if they end with …@mpie.de.
> > If you are not sure of the validity please contact rco at mpie.de
> >
> > Bitte beachten Sie, dass Einladungen zu Veranstaltungen und E-Mails
> > aus unserem Haus nur mit der Endung …@mpie.de gültig sind.
> > In Zweifelsfällen wenden Sie sich bitte an rco at mpie.de
> > -------------------------------------------------
> > _______________________________________________
> > gmsh mailing list
> > gmsh at onelab.info
> > http://onelab.info/mailman/listinfo/gmsh
>
> —
> Prof. Christophe Geuzaine
> University of Liege, Electrical Engineering and Computer Science
> http://people.montefiore.ulg.ac.be/geuzaine
>
>
>
>
>
>
> -------------------------------------------------
> Max-Planck-Institut für Eisenforschung GmbH
> Max-Planck-Straße 1
> D-40237 Düsseldorf
>
> Handelsregister B 2533
> Amtsgericht Düsseldorf
>
> Geschäftsführung
> Prof. Dr. Gerhard Dehm
> Prof. Dr. Jörg Neugebauer
> Prof. Dr. Dierk Raabe
> Dr. Kai de Weldige
>
> Ust.-Id.-Nr.: DE 11 93 58 514
> Steuernummer: 105 5891 1000
>
>
> Please consider that invitations and e-mails of our institute are
> only valid if they end with …@mpie.de.
> If you are not sure of the validity please contact rco at mpie.de <mailto:rco at mpie.de>
>
> Bitte beachten Sie, dass Einladungen zu Veranstaltungen und E-Mails
> aus unserem Haus nur mit der Endung …@mpie.de gültig sind.
> In Zweifelsfällen wenden Sie sich bitte an rco at mpie.de <mailto:rco at mpie.de>
> -------------------------------------------------
> _______________________________________________
> gmsh mailing list
> gmsh at onelab.info <mailto:gmsh at onelab.info>
> http://onelab.info/mailman/listinfo/gmsh <http://onelab.info/mailman/listinfo/gmsh>
---
http://cpraveen.github.io
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://onelab.info/pipermail/gmsh/attachments/20201203/c568dc7b/attachment-0001.html>
More information about the gmsh
mailing list