Commit f84136ed authored by Chris Cantwell's avatar Chris Cantwell

Merge branch 'fix/Mixed3DBC_IncNS' of localhost:nektar

parents 35ce6505 de97a84c
......@@ -502,6 +502,12 @@ namespace Nektar
m_hash = boost::hash_range(
m_localToGlobalMap.begin(), m_localToGlobalMap.end());
// Add up hash values if parallel
int hash = m_hash;
m_comm->AllReduce(hash,
LibUtilities::ReduceSum);
m_hash = hash;
}
/**
......
......@@ -1461,6 +1461,12 @@ namespace Nektar
m_hash = boost::hash_range(m_localToGlobalMap.begin(),
m_localToGlobalMap.end());
// Add up hash values if parallel
int hash = m_hash;
m_comm->AllReduce(hash,
LibUtilities::ReduceSum);
m_hash = hash;
}
} // namespace
} // namespace
......@@ -171,6 +171,12 @@ namespace Nektar
m_hash = boost::hash_range(m_localToGlobalBndMap.begin(),
m_localToGlobalBndMap.end());
// Add up hash values if parallel
int hash = m_hash;
m_comm->AllReduce(hash,
LibUtilities::ReduceSum);
m_hash = hash;
}
......
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