|
From: David K. <dav...@ak...> - 2018-12-04 21:22:35
|
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
|