Perform operation.
1269 unsigned int nPhys =
m_stdExp->GetTotPoints();
1271 unsigned int nmodes =
m_stdExp->GetNcoeffs();
1272 unsigned int nmax = max(ntot,
m_numElmt*nmodes);
1273 Array<OneD, Array<OneD, const NekDouble> > in(3);
1274 Array<OneD, NekDouble> output, wsp1;
1275 Array<OneD, Array<OneD, NekDouble> > tmp(3);
1277 in[0] = entry0; in[1] = entry1;
1282 for(
int i = 0; i < 3; ++i)
1284 tmp[i] = wsp + i*nmax;
1313 for(
int i = 0; i < 3; ++i)
1317 for(
int j = 1; j < 3; ++j)
1320 in[j],1, tmp[i], 1, tmp[i],1);
1323 wsp1 = wsp + 3*nmax;
1330 tmp[0].
get()+i*nPhys,1);
1334 tmp[0].
get()+i*nPhys,1,tmp[0].
get()+i*nPhys,1);
1342 m_jac,tmp[0],output,wsp1);
1348 m_jac,tmp[1],tmp[0],wsp1);
1349 Vmath::Vadd(m_numElmt*nmodes,tmp[0],1,output,1,output,1);
1355 m_jac,tmp[2],tmp[0],wsp1);
1356 Vmath::Vadd(m_numElmt*nmodes,tmp[0],1,output,1,output,1);
Array< OneD, NekDouble > m_fac0
void Vvtvp(int n, const T *w, const int incw, const T *x, const int incx, const T *y, const int incy, T *z, const int incz)
vvtvp (vector times vector plus vector): z = w*x + y
Array< OneD, const NekDouble > m_derbase1
Array< OneD, const NekDouble > m_base1
StdRegions::StdExpansionSharedPtr m_stdExp
void PrismIProduct(bool sortTopVertex, int numElmt, int nquad0, int nquad1, int nquad2, int nmodes0, int nmodes1, int nmodes2, const Array< OneD, const NekDouble > &base0, const Array< OneD, const NekDouble > &base1, const Array< OneD, const NekDouble > &base2, const Array< OneD, const NekDouble > &jac, const Array< OneD, const NekDouble > &input, Array< OneD, NekDouble > &output, Array< OneD, NekDouble > &wsp)
Array< OneD, NekDouble > m_fac1
Array< OneD, const NekDouble > m_base2
Array< OneD, const NekDouble > m_base0
Array< TwoD, const NekDouble > m_derivFac
Array< OneD, const NekDouble > m_jac
Array< OneD, const NekDouble > m_derbase2
void Vadd(int n, const T *x, const int incx, const T *y, const int incy, T *z, const int incz)
Add vector z = x+y.
void Vmul(int n, const T *x, const int incx, const T *y, const int incy, T *z, const int incz)
Multiply vector z = x*y.
Array< OneD, const NekDouble > m_derbase0