[petsc-users] DMPlex: Mapping cells before and after partitioning

Jed Brown jed at jedbrown.org
Thu Jan 9 16:58:09 CST 2020


"'Bisht, Gautam' via tdycores-dev" <tdycores-dev at googlegroups.com> writes:

>> Do you need to rely on the element number, or would coordinates (of a
>> centroid?) be sufficient for your purposes?  
>
> I do need to rely on the element number.  In my case, I have a mapping file that remaps data from one grid onto another grid. Though I’m currently creating a hexahedron mesh, in the future I would be reading in an unstructured grid from a file for which I cannot rely on coordinates.

How does the mapping file work and how is it generated?

We can locate points and create interpolation with unstructured grids.


More information about the petsc-users mailing list