Commit 7d9e5e48 by David Moxey

Tidy code movement

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