Commit 241a2cf2 authored by Chris Cantwell's avatar Chris Cantwell Committed by Spencer Sherwin
Browse files

Put back fix for SingleMode 3D output.

parent 9fcf2423
......@@ -289,6 +289,16 @@ struct Field {
nplanes = m_fielddef[0]->m_numModes[2];
lz = m_fielddef[0]->m_homogeneousLengths[0];
btype = m_fielddef[0]->m_basis[2];
if (btype == LibUtilities::eFourierSingleMode)
{
btype = LibUtilities::eFourier;
m_fielddef[0]->m_basis[2] = LibUtilities::eFourierSingleMode;
if (nplanes <= 2)
{
nplanes = 4;
}
}
}
else
{
......
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