[petsc-users] import a mesh.

Olivier Bonnefon olivier.bonnefon at avignon.inra.fr
Tue Aug 20 07:50:28 CDT 2013


Hello,

I have modify the ex12.c example for a like diffusive problem 
(FEM+unstructured mesh+SNES).
The next step, is to replace the square mesh by my own mesh.
I want import my mesh from a simple file, and after distributed it with 
DMPlexDistribute.
Is it the good way ?
Is it possible to import a mesh in petsc ? I didn't find the answer in 
the documentation. Is there an example ?

Thanks
Olivier Bonnefon

-- 
Olivier Bonnefon
INRA PACA-Avignon, Unité BioSP
Tel: +33 (0)4 32 72 21 58



More information about the petsc-users mailing list