35 #ifndef NEKTAR_LIBRARY_COLLECTIONS_MATRIXFREEBASE_H
36 #define NEKTAR_LIBRARY_COLLECTIONS_MATRIXFREEBASE_H
38 #include <boost/core/ignore_unused.hpp>
53 const unsigned int nOut,
54 const unsigned int nCollSize):
73 const unsigned int nCollSize):
78 const auto nElmtNoPad = nCollSize;
81 if (nElmtNoPad % vec_t::width != 0)
85 (nElmtNoPad % vec_t::width);
101 const unsigned int nIn,
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);
146 const unsigned int nIn,
147 const unsigned int nOut,
148 const unsigned int nCollSize):
155 const auto nElmtNoPad = nCollSize;
159 if (nElmtNoPad % vec_t::width != 0)
163 (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 >::type simd