Commit 108f2391 authored by George Zagaris's avatar George Zagaris
Browse files

BUGFIX: Corrected ProcessID when adding links

Links were added with myRank as the process ID
regardless. Now the corresponding remote process
that owns the connecting block is passed when
inserting remote links.
parent 905abd26
......@@ -124,14 +124,16 @@ void vtkAMRConnectivityFilter::ComputeBlockConnectivity(const vtkAMRBox &myBox)
// Add to local connectivity
this->LocalConnectivity->InsertConnection(
myBox.GetBlockId(),myBox.GetLevel(),
box.GetBlockId(),box.GetLevel,myRank );
box.GetBlockId(),box.GetLevel(),
myRank );
}
else
{
// Add to remote connectivity
this->LocalConnectivity->InsertConnection(
myBox.GetBlockId(),myBox.GetLevel(),
box.GetBlockId(),box.GetLevel,myRank );
box.GetBlockId(),box.GetLevel(),
box.GetProcessId() );
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment