35#include <boost/core/ignore_unused.hpp>
37#include <MatrixFreeOps/Operator.hpp>
77 boost::ignore_unused(output1, output2);
91 tmp = wsp + e *
m_nqe, 1);
96 1.0,
m_mat->GetRawPtr(),
m_mat->GetRows(), wsp.get(),
97 m_stdExp->GetTotPoints(), 0.0, output.get(),
105 boost::ignore_unused(dir, input, output, wsp);
110 int coll_phys_offset)
override
112 boost::ignore_unused(
factors, coll_phys_offset);
113 ASSERTL0(
false,
"Not valid for this operator.");
126 m_jac = pGeomData->GetJac(pCollExp);
139 IProductWRTBase_StdMat::create,
"IProductWRTBase_StdMat_Seg"),
142 IProductWRTBase_StdMat::create,
"IProductWRTBase_StdMat_Tri"),
145 IProductWRTBase_StdMat::create,
"IProductWRTBase_StdMat_NodalTri"),
148 IProductWRTBase_StdMat::create,
"IProductWRTBase_StdMat_Quad"),
151 IProductWRTBase_StdMat::create,
"IProductWRTBase_StdMat_Tet"),
154 IProductWRTBase_StdMat::create,
"IProductWRTBase_StdMat_NodalTet"),
157 IProductWRTBase_StdMat::create,
"IProductWRTBase_StdMat_Pyr"),
160 IProductWRTBase_StdMat::create,
"IProductWRTBase_StdMat_Prism"),
163 IProductWRTBase_StdMat::create,
"IProductWRTBase_StdMat_NodalPrism"),
166 IProductWRTBase_StdMat::create,
"IProductWRTBase_StdMat_Hex"),
169 IProductWRTBase_StdMat::create,
"IProductWRTBase_SumFac_Pyr")};
189 boost::ignore_unused(output1, output2, wsp);
202 (*m_oper)(input, output);
210 boost::ignore_unused(dir, input, output, wsp);
215 int coll_phys_offset)
override
217 boost::ignore_unused(
factors, coll_phys_offset);
218 ASSERTL0(
false,
"Not valid for this operator.");
222 std::shared_ptr<MatrixFree::IProduct>
m_oper;
225 vector<StdRegions::StdExpansionSharedPtr> pCollExp,
229 pCollExp[0]->GetStdExp()->GetNcoeffs(),
234 const auto dim = pCollExp[0]->GetStdExp()->GetShapeDimension();
235 std::vector<LibUtilities::BasisSharedPtr> basis(dim);
236 for (
unsigned int i = 0; i < dim; ++i)
238 basis[i] = pCollExp[0]->GetBasis(i);
242 auto shapeType = pCollExp[0]->GetStdExp()->DetShapeType();
245 std::string op_string =
"IProduct";
246 op_string += MatrixFree::GetOpstring(shapeType,
m_isDeformed);
251 oper->SetJac(pGeomData->GetJacInterLeave(pCollExp,
m_nElmtPad));
253 m_oper = std::dynamic_pointer_cast<MatrixFree::IProduct>(oper);
259OperatorKey IProductWRTBase_MatrixFree::m_typeArr[] = {
262 IProductWRTBase_MatrixFree::create,
"IProductWRTBase_MatrixFree_Seg"),
265 IProductWRTBase_MatrixFree::create,
"IProductWRTBase_MatrixFree_Quad"),
268 IProductWRTBase_MatrixFree::create,
"IProductWRTBase_MatrixFree_Tri"),
271 IProductWRTBase_MatrixFree::create,
"IProductWRTBase_MatrixFree_Hex"),
274 IProductWRTBase_MatrixFree::create,
"IProductWRTBase_MatrixFree_Prism"),
277 IProductWRTBase_MatrixFree::create,
"IProductWRTBase_MatrixFree_Pyr"),
280 IProductWRTBase_MatrixFree::create,
"IProductWRTBase_MatrixFree_Tet")
302 boost::ignore_unused(output1, output2);
306 const int nCoeffs =
m_stdExp->GetNcoeffs();
307 const int nPhys =
m_stdExp->GetTotPoints();
314 m_stdExp->IProductWRTBase_SumFac(wsp + i * nPhys,
315 tmp = output + i * nCoeffs,
false);
323 boost::ignore_unused(dir, input, output, wsp);
328 int coll_phys_offset)
override
330 boost::ignore_unused(
factors, coll_phys_offset);
331 ASSERTL0(
false,
"Not valid for this operator.");
339 vector<StdRegions::StdExpansionSharedPtr> pCollExp,
345 for (
int i = 0; i < PtsKey.size(); ++i)
347 nqtot *= PtsKey[i].GetNumPoints();
350 m_jacWStdW = pGeomData->GetJacWithStdWeights(pCollExp);
357OperatorKey IProductWRTBase_IterPerExp::m_typeArr[] = {
360 IProductWRTBase_IterPerExp::create,
"IProductWRTBase_IterPerExp_Seg"),
363 IProductWRTBase_IterPerExp::create,
"IProductWRTBase_IterPerExp_Tri"),
366 IProductWRTBase_IterPerExp::create,
367 "IProductWRTBase_IterPerExp_NodalTri"),
370 IProductWRTBase_IterPerExp::create,
"IProductWRTBase_IterPerExp_Quad"),
373 IProductWRTBase_IterPerExp::create,
"IProductWRTBase_IterPerExp_Tet"),
376 IProductWRTBase_IterPerExp::create,
377 "IProductWRTBase_IterPerExp_NodalTet"),
380 IProductWRTBase_IterPerExp::create,
"IProductWRTBase_IterPerExp_Pyr"),
383 IProductWRTBase_IterPerExp::create,
"IProductWRTBase_IterPerExp_Prism"),
386 IProductWRTBase_IterPerExp::create,
387 "IProductWRTBase_IterPerExp_NodalPrism"),
390 IProductWRTBase_IterPerExp::create,
"IProductWRTBase_IterPerExp_Hex"),
411 boost::ignore_unused(output1, output2, wsp);
413 const int nCoeffs =
m_expList[0]->GetNcoeffs();
414 const int nPhys =
m_expList[0]->GetTotPoints();
419 m_expList[i]->IProductWRTBase(input + i * nPhys,
420 tmp = output + i * nCoeffs);
428 boost::ignore_unused(dir, input, output, wsp);
433 int coll_phys_offset)
override
435 boost::ignore_unused(
factors, coll_phys_offset);
436 ASSERTL0(
false,
"Not valid for this operator.");
444 vector<StdRegions::StdExpansionSharedPtr> pCollExp,
453OperatorKey IProductWRTBase_NoCollection::m_typeArr[] = {
456 IProductWRTBase_NoCollection::create,
457 "IProductWRTBase_NoCollection_Seg"),
460 IProductWRTBase_NoCollection::create,
461 "IProductWRTBase_NoCollection_Tri"),
464 IProductWRTBase_NoCollection::create,
465 "IProductWRTBase_NoCollection_NodalTri"),
468 IProductWRTBase_NoCollection::create,
469 "IProductWRTBase_NoCollection_Quad"),
472 IProductWRTBase_NoCollection::create,
473 "IProductWRTBase_NoCollection_Tet"),
476 IProductWRTBase_NoCollection::create,
477 "IProductWRTBase_NoCollection_NodalTet"),
480 IProductWRTBase_NoCollection::create,
481 "IProductWRTBase_NoCollection_Pyr"),
484 IProductWRTBase_NoCollection::create,
485 "IProductWRTBase_NoCollection_Prism"),
488 IProductWRTBase_NoCollection::create,
489 "IProductWRTBase_NoCollection_NodalPrism"),
492 IProductWRTBase_NoCollection::create,
493 "IProductWRTBase_NoCollection_Hex"),
514 boost::ignore_unused(output1, output2);
536 boost::ignore_unused(dir, input, output, wsp);
541 int coll_phys_offset)
override
543 boost::ignore_unused(
factors, coll_phys_offset);
544 ASSERTL0(
false,
"Not valid for this operator.");
556 vector<StdRegions::StdExpansionSharedPtr> pCollExp,
565 m_jacWStdW = pGeomData->GetJacWithStdWeights(pCollExp);
573 IProductWRTBase_SumFac_Seg::create,
"IProductWRTBase_SumFac_Seg");
593 boost::ignore_unused(output1, output2);
606 boost::ignore_unused(dir, input, output, wsp);
611 int coll_phys_offset)
override
613 boost::ignore_unused(
factors, coll_phys_offset);
614 ASSERTL0(
false,
"Not valid for this operator.");
630 vector<StdRegions::StdExpansionSharedPtr> pCollExp,
642 m_jacWStdW = pGeomData->GetJacWithStdWeights(pCollExp);
652 IProductWRTBase_SumFac_Quad::create,
"IProductWRTBase_SumFac_Quad");
672 boost::ignore_unused(output1, output2);
685 boost::ignore_unused(dir, input, output, wsp);
690 int coll_phys_offset)
override
692 boost::ignore_unused(
factors, coll_phys_offset);
693 ASSERTL0(
false,
"Not valid for this operator.");
708 vector<StdRegions::StdExpansionSharedPtr> pCollExp,
718 m_jacWStdW = pGeomData->GetJacWithStdWeights(pCollExp);
736 IProductWRTBase_SumFac_Tri::create,
"IProductWRTBase_SumFac_Tri");
756 boost::ignore_unused(output1, output2);
769 boost::ignore_unused(dir, input, output, wsp);
774 int coll_phys_offset)
override
776 boost::ignore_unused(
factors, coll_phys_offset);
777 ASSERTL0(
false,
"Not valid for this operator.");
797 vector<StdRegions::StdExpansionSharedPtr> pCollExp,
814 m_jacWStdW = pGeomData->GetJacWithStdWeights(pCollExp);
825 IProductWRTBase_SumFac_Hex::create,
"IProductWRTBase_SumFac_Hex");
845 boost::ignore_unused(output1, output2);
858 boost::ignore_unused(dir, input, output, wsp);
863 int coll_phys_offset)
override
865 boost::ignore_unused(
factors, coll_phys_offset);
866 ASSERTL0(
false,
"Not valid for this operator.");
884 vector<StdRegions::StdExpansionSharedPtr> pCollExp,
897 m_jacWStdW = pGeomData->GetJacWithStdWeights(pCollExp);
919 IProductWRTBase_SumFac_Tet::create,
"IProductWRTBase_SumFac_Tet");
939 boost::ignore_unused(output1, output2);
952 boost::ignore_unused(dir, input, output, wsp);
957 int coll_phys_offset)
override
959 boost::ignore_unused(
factors, coll_phys_offset);
960 ASSERTL0(
false,
"Not valid for this operator.");
978 vector<StdRegions::StdExpansionSharedPtr> pCollExp,
992 m_jacWStdW = pGeomData->GetJacWithStdWeights(pCollExp);
1013 IProductWRTBase_SumFac_Prism::create,
"IProductWRTBase_SumFac_Prism");
1033 boost::ignore_unused(output1, output2);
1046 boost::ignore_unused(dir, input, output, wsp);
1051 int coll_phys_offset)
override
1053 boost::ignore_unused(
factors, coll_phys_offset);
1054 ASSERTL0(
false,
"Not valid for this operator.");
1072 vector<StdRegions::StdExpansionSharedPtr> pCollExp,
1086 m_jacWStdW = pGeomData->GetJacWithStdWeights(pCollExp);
1107 IProductWRTBase_SumFac_Pyr::create,
"IProductWRTBase_SumFac_Pyr");
#define ASSERTL0(condition, msg)
#define NEKERROR(type, msg)
Assert Level 0 – Fundamental assert which is used whether in FULLDEBUG, DEBUG or OPT compilation mode...
#define ASSERTL1(condition, msg)
Assert Level 1 – Debugging which is used whether in FULLDEBUG or DEBUG compilation mode....
#define OPERATOR_CREATE(cname)
Inner product operator using element-wise operation.
virtual void CheckFactors(StdRegions::FactorMap factors, int coll_phys_offset) override
Check the validity of the supplied factor map.
Array< OneD, NekDouble > m_jacWStdW
~IProductWRTBase_IterPerExp() final
IProductWRTBase_IterPerExp(vector< StdRegions::StdExpansionSharedPtr > pCollExp, CoalescedGeomDataSharedPtr pGeomData, StdRegions::FactorMap factors)
void operator()(int dir, const Array< OneD, const NekDouble > &input, Array< OneD, NekDouble > &output, Array< OneD, NekDouble > &wsp) override final
void operator()(const Array< OneD, const NekDouble > &input, Array< OneD, NekDouble > &output, Array< OneD, NekDouble > &output1, Array< OneD, NekDouble > &output2, Array< OneD, NekDouble > &wsp) override final
Perform operation.
Inner product operator using operator using matrix free operators.
IProductWRTBase_MatrixFree(vector< StdRegions::StdExpansionSharedPtr > pCollExp, CoalescedGeomDataSharedPtr pGeomData, StdRegions::FactorMap factors)
virtual void CheckFactors(StdRegions::FactorMap factors, int coll_phys_offset) override
Check the validity of the supplied factor map.
~IProductWRTBase_MatrixFree() final
virtual void operator()(const Array< OneD, const NekDouble > &input, Array< OneD, NekDouble > &output, Array< OneD, NekDouble > &output1, Array< OneD, NekDouble > &output2, Array< OneD, NekDouble > &wsp) override final
Perform operation.
void operator()(int dir, const Array< OneD, const NekDouble > &input, Array< OneD, NekDouble > &output, Array< OneD, NekDouble > &wsp) override final
std::shared_ptr< MatrixFree::IProduct > m_oper
Inner product operator using original MultiRegions implementation.
virtual void CheckFactors(StdRegions::FactorMap factors, int coll_phys_offset) override
Check the validity of the supplied factor map.
void operator()(int dir, const Array< OneD, const NekDouble > &input, Array< OneD, NekDouble > &output, Array< OneD, NekDouble > &wsp) override final
~IProductWRTBase_NoCollection() final
void operator()(const Array< OneD, const NekDouble > &input, Array< OneD, NekDouble > &output, Array< OneD, NekDouble > &output1, Array< OneD, NekDouble > &output2, Array< OneD, NekDouble > &wsp) override final
Perform operation.
vector< StdRegions::StdExpansionSharedPtr > m_expList
IProductWRTBase_NoCollection(vector< StdRegions::StdExpansionSharedPtr > pCollExp, CoalescedGeomDataSharedPtr pGeomData, StdRegions::FactorMap factors)
Inner product operator using standard matrix approach.
Array< OneD, const NekDouble > m_jac
virtual void CheckFactors(StdRegions::FactorMap factors, int coll_phys_offset) override
Check the validity of the supplied factor map.
IProductWRTBase_StdMat(vector< StdRegions::StdExpansionSharedPtr > pCollExp, CoalescedGeomDataSharedPtr pGeomData, StdRegions::FactorMap factors)
void operator()(const Array< OneD, const NekDouble > &input, Array< OneD, NekDouble > &output, Array< OneD, NekDouble > &output1, Array< OneD, NekDouble > &output2, Array< OneD, NekDouble > &wsp) override final
Perform operation.
~IProductWRTBase_StdMat() final
void operator()(int dir, const Array< OneD, const NekDouble > &input, Array< OneD, NekDouble > &output, Array< OneD, NekDouble > &wsp) override final
Inner Product operator using sum-factorisation (Hex)
void operator()(const Array< OneD, const NekDouble > &input, Array< OneD, NekDouble > &output, Array< OneD, NekDouble > &output1, Array< OneD, NekDouble > &output2, Array< OneD, NekDouble > &wsp) override final
Perform operation.
Array< OneD, const NekDouble > m_base0
IProductWRTBase_SumFac_Hex(vector< StdRegions::StdExpansionSharedPtr > pCollExp, CoalescedGeomDataSharedPtr pGeomData, StdRegions::FactorMap factors)
~IProductWRTBase_SumFac_Hex() final
virtual void CheckFactors(StdRegions::FactorMap factors, int coll_phys_offset) override
Check the validity of the supplied factor map.
Array< OneD, const NekDouble > m_base2
Array< OneD, const NekDouble > m_base1
Array< OneD, const NekDouble > m_jacWStdW
void operator()(int dir, const Array< OneD, const NekDouble > &input, Array< OneD, NekDouble > &output, Array< OneD, NekDouble > &wsp) override final
Inner Product operator using sum-factorisation (Prism)
void operator()(const Array< OneD, const NekDouble > &input, Array< OneD, NekDouble > &output, Array< OneD, NekDouble > &output1, Array< OneD, NekDouble > &output2, Array< OneD, NekDouble > &wsp) override final
Perform operation.
Array< OneD, const NekDouble > m_jacWStdW
virtual void CheckFactors(StdRegions::FactorMap factors, int coll_phys_offset) override
Check the validity of the supplied factor map.
Array< OneD, const NekDouble > m_base1
void operator()(int dir, const Array< OneD, const NekDouble > &input, Array< OneD, NekDouble > &output, Array< OneD, NekDouble > &wsp) override final
Array< OneD, const NekDouble > m_base0
Array< OneD, const NekDouble > m_base2
IProductWRTBase_SumFac_Prism(vector< StdRegions::StdExpansionSharedPtr > pCollExp, CoalescedGeomDataSharedPtr pGeomData, StdRegions::FactorMap factors)
~IProductWRTBase_SumFac_Prism() final
Inner Product operator using sum-factorisation (Pyr)
void operator()(const Array< OneD, const NekDouble > &input, Array< OneD, NekDouble > &output, Array< OneD, NekDouble > &output1, Array< OneD, NekDouble > &output2, Array< OneD, NekDouble > &wsp) override final
Perform operation.
Array< OneD, const NekDouble > m_jacWStdW
Array< OneD, const NekDouble > m_base2
Array< OneD, const NekDouble > m_base0
virtual void CheckFactors(StdRegions::FactorMap factors, int coll_phys_offset) override
Check the validity of the supplied factor map.
void operator()(int dir, const Array< OneD, const NekDouble > &input, Array< OneD, NekDouble > &output, Array< OneD, NekDouble > &wsp) override final
Array< OneD, const NekDouble > m_base1
~IProductWRTBase_SumFac_Pyr() final
IProductWRTBase_SumFac_Pyr(vector< StdRegions::StdExpansionSharedPtr > pCollExp, CoalescedGeomDataSharedPtr pGeomData, StdRegions::FactorMap factors)
Inner product operator using sum-factorisation (Quad)
Array< OneD, const NekDouble > m_jacWStdW
Array< OneD, const NekDouble > m_base1
Array< OneD, const NekDouble > m_base0
IProductWRTBase_SumFac_Quad(vector< StdRegions::StdExpansionSharedPtr > pCollExp, CoalescedGeomDataSharedPtr pGeomData, StdRegions::FactorMap factors)
~IProductWRTBase_SumFac_Quad() final
virtual void CheckFactors(StdRegions::FactorMap factors, int coll_phys_offset) override
Check the validity of the supplied factor map.
void operator()(int dir, const Array< OneD, const NekDouble > &input, Array< OneD, NekDouble > &output, Array< OneD, NekDouble > &wsp) override final
void operator()(const Array< OneD, const NekDouble > &input, Array< OneD, NekDouble > &output, Array< OneD, NekDouble > &output1, Array< OneD, NekDouble > &output2, Array< OneD, NekDouble > &wsp) override final
Perform operation.
Inner product operator using sum-factorisation (Segment)
void operator()(int dir, const Array< OneD, const NekDouble > &input, Array< OneD, NekDouble > &output, Array< OneD, NekDouble > &wsp) override final
Array< OneD, const NekDouble > m_jacWStdW
IProductWRTBase_SumFac_Seg(vector< StdRegions::StdExpansionSharedPtr > pCollExp, CoalescedGeomDataSharedPtr pGeomData, StdRegions::FactorMap factors)
void operator()(const Array< OneD, const NekDouble > &input, Array< OneD, NekDouble > &output, Array< OneD, NekDouble > &output1, Array< OneD, NekDouble > &output2, Array< OneD, NekDouble > &wsp) override final
Perform operation.
~IProductWRTBase_SumFac_Seg() final
Array< OneD, const NekDouble > m_base0
virtual void CheckFactors(StdRegions::FactorMap factors, int coll_phys_offset) override
Check the validity of the supplied factor map.
Inner product operator using sum-factorisation (Tet)
void operator()(const Array< OneD, const NekDouble > &input, Array< OneD, NekDouble > &output, Array< OneD, NekDouble > &output1, Array< OneD, NekDouble > &output2, Array< OneD, NekDouble > &wsp) override final
Perform operation.
Array< OneD, const NekDouble > m_jacWStdW
virtual void CheckFactors(StdRegions::FactorMap factors, int coll_phys_offset) override
Check the validity of the supplied factor map.
Array< OneD, const NekDouble > m_base1
IProductWRTBase_SumFac_Tet(vector< StdRegions::StdExpansionSharedPtr > pCollExp, CoalescedGeomDataSharedPtr pGeomData, StdRegions::FactorMap factors)
~IProductWRTBase_SumFac_Tet() final
Array< OneD, const NekDouble > m_base0
void operator()(int dir, const Array< OneD, const NekDouble > &input, Array< OneD, NekDouble > &output, Array< OneD, NekDouble > &wsp) override final
Array< OneD, const NekDouble > m_base2
Inner product operator using sum-factorisation (Tri)
Array< OneD, const NekDouble > m_base0
IProductWRTBase_SumFac_Tri(vector< StdRegions::StdExpansionSharedPtr > pCollExp, CoalescedGeomDataSharedPtr pGeomData, StdRegions::FactorMap factors)
void operator()(int dir, const Array< OneD, const NekDouble > &input, Array< OneD, NekDouble > &output, Array< OneD, NekDouble > &wsp) override final
virtual void CheckFactors(StdRegions::FactorMap factors, int coll_phys_offset) override
Check the validity of the supplied factor map.
void operator()(const Array< OneD, const NekDouble > &input, Array< OneD, NekDouble > &output, Array< OneD, NekDouble > &output1, Array< OneD, NekDouble > &output2, Array< OneD, NekDouble > &wsp) override final
Perform operation.
Array< OneD, const NekDouble > m_jacWStdW
Array< OneD, const NekDouble > m_base1
~IProductWRTBase_SumFac_Tri() final
bool m_isPadded
flag for padding
unsigned int m_nElmtPad
size after padding
Array< OneD, NekDouble > m_output
Array< OneD, NekDouble > m_input
padded input/output vectors
Base class for operators on a collection of elements.
StdRegions::StdExpansionSharedPtr m_stdExp
tKey RegisterCreatorFunction(tKey idKey, CreatorFunction classCreator, std::string pDesc="")
Register a class with the factory.
tBaseSharedPtr CreateInstance(tKey idKey, tParam... args)
Create an instance of the class referred to by idKey.
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 op(A)[m x k], op(B)[k x n], C[m x n] DGEMM perfo...
void TetIProduct(bool sortTopEdge, int numElmt, int nquad0, int nquad1, int nquad2, int nmodes0, int nmodes1, int nmodes2, const Array< OneD, const NekDouble > &base0, const Array< OneD, const NekDouble > &base1, const Array< OneD, const NekDouble > &base2, const Array< OneD, const NekDouble > &jac, const Array< OneD, const NekDouble > &input, Array< OneD, NekDouble > &output, Array< OneD, NekDouble > &wsp)
void PyrIProduct(bool sortTopVert, int numElmt, int nquad0, int nquad1, int nquad2, int nmodes0, int nmodes1, int nmodes2, const Array< OneD, const NekDouble > &base0, const Array< OneD, const NekDouble > &base1, const Array< OneD, const NekDouble > &base2, const Array< OneD, const NekDouble > &jac, const Array< OneD, const NekDouble > &input, Array< OneD, NekDouble > &output, Array< OneD, NekDouble > &wsp)
void TriIProduct(bool sortTopVertex, int numElmt, int nquad0, int nquad1, int nmodes0, int nmodes1, const Array< OneD, const NekDouble > &base0, const Array< OneD, const NekDouble > &base1, const Array< OneD, const NekDouble > &jac, const Array< OneD, const NekDouble > &input, Array< OneD, NekDouble > &output, Array< OneD, NekDouble > &wsp)
std::tuple< LibUtilities::ShapeType, OperatorType, ImplementationType, ExpansionIsNodal > OperatorKey
Key for describing an Operator.
void QuadIProduct(bool colldir0, bool colldir1, int numElmt, int nquad0, int nquad1, int nmodes0, int nmodes1, const Array< OneD, const NekDouble > &base0, const Array< OneD, const NekDouble > &base1, const Array< OneD, const NekDouble > &jac, const Array< OneD, const NekDouble > &input, Array< OneD, NekDouble > &output, Array< OneD, NekDouble > &wsp)
std::shared_ptr< CoalescedGeomData > CoalescedGeomDataSharedPtr
OperatorFactory & GetOperatorFactory()
Returns the singleton Operator factory object.
void PrismIProduct(bool sortTopVert, int numElmt, int nquad0, int nquad1, int nquad2, int nmodes0, int nmodes1, int nmodes2, const Array< OneD, const NekDouble > &base0, const Array< OneD, const NekDouble > &base1, const Array< OneD, const NekDouble > &base2, const Array< OneD, const NekDouble > &jac, const Array< OneD, const NekDouble > &input, Array< OneD, NekDouble > &output, Array< OneD, NekDouble > &wsp)
void HexIProduct(bool colldir0, bool colldir1, bool colldir2, int numElmt, int nquad0, int nquad1, int nquad2, int nmodes0, int nmodes1, int nmodes2, const Array< OneD, const NekDouble > &base0, const Array< OneD, const NekDouble > &base1, const Array< OneD, const NekDouble > &base2, const Array< OneD, const NekDouble > &jac, const Array< OneD, const NekDouble > &input, Array< OneD, NekDouble > &output, Array< OneD, NekDouble > &wsp)
std::vector< PointsKey > PointsKeyVector
@ eModified_A
Principle Modified Functions .
StdRegions::ConstFactorMap factors
The above copyright notice and this permission notice shall be included.
std::shared_ptr< DNekMat > DNekMatSharedPtr
void Vmul(int n, const T *x, const int incx, const T *y, const int incy, T *z, const int incz)
Multiply vector z = x*y.
void Smul(int n, const T alpha, const T *x, const int incx, T *y, const int incy)
Scalar multiply y = alpha*x.
void Vcopy(int n, const T *x, const int incx, T *y, const int incy)