[petsc-users] DMPlexCreateFromCellList and hybrid meshes
Jed Brown
jedbrown at mcs.anl.gov
Fri Jan 3 09:31:57 CST 2014
Cedric Doucet <cedric.doucet at inria.fr> writes:
> Hello,
> sorry, we talked about it few months ago.
> For the moment, it is assumed in DMPlexCreateFromCellList function that cells have all the same number of vertices.
> In other words, it means that meshes containing one and only one type of cell (from a topological viewpoint) can be handled by this function only.
> However, several mesh generators are able to discretize geometries by means of different kinds of cells.
> Resulting meshes are said to be mixed or hybrid because they contain different types of cells.
> To create a DMPlex structure from such a mesh, one needs to slightly modify DMPlexCreateFromCellList prototype.
Why can't you use DMPlexCreateFromDAG? You can create a
non-interpolated mesh and interpolate it later if you want. Note that
even for non-interpolated meshes, you often need boundary faces, in
which case DMPlexCreateFromCellList would still not be sufficient.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20140103/8fb4913d/attachment.pgp>
More information about the petsc-users
mailing list