35#ifndef NEKTAR_LIBRARY_COLLECTIONS_MATRIXFREEBASE_H
36#define NEKTAR_LIBRARY_COLLECTIONS_MATRIXFREEBASE_H
50 const unsigned int nCollSize)
69 const unsigned int nCollSize)
74 const auto nElmtNoPad = nCollSize;
77 if (nElmtNoPad % vec_t::width != 0)
81 nElmtNoPad + vec_t::width - (nElmtNoPad % vec_t::width);
97 const unsigned int nOut,
98 const unsigned int nCollSize)
105 const auto nElmtNoPad = nCollSize;
108 if (nElmtNoPad % vec_t::width != 0)
112 nElmtNoPad + vec_t::width - (nElmtNoPad % vec_t::width);
142 const unsigned int nOut,
143 const unsigned int nCollSize)
150 const auto nElmtNoPad = nCollSize;
153 if (nElmtNoPad % vec_t::width != 0)
157 nElmtNoPad + vec_t::width - (nElmtNoPad % vec_t::width);
MatrixFreeBase(const unsigned int nIn, const unsigned int nOut, const unsigned int nCollSize)
bool m_isPadded
flag for padding
unsigned int m_nElmtPad
size after padding
unsigned short m_coordim
coordinates dimension
Array< OneD, NekDouble > m_output
MatrixFreeMultiInOneOut(const unsigned int coordim, const unsigned int nIn, const unsigned int nOut, const unsigned int nCollSize)
Constructor.
Array< OneD, Array< OneD, NekDouble > > m_input
padded input/output vectors
Array< OneD, NekDouble > m_input
padded input/output vectors
unsigned short m_coordim
coordinates dimension
MatrixFreeOneInMultiOut(const unsigned int coordim, const unsigned int nIn, const unsigned int nOut, const unsigned int nCollSize)
Constructor.
Array< OneD, Array< OneD, NekDouble > > m_output
Array< OneD, NekDouble > m_output
MatrixFreeOneInOneOut(const unsigned int nIn, const unsigned int nOut, const unsigned int nCollSize)
Constructor.
Array< OneD, NekDouble > m_input
padded input/output vectors
typename abi< ScalarType, width >::type simd