Commit 063902a4 authored by Douglas Serson's avatar Douglas Serson

Fix FilterFieldConvert in 3DH1D

parent aa34ec09
......@@ -485,14 +485,14 @@ void FilterFieldConvert::CreateFields(
m_f->m_fieldMetaDataMap = m_fieldMetaData;
m_f->m_fieldPts = LibUtilities::NullPtsField;
// Create m_f->m_exp
int NumHomogeneousDir = 0;
m_f->m_numHomogeneousDir = 0;
if (pFields[0]->GetExpType() == MultiRegions::e3DH1D)
{
NumHomogeneousDir = 1;
m_f->m_numHomogeneousDir = 1;
}
else if (pFields[0]->GetExpType() == MultiRegions::e3DH2D)
{
NumHomogeneousDir = 2;
m_f->m_numHomogeneousDir = 2;
}
m_f->m_exp.resize(m_variables.size());
......@@ -504,7 +504,7 @@ void FilterFieldConvert::CreateFields(
nfield = (n < pFields.num_elements())? n: 0;
m_f->m_exp[n] = m_f->AppendExpList(
NumHomogeneousDir, m_variables[0]);
m_f->m_numHomogeneousDir, m_variables[0]);
m_f->m_exp[n]->SetWaveSpace(false);
ASSERTL1(pFields[nfield]->GetNcoeffs() == m_outFields[n].num_elements(),
......
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