unique global node identifiers?
Posted: 15 Oct 2016, 13:36
Hi all, I am reading Elmer mesh information at runtime in preparation for regridding operations (this is part of a coupled ice-ocean model). I need to have unique global ids for nodes, so that the same node on two neighbouring partition boundaries can be identified. Currently Elmer runtime node information appears to use local (to the current partition) identifiers, though I see that the mesh files (created with ElmerGrid) contain unique global node identifiers. Is this global node id information accessible somehow at runtime? If not, is there a way to reconstruct it at run time? I guess looping over all nodes on a partition and looking for nodes on other partitions with matching coords might do it, but this seems a bit awkward and inefficient, and would probably have to be done on one process with a lot of gathering, so I hope there is a better way.