Cedric Doucet <[email protected]> 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.

Attachment: pgpeNpP7cLfQH.pgp
Description: PGP signature

Reply via email to