<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi.<br>
The main problem is not the grid type or the factory but that you
need an actual<br>
grid implementation that can handle these general meshes. ALU and
SPGrid etc. <br>
can only handle cubes and simplex elements and that is the only
geometry types<br>
they can understand in their GridFactory. <br>
<br>
So for something more general you need to provide a new grid
implementation that<br>
allows for more general grid types. The geometry type of these
elements would be<br>
"none" and probably you would also be implementing only part of the
geometry interface.<br>
Something along those lines was done in the CornerPointGrid
implementation.<br>
<a class="moz-txt-link-freetext" href="https://github.com/OPM/dune-cornerpoint">https://github.com/OPM/dune-cornerpoint</a><br>
<br>
Best<br>
Andreas<br>
<br>
<br>
<br>
<div class="moz-cite-prefix">On 26/02/15 11:38, Ganesh Diwan wrote:<br>
</div>
<blockquote
cite="mid:CA+vjcr3OSOPo0Hv8ZoCW=5EjNZ3xQ2XOzTCVq6Tq3KuA6dYAjA@mail.gmail.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<div dir="ltr">
<div>
<div>
<div>
<div>Dear list,<br>
<br>
</div>
I am working on implementing virtual element computations
inside Dune. This will involve implementing the algorithm
on arbitrary shaped elements. Is there a way to read
arbitrary polygonal (2d) or polyhedral (3d) meshes in
Dune? Currently implemented Grid managers (ALUGrid, SPGrid
etc.) identify either simplices or cube types. <br>
<br>
</div>
Can the GridFactory class be used for this purpose?
Grid-howto document says when building a new gridtype Dune
may have a problem for unidentified element type. Say, I
have an element with five edges (a pentagon). In this case,
is Dune likely to throw an exception for unidentified
element type? <br>
<br>
I wanted to get the Grid guru's thoughts before investing
time in this. <br>
<br>
</div>
Thank you!<br>
</div>
Ganesh<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Dune mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Dune@dune-project.org">Dune@dune-project.org</a>
<a class="moz-txt-link-freetext" href="http://lists.dune-project.org/mailman/listinfo/dune">http://lists.dune-project.org/mailman/listinfo/dune</a>
</pre>
</blockquote>
<br>
</body>
</html>