35 #ifndef NEKTAR_LIBRARY_COLLECTIONS_MATRIXFREEBASE_H
36 #define NEKTAR_LIBRARY_COLLECTIONS_MATRIXFREEBASE_H
39 #include <boost/core/ignore_unused.hpp>
55 const unsigned int nCollSize)
74 const unsigned int nCollSize)
79 const auto nElmtNoPad = nCollSize;
82 if (nElmtNoPad % vec_t::width != 0)
86 nElmtNoPad + vec_t::width - (nElmtNoPad % vec_t::width);
102 const unsigned int nOut,
103 const unsigned int nCollSize)
110 const auto nElmtNoPad = nCollSize;
113 if (nElmtNoPad % vec_t::width != 0)
117 nElmtNoPad + vec_t::width - (nElmtNoPad % vec_t::width);
147 const unsigned int nOut,
148 const unsigned int nCollSize)
155 const auto nElmtNoPad = nCollSize;
158 if (nElmtNoPad % vec_t::width != 0)
162 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
The above copyright notice and this permission notice shall be included.
typename abi< ScalarType, width >::type simd