75 string advName = advType.substr(0, advType.length()-15);
88 Array<OneD, MultiRegions::ExpListSharedPtr> pFields)
90 int nConvectiveFields = pFields.num_elements();
92 Array<OneD, MultiRegions::ExpListSharedPtr> pFields_plane0(
96 for (
int i = 0; i < nConvectiveFields; ++i)
98 pFields_plane0[i] = pFields[i]->GetPlane(0);
100 m_planeAdv->InitObject(pSession, pFields_plane0);
116 map<string, RSScalarFuncType> scalars =
m_riemann->GetScalars();
117 map<string, RSVecFuncType> vectors =
m_riemann->GetVectors();
119 for (it1 = scalars.begin(); it1 != scalars.end(); ++it1)
126 for (it2 = vectors.begin(); it2 != vectors.end(); ++it2)
133 m_fluxVecStore = Array<OneD, Array<OneD, Array<OneD, NekDouble> > >(
137 for (
int i = 0; i < nConvectiveFields; ++i)
140 for (
int j = 0; j < 3; ++j)
147 Array<OneD, Array<OneD, NekDouble> > > >(
m_numPlanes);
162 Array<OneD, Array<OneD, Array<OneD, NekDouble> > >(
165 for (
int j = 0; j < nConvectiveFields; ++j)
168 Array<OneD, Array<OneD, NekDouble> >(3);
169 for (
int k = 0; k < 3; ++k)
190 const int nConvectiveFields,
191 const Array<OneD, MultiRegions::ExpListSharedPtr> &fields,
192 const Array<
OneD, Array<OneD, NekDouble> > &advVel,
193 const Array<
OneD, Array<OneD, NekDouble> > &inarray,
194 Array<
OneD, Array<OneD, NekDouble> > &outarray,
198 int nVel = advVel.num_elements();
209 for (
int j = 0; j < nConvectiveFields; ++j)
218 for (
int j = 0; j < nVel; ++j)
220 if (advVel[j].num_elements() != 0)
234 for (
int i = 0; i < nConvectiveFields; ++i)
244 const Array<
OneD, Array<OneD, NekDouble> > &inarray,
245 Array<
OneD, Array<
OneD, Array<OneD, NekDouble> > > &outarray)