44 namespace LibUtilities
52 "Number of modes must be the same for " 53 "interpolating coefficients");
80 tbasis0, tbasis1, to. data());
106 Blas::Dgemm(
'N',
'T', fnm0, tnm1, fnm1, 1.0, from, fnm0,
107 ft1->GetPtr().get(), tnm1, 0.0, wsp.get(), fnm0);
119 Blas::Dgemm(
'N',
'N', tnm0, tnm1, fnm0, 1.0, ft0->GetPtr().get(),
120 tnm0, wsp.get(), fnm0, 0.0, to, tnm0);
134 tbasis0, tbasis1, tbasis2, to. data());
161 ft0->GetPtr().get(), tnm0, from, fnm0, 0.0,
164 for (
int i = 0; i < fnm2; i++)
167 wsp2.get()+i*tnm0*fnm1, tnm0, ft1->GetPtr().get(),
168 tnm1, 0.0, wsp1.get()+i*tnm0*tnm1, tnm0);
171 Blas::Dgemm(
'N',
'T', tnm0*tnm1, tnm2, fnm2, 1.0, wsp1.get(),
172 tnm0*tnm1, ft2->GetPtr().get(), tnm2,
#define ASSERTL0(condition, msg)
void InterpCoeff1D(const BasisKey &fbasis0, const Array< OneD, const NekDouble > &from, const BasisKey &tbasis0, Array< OneD, NekDouble > &to)
BasisType GetBasisType() const
Return type of expansion basis.
std::shared_ptr< DNekMat > DNekMatSharedPtr
static void Dgemm(const char &transa, const char &transb, const int &m, const int &n, const int &k, const double &alpha, const double *a, const int &lda, const double *b, const int &ldb, const double &beta, double *c, const int &ldc)
BLAS level 3: Matrix-matrix multiply C = A x B where A[m x n], B[n x k], C[m x k].
BasisManagerT & BasisManager(void)
int GetNumModes() const
Returns the order of the basis.
void InterpCoeff3D(const BasisKey &fbasis0, const BasisKey &fbasis1, const BasisKey &fbasis2, const Array< OneD, const NekDouble > &from, const BasisKey &tbasis0, const BasisKey &tbasis1, const BasisKey &tbasis2, Array< OneD, NekDouble > &to)
void InterpCoeff2D(const BasisKey &fbasis0, const BasisKey &fbasis1, const Array< OneD, const NekDouble > &from, const BasisKey &tbasis0, const BasisKey &tbasis1, Array< OneD, NekDouble > &to)
void Vcopy(int n, const T *x, const int incx, T *y, const int incy)
Describes the specification for a Basis.