|
Nektar++
|
Base class for operators on a collection of elements. More...
#include <Operator.h>
Public Member Functions | |
| Operator (std::vector< StdRegions::StdExpansionSharedPtr > pCollExp, std::shared_ptr< CoalescedGeomData > GeomData, StdRegions::FactorMap factors) | |
| Constructor. More... | |
| virtual COLLECTIONS_EXPORT void | operator() (const Array< OneD, const NekDouble > &input, Array< OneD, NekDouble > &output0, Array< OneD, NekDouble > &output1, Array< OneD, NekDouble > &output2, Array< OneD, NekDouble > &wsp=NullNekDouble1DArray)=0 |
| Perform operation. More... | |
| virtual COLLECTIONS_EXPORT void | operator() (int dir, const Array< OneD, const NekDouble > &input, Array< OneD, NekDouble > &output, Array< OneD, NekDouble > &wsp=NullNekDouble1DArray)=0 |
| virtual COLLECTIONS_EXPORT | ~Operator () |
| virtual COLLECTIONS_EXPORT void | CheckFactors (StdRegions::FactorMap factors, int coll_phys_offset)=0 |
| Check the validity of the supplied factor map. More... | |
| unsigned int | GetWspSize () |
| Get the size of the required workspace. More... | |
| unsigned int | GetNumElmt () |
| Get expansion pointer. More... | |
| StdRegions::StdExpansionSharedPtr | GetExpSharedPtr () |
| Get expansion pointer. More... | |
Protected Attributes | |
| bool | m_isDeformed |
| StdRegions::StdExpansionSharedPtr | m_stdExp |
| unsigned int | m_numElmt |
| unsigned int | m_nqe |
| unsigned int | m_wspSize |
Base class for operators on a collection of elements.
Definition at line 114 of file Operator.h.
| Nektar::Collections::Operator::Operator | ( | std::vector< StdRegions::StdExpansionSharedPtr > | pCollExp, |
| std::shared_ptr< CoalescedGeomData > | GeomData, | ||
| StdRegions::FactorMap | factors | ||
| ) |
Constructor.
Definition at line 41 of file Operator.cpp.
|
virtual |
Definition at line 113 of file Operator.cpp.
|
pure virtual |
Check the validity of the supplied factor map.
Implemented in Nektar::Collections::PhysDeriv_SumFac_Pyr, Nektar::Collections::PhysDeriv_SumFac_Prism, Nektar::Collections::PhysDeriv_SumFac_Tet, Nektar::Collections::PhysDeriv_SumFac_Hex, Nektar::Collections::PhysDeriv_SumFac_Tri, Nektar::Collections::PhysDeriv_SumFac_Quad, Nektar::Collections::PhysDeriv_SumFac_Seg, Nektar::Collections::PhysDeriv_NoCollection, Nektar::Collections::PhysDeriv_IterPerExp, Nektar::Collections::PhysDeriv_MatrixFree, Nektar::Collections::PhysDeriv_StdMat, Nektar::Collections::IProductWRTDerivBase_SumFac_Pyr, Nektar::Collections::IProductWRTDerivBase_SumFac_Prism, Nektar::Collections::IProductWRTDerivBase_SumFac_Tet, Nektar::Collections::IProductWRTDerivBase_SumFac_Hex, Nektar::Collections::IProductWRTDerivBase_SumFac_Tri, Nektar::Collections::IProductWRTDerivBase_SumFac_Quad, Nektar::Collections::IProductWRTDerivBase_SumFac_Seg, Nektar::Collections::IProductWRTDerivBase_NoCollection, Nektar::Collections::IProductWRTDerivBase_IterPerExp, Nektar::Collections::IProductWRTDerivBase_MatrixFree, Nektar::Collections::IProductWRTDerivBase_StdMat, Nektar::Collections::IProductWRTBase_SumFac_Pyr, Nektar::Collections::IProductWRTBase_SumFac_Prism, Nektar::Collections::IProductWRTBase_SumFac_Tet, Nektar::Collections::IProductWRTBase_SumFac_Hex, Nektar::Collections::IProductWRTBase_SumFac_Tri, Nektar::Collections::IProductWRTBase_SumFac_Quad, Nektar::Collections::IProductWRTBase_SumFac_Seg, Nektar::Collections::IProductWRTBase_NoCollection, Nektar::Collections::IProductWRTBase_IterPerExp, Nektar::Collections::IProductWRTBase_MatrixFree, Nektar::Collections::IProductWRTBase_StdMat, Nektar::Collections::Helmholtz_MatrixFree, Nektar::Collections::Helmholtz_IterPerExp, Nektar::Collections::Helmholtz_NoCollection, Nektar::Collections::BwdTrans_SumFac_Pyr, Nektar::Collections::BwdTrans_SumFac_Prism, Nektar::Collections::BwdTrans_SumFac_Tet, Nektar::Collections::BwdTrans_SumFac_Hex, Nektar::Collections::BwdTrans_SumFac_Tri, Nektar::Collections::BwdTrans_SumFac_Quad, Nektar::Collections::BwdTrans_SumFac_Seg, Nektar::Collections::BwdTrans_NoCollection, Nektar::Collections::BwdTrans_IterPerExp, Nektar::Collections::BwdTrans_MatrixFree, and Nektar::Collections::BwdTrans_StdMat.
|
inline |
|
inline |
|
inline |
Get the size of the required workspace.
Definition at line 148 of file Operator.h.
References m_wspSize.
|
pure virtual |
Perform operation.
Implemented in Nektar::Collections::PhysDeriv_SumFac_Pyr, Nektar::Collections::PhysDeriv_SumFac_Prism, Nektar::Collections::PhysDeriv_SumFac_Tet, Nektar::Collections::PhysDeriv_SumFac_Hex, Nektar::Collections::PhysDeriv_SumFac_Tri, Nektar::Collections::PhysDeriv_SumFac_Quad, Nektar::Collections::PhysDeriv_SumFac_Seg, Nektar::Collections::PhysDeriv_NoCollection, Nektar::Collections::PhysDeriv_IterPerExp, Nektar::Collections::PhysDeriv_MatrixFree, Nektar::Collections::PhysDeriv_StdMat, Nektar::Collections::Helmholtz_MatrixFree, Nektar::Collections::BwdTrans_MatrixFree, Nektar::Collections::IProductWRTBase_SumFac_Pyr, Nektar::Collections::IProductWRTBase_SumFac_Prism, Nektar::Collections::IProductWRTBase_SumFac_Tet, Nektar::Collections::IProductWRTBase_SumFac_Hex, Nektar::Collections::IProductWRTBase_SumFac_Tri, Nektar::Collections::IProductWRTBase_SumFac_Quad, Nektar::Collections::IProductWRTBase_SumFac_Seg, Nektar::Collections::IProductWRTBase_NoCollection, Nektar::Collections::IProductWRTBase_IterPerExp, Nektar::Collections::IProductWRTBase_MatrixFree, Nektar::Collections::IProductWRTBase_StdMat, Nektar::Collections::Helmholtz_IterPerExp, Nektar::Collections::BwdTrans_SumFac_Pyr, Nektar::Collections::BwdTrans_SumFac_Prism, Nektar::Collections::BwdTrans_SumFac_Tet, Nektar::Collections::BwdTrans_SumFac_Hex, Nektar::Collections::BwdTrans_SumFac_Tri, Nektar::Collections::BwdTrans_SumFac_Quad, Nektar::Collections::BwdTrans_SumFac_Seg, Nektar::Collections::BwdTrans_NoCollection, Nektar::Collections::BwdTrans_IterPerExp, Nektar::Collections::BwdTrans_StdMat, Nektar::Collections::IProductWRTDerivBase_SumFac_Pyr, Nektar::Collections::IProductWRTDerivBase_SumFac_Prism, Nektar::Collections::IProductWRTDerivBase_SumFac_Tet, Nektar::Collections::IProductWRTDerivBase_SumFac_Hex, Nektar::Collections::IProductWRTDerivBase_SumFac_Tri, Nektar::Collections::IProductWRTDerivBase_SumFac_Quad, Nektar::Collections::IProductWRTDerivBase_SumFac_Seg, Nektar::Collections::IProductWRTDerivBase_NoCollection, Nektar::Collections::IProductWRTDerivBase_IterPerExp, Nektar::Collections::IProductWRTDerivBase_MatrixFree, Nektar::Collections::IProductWRTDerivBase_StdMat, and Nektar::Collections::Helmholtz_NoCollection.
|
pure virtual |
Implemented in Nektar::Collections::PhysDeriv_SumFac_Pyr, Nektar::Collections::PhysDeriv_SumFac_Prism, Nektar::Collections::PhysDeriv_SumFac_Tet, Nektar::Collections::PhysDeriv_SumFac_Hex, Nektar::Collections::PhysDeriv_SumFac_Tri, Nektar::Collections::PhysDeriv_SumFac_Quad, Nektar::Collections::PhysDeriv_SumFac_Seg, Nektar::Collections::PhysDeriv_NoCollection, Nektar::Collections::PhysDeriv_IterPerExp, Nektar::Collections::PhysDeriv_MatrixFree, Nektar::Collections::PhysDeriv_StdMat, Nektar::Collections::IProductWRTDerivBase_SumFac_Pyr, Nektar::Collections::IProductWRTDerivBase_SumFac_Prism, Nektar::Collections::IProductWRTDerivBase_SumFac_Tet, Nektar::Collections::IProductWRTDerivBase_SumFac_Hex, Nektar::Collections::IProductWRTDerivBase_SumFac_Tri, Nektar::Collections::IProductWRTDerivBase_SumFac_Quad, Nektar::Collections::IProductWRTDerivBase_SumFac_Seg, Nektar::Collections::IProductWRTDerivBase_NoCollection, Nektar::Collections::IProductWRTDerivBase_IterPerExp, Nektar::Collections::IProductWRTDerivBase_MatrixFree, Nektar::Collections::IProductWRTDerivBase_StdMat, Nektar::Collections::IProductWRTBase_SumFac_Pyr, Nektar::Collections::IProductWRTBase_SumFac_Prism, Nektar::Collections::IProductWRTBase_SumFac_Tet, Nektar::Collections::IProductWRTBase_SumFac_Hex, Nektar::Collections::IProductWRTBase_SumFac_Tri, Nektar::Collections::IProductWRTBase_SumFac_Quad, Nektar::Collections::IProductWRTBase_SumFac_Seg, Nektar::Collections::IProductWRTBase_NoCollection, Nektar::Collections::IProductWRTBase_IterPerExp, Nektar::Collections::IProductWRTBase_MatrixFree, Nektar::Collections::IProductWRTBase_StdMat, Nektar::Collections::Helmholtz_MatrixFree, Nektar::Collections::Helmholtz_IterPerExp, Nektar::Collections::Helmholtz_NoCollection, Nektar::Collections::BwdTrans_SumFac_Pyr, Nektar::Collections::BwdTrans_SumFac_Prism, Nektar::Collections::BwdTrans_SumFac_Tet, Nektar::Collections::BwdTrans_SumFac_Hex, Nektar::Collections::BwdTrans_SumFac_Tri, Nektar::Collections::BwdTrans_SumFac_Quad, Nektar::Collections::BwdTrans_SumFac_Seg, Nektar::Collections::BwdTrans_NoCollection, Nektar::Collections::BwdTrans_IterPerExp, Nektar::Collections::BwdTrans_MatrixFree, and Nektar::Collections::BwdTrans_StdMat.
|
protected |
Definition at line 166 of file Operator.h.
|
protected |
Definition at line 169 of file Operator.h.
|
protected |
Definition at line 168 of file Operator.h.
Referenced by GetNumElmt().
|
protected |
Definition at line 167 of file Operator.h.
Referenced by GetExpSharedPtr().
|
protected |
Definition at line 170 of file Operator.h.
Referenced by GetWspSize().