42 namespace MultiRegions
56 for(
int n = 0; n <
m_lines.num_elements(); ++n)
74 const bool dealiasing,
76 const std::string &variable):
88 for(i = 0; i < nel; ++i)
96 for(n = 1; n < nylines*nzlines; ++n)
100 for(i = 0; i < nel; ++i)
102 (*m_exp).push_back((*
m_exp)[i]);
120 Array<OneD, NekDouble> tmp;
121 int ncoeffs =
m_lines[0]->GetNcoeffs();
123 for(
int n = 0; n <
m_lines.num_elements(); ++n)
125 m_lines[n]->ImposeDirichletConditions(tmp = outarray +
136 for(
int n = 0; n <
m_lines.num_elements(); ++n)
148 for(
int n = 0; n <
m_lines.num_elements(); ++n)
156 const Array<OneD, const NekDouble> &inarray,
157 Array<OneD, NekDouble> &outarray,
161 const Array<OneD, const NekDouble> &dirForcing)
173 Array<OneD, NekDouble> e_out;
174 Array<OneD, NekDouble> fce(inarray.num_elements());
186 for(n = 0; n < nhom_modes_z; ++n)
188 for(m = 0; m < nhom_modes_y; ++m)
192 beta = beta_y*beta_y + beta_z*beta_z;
193 new_factors = factors;
196 m_lines[n]->HelmSolve(fce + cnt,
197 e_out = outarray + cnt1,
198 flags, new_factors, varcoeff, dirForcing);
200 cnt +=
m_lines[n]->GetTotPoints();
202 cnt1 +=
m_lines[n]->GetNcoeffs();