71 if (inarray.data() == outarray.data())
75 Blas::Dgemv(
'N', nquad, nquad, 1.0, &(D->GetPtr())[0], nquad, &wsp[0],
76 1, 0.0, &outarray[0], 1);
80 Blas::Dgemv(
'N', nquad, nquad, 1.0, &(D->GetPtr())[0], nquad,
81 &inarray[0], 1, 0.0, &outarray[0], 1);
92 return StdExpansion::BaryEvaluate<0>(Lcoord[0], &physvals[0]);
98 std::array<NekDouble, 3> &firstOrderDerivs)
100 boost::ignore_unused(coord, inarray, firstOrderDerivs);
107 std::array<NekDouble, 3> &firstOrderDerivs,
108 std::array<NekDouble, 6> &secondOrderDerivs)
110 boost::ignore_unused(coord, inarray, firstOrderDerivs, secondOrderDerivs);
#define ASSERTL2(condition, msg)
Assert Level 2 – Debugging which is used FULLDEBUG compilation mode. This level assert is designed to...
Describes the specification for a Basis.
void PhysTensorDeriv(const Array< OneD, const NekDouble > &inarray, Array< OneD, NekDouble > &outarray)
Evaluate the derivative at the physical quadrature points given by inarray and return in outarray.
virtual ~StdExpansion1D() override
virtual NekDouble v_PhysEvaluate(const Array< OneD, const NekDouble > &coords, const Array< OneD, const NekDouble > &physvals) override
The base class for all shapes.
int GetTotPoints() const
This function returns the total number of quadrature points used in the element.
Array< OneD, LibUtilities::BasisSharedPtr > m_base
static void Dgemv(const char &trans, const int &m, const int &n, const double &alpha, const double *a, const int &lda, const double *x, const int &incx, const double &beta, double *y, const int &incy)
BLAS level 2: Matrix vector multiply y = alpha A x plus beta y where A[m x n].
static const NekDouble kNekZeroTol
The above copyright notice and this permission notice shall be included.
std::shared_ptr< DNekMat > DNekMatSharedPtr
void CopyArray(const Array< OneD, ConstDataType > &source, Array< OneD, DataType > &dest)