69 int npoints =
m_fields[0]->GetNpoints();
74 = Array<OneD, NekDouble>(npoints,
m_session->GetParameter(
"d00"));
79 = Array<OneD, NekDouble>(npoints,
m_session->GetParameter(
"d11"));
84 = Array<OneD, NekDouble>(npoints,
m_session->GetParameter(
"d22"));
96 m_session->LoadSolverInfo(
"DiffusionType", diffName,
"LDG");
98 CreateInstance(diffName, diffName);
111 ASSERTL0(
false,
"Explicit Galerkin diffusion not set up.");
157 const Array<
OneD,
const Array<OneD, NekDouble> > &inarray,
158 Array<
OneD, Array<OneD, NekDouble> > &outarray,
162 int nVariables = inarray.num_elements();
179 const Array<
OneD,
const Array<OneD, NekDouble> > &inarray,
180 Array<
OneD, Array<OneD, NekDouble> > &outarray,
184 int nvariables = inarray.num_elements();
194 for(i = 0; i < nvariables; ++i)
205 for(i = 0; i < nvariables; ++i)
207 m_fields[i]->FwdTrans(inarray[i], coeffs);
208 m_fields[i]->BwdTrans_IterPerExp(coeffs, outarray[i]);
214 ASSERTL0(
false,
"Unknown projection scheme");
224 const Array<
OneD,
const Array<OneD, NekDouble> > &inarray,
225 Array<
OneD, Array<OneD, NekDouble> > &outarray,
231 int nvariables = inarray.num_elements();
232 int npoints =
m_fields[0]->GetNpoints();
246 for (
int i = 0; i < nvariables; ++i)
267 outarray[i] =
m_fields[i]->GetPhys();
277 const Array<
OneD, Array<OneD, NekDouble> > &physfield,
278 Array<
OneD, Array<OneD, NekDouble> > &derivatives,
279 Array<
OneD, Array<OneD, NekDouble> > &flux)
281 for(
int k = 0; k < flux.num_elements(); ++k)