<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hello,<br>
<br>
Thank-you, I'm using DMPlexCreateFromCellList(), and it works
except for the boundary conditions. <br>
I'm using Dirichlet boundary conditions, and the corresponding
degree of freedom are not substituted (like when I use
DMPlexCreateBoxMesh). <br>
So, I do have missing a step to define the boundary ?<br>
<br>
Olivier B<br>
<br>
<br>
On 08/20/2013 03:08 PM, Matthew Knepley wrote:<br>
</div>
<blockquote
cite="mid:CAMYG4GmqyFyKNCU4yt7SMi-753N-VvYayhEVDNRoinxZaL8dGA@mail.gmail.com"
type="cite">
<div dir="ltr">On Tue, Aug 20, 2013 at 7:50 AM, Olivier Bonnefon <span
dir="ltr"><<a moz-do-not-send="true"
href="mailto:olivier.bonnefon@avignon.inra.fr"
target="_blank">olivier.bonnefon@avignon.inra.fr</a>></span>
wrote:<br>
<div class="gmail_extra">
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
I have modify the ex12.c example for a like diffusive
problem (FEM+unstructured mesh+SNES).<br>
The next step, is to replace the square mesh by my own
mesh.<br>
I want import my mesh from a simple file, and after
distributed it with DMPlexDistribute.<br>
Is it the good way ?<br>
Is it possible to import a mesh in petsc ? I didn't find
the answer in the documentation. Is there an example ?<br>
</blockquote>
<div><br>
</div>
<div>There are a few formats supported:</div>
<div><br>
</div>
<div> 1) Cell-vertex: DMPlexCreateFromCellList()</div>
<div><br>
</div>
<div> 2) Exodus: DMPlexCreateExodus()</div>
<div><br>
</div>
<div> 3) CGNS: DMPlexCreateCGNS()</div>
<div><br>
</div>
<div> Thanks,</div>
<div><br>
</div>
<div> Matt</div>
<div> </div>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
Thanks<span class="HOEnZb"><font color="#888888"><br>
Olivier Bonnefon<br>
<br>
-- <br>
Olivier Bonnefon<br>
INRA PACA-Avignon, Unité BioSP<br>
Tel: <a moz-do-not-send="true"
href="tel:%2B33%20%280%294%2032%2072%2021%2058"
value="+33432722158" target="_blank">+33 (0)4 32 72
21 58</a><br>
<br>
</font></span></blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
What most experimenters take for granted before they begin
their experiments is infinitely more interesting than any
results to which their experiments lead.<br>
-- Norbert Wiener
</div>
</div>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Olivier Bonnefon
INRA PACA-Avignon, Unité BioSP
Tel: +33 (0)4 32 72 21 58</pre>
</body>
</html>