Commit 7d9e5e48 authored by David Moxey's avatar David Moxey

Tidy code movement

parent 84e17356
...@@ -498,26 +498,26 @@ namespace Nektar ...@@ -498,26 +498,26 @@ namespace Nektar
SetUpUniversalDGMap (locExp); SetUpUniversalDGMap (locExp);
SetUpUniversalTraceMap(locExp, tr, periodicTrace); SetUpUniversalTraceMap(locExp, tr, periodicTrace);
if ((m_solnType == eDirectMultiLevelStaticCond || if ((m_solnType == eDirectMultiLevelStaticCond ||
m_solnType == eIterativeMultiLevelStaticCond || m_solnType == eIterativeMultiLevelStaticCond ||
m_solnType == eXxtMultiLevelStaticCond || m_solnType == eXxtMultiLevelStaticCond ||
m_solnType == ePETScMultiLevelStaticCond) m_solnType == ePETScMultiLevelStaticCond)
&& nGraphVerts) && nGraphVerts)
{ {
if (m_staticCondLevel < (bottomUpGraph->GetNlevels() - 1)) if (m_staticCondLevel < (bottomUpGraph->GetNlevels() - 1))
{ {
Array<OneD, int> vwgts_perm(nGraphVerts); Array<OneD, int> vwgts_perm(nGraphVerts);
for (int i = 0; i < nGraphVerts; i++) for (int i = 0; i < nGraphVerts; i++)
{ {
vwgts_perm[i] = vwgts[perm[i]]; vwgts_perm[i] = vwgts[perm[i]];
} }
bottomUpGraph->ExpandGraphWithVertexWeights(vwgts_perm); bottomUpGraph->ExpandGraphWithVertexWeights(vwgts_perm);
m_nextLevelLocalToGlobalMap = MemoryManager<AssemblyMap>:: m_nextLevelLocalToGlobalMap = MemoryManager<AssemblyMap>::
AllocateSharedPtr(this, bottomUpGraph); AllocateSharedPtr(this, bottomUpGraph);
} }
} }
m_hash = hash_range(m_localToGlobalBndMap.begin(), m_hash = hash_range(m_localToGlobalBndMap.begin(),
m_localToGlobalBndMap.end()); m_localToGlobalBndMap.end());
......
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