Commit 5517c0f2 authored by Chris Cantwell's avatar Chris Cantwell Committed by Spencer Sherwin
Browse files

Fix ModeType summary output.

parent 234a1097
...@@ -2241,8 +2241,20 @@ namespace Nektar ...@@ -2241,8 +2241,20 @@ namespace Nektar
AddSummaryItem(s, "Num. Hom. Modes (z)", m_npointsZ); AddSummaryItem(s, "Num. Hom. Modes (z)", m_npointsZ);
AddSummaryItem(s, "Hom. length (LZ)", "m_LhomZ"); AddSummaryItem(s, "Hom. length (LZ)", "m_LhomZ");
AddSummaryItem(s, "FFT Type", m_useFFT ? "FFTW" : "MVM"); AddSummaryItem(s, "FFT Type", m_useFFT ? "FFTW" : "MVM");
AddSummaryItem(s, "Selected Mode", m_multipleModes if (m_halfMode)
? boost::lexical_cast<string>(m_NumMode) : "ALL"); {
AddSummaryItem(s, "ModeType", "Half Mode");
}
else if (m_singleMode)
{
AddSummaryItem(s, "ModeType", "Single Mode");
}
else if (m_multipleModes)
{
AddSummaryItem(s, "ModeType", "Multiple Modes");
AddSummaryItem(s, "Selected Mode",
boost::lexical_cast<string>(m_NumMode));
}
} }
else if(m_HomogeneousType == eHomogeneous2D) else if(m_HomogeneousType == eHomogeneous2D)
{ {
......
Supports Markdown
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