I use NodeElems with GhostingFunctor to couple unconnected nodes (i.e. I
attach NodeElems to the nodes that I want to couple), and this works well.
However, I realized that this approach requires me to set the processor_id
in the NodeElem to match the processor_id of the Node that it points to, as
per the code below:

  for (const auto & elem : mesh.active_element_ptr_range())
  {
    if(elem->type() == NODEELEM)
    {
      elem->processor_id() = elem->node_ref(0).processor_id();
    }
  }

This seems reasonable to me, but I just wanted to check if this is an
expected requirement?

Best,
David

_______________________________________________
Libmesh-users mailing list
Libmesh-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to