<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<br>
<div class="moz-cite-prefix">On 16/04/14 06:06, Matthew Knepley
wrote:<br>
<br>
</div>
<blockquote
cite="mid:CAMYG4GkjzfncTAg7TkVqbP_aDEwc6jzy1teQm5sKqb0uvjvCew@mail.gmail.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">There is certainly a workaround. You
give me the interpolated mesh. The only thing this code does
is
<div>allow you to input just cells and vertices. Since you
are using these elements now, you know the faces,</div>
<div>so just use something like DMPlexCreateFromDAG() to
input the fully interpolated mesh.</div>
</div>
</div>
</div>
</blockquote>
<br>
Yeah, I was afraid that might be the workaround ;-) It seems to me
that for a large unstructured mesh, creating the whole DAG would
basically amount to duplicating what the very handy
DMPlexInterpolate() function does.<br>
<blockquote
cite="mid:CAMYG4GkjzfncTAg7TkVqbP_aDEwc6jzy1teQm5sKqb0uvjvCew@mail.gmail.com"
type="cite">
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">
<div><br>
</div>
<div>The problem here is that if I allow faces of different
shapes, I have to keep track of the shape of each</div>
<div>face when I make it. This is possible, and I have
added it to the TODO list, but I think it will be a while</div>
<div>before I get to it. If you want to try doing it, I
would help.</div>
</div>
</div>
</div>
</blockquote>
<br>
I'd have to get more familiar with how it works first, and it
probably isn't top of my priority list either at present- I can
continue getting my code together without support for wedge cells at
the moment. But at some point I will need it.<br>
<br>
Cheers, Adrian<br>
<pre class="moz-signature" cols="72">--
Dr Adrian Croucher
Department of Engineering Science
University of Auckland
New Zealand
tel 64-9-373-7599 ext 84611
</pre>
</body>
</html>