Nektar++
|
Phys deriv operator using matrix free operators. More...
Public Member Functions | |
~PhysDeriv_MatrixFree () final=default | |
void | operator() (const Array< OneD, const NekDouble > &input, Array< OneD, NekDouble > &output0, Array< OneD, NekDouble > &output1, Array< OneD, NekDouble > &output2, Array< OneD, NekDouble > &wsp) final |
Perform operation. More... | |
void | operator() (int dir, const Array< OneD, const NekDouble > &input, Array< OneD, NekDouble > &output, Array< OneD, NekDouble > &wsp) final |
Public Member Functions inherited from Nektar::Collections::Operator | |
Operator (std::vector< StdRegions::StdExpansionSharedPtr > pCollExp, std::shared_ptr< CoalescedGeomData > GeomData, StdRegions::FactorMap factors) | |
Constructor. More... | |
virtual | ~Operator ()=default |
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 void | UpdateFactors (StdRegions::FactorMap factors) |
Update the supplied factor map. More... | |
virtual COLLECTIONS_EXPORT void | UpdateVarcoeffs (StdRegions::VarCoeffMap &varcoeffs) |
Update the supplied variable coefficients. More... | |
unsigned int | GetWspSize () |
Get the size of the required workspace. More... | |
unsigned int | GetNumElmt () |
Get number of elements. More... | |
StdRegions::StdExpansionSharedPtr | GetExpSharedPtr () |
Get expansion pointer. More... | |
unsigned int | GetInputSize (bool defaultIn=true) |
unsigned int | GetOutputSize (bool defaultOut=true) |
Private Member Functions | |
PhysDeriv_MatrixFree (vector< StdRegions::StdExpansionSharedPtr > pCollExp, CoalescedGeomDataSharedPtr pGeomData, StdRegions::FactorMap factors) | |
Private Member Functions inherited from Nektar::Collections::MatrixFreeBase | |
MatrixFreeBase ()=default | |
MatrixFreeBase (const unsigned int nIn, const unsigned int nOut, const unsigned int nCollSize) | |
Private Attributes | |
std::shared_ptr< MatrixFree::PhysDeriv > | m_oper |
int | m_coordim |
Array< OneD, Array< OneD, NekDouble > > | m_output |
Private Attributes inherited from Nektar::Collections::MatrixFreeBase | |
bool | m_isPadded {false} |
flag for padding More... | |
unsigned int | m_nElmtPad |
size after padding More... | |
unsigned int | m_nIn |
actural size of input array More... | |
unsigned int | m_nOut |
actural size of output array More... | |
Additional Inherited Members | |
Protected Member Functions inherited from Nektar::Collections::PhysDeriv_Helper | |
PhysDeriv_Helper () | |
Protected Attributes inherited from Nektar::Collections::Operator | |
bool | m_isDeformed |
StdRegions::StdExpansionSharedPtr | m_stdExp |
unsigned int | m_numElmt |
number of elements that the operator is applied on More... | |
unsigned int | m_nqe |
unsigned int | m_wspSize |
unsigned int | m_inputSize |
number of modes or quadrature points that are passed as input to an operator More... | |
unsigned int | m_outputSize |
number of modes or quadrature points that are taken as output from an operator More... | |
unsigned int | m_inputSizeOther |
Number of modes or quadrature points, opposite to m_inputSize. More... | |
unsigned int | m_outputSizeOther |
Number of modes or quadrature points, opposite to m_outputSize. More... | |
Phys deriv operator using matrix free operators.
Definition at line 269 of file PhysDeriv.cpp.
|
finaldefault |
|
inlineprivate |
Definition at line 322 of file PhysDeriv.cpp.
References ASSERTL0, Nektar::LibUtilities::NekFactory< tKey, tBase, tParam >::CreateInstance(), Nektar::Collections::GetOperatorFactory(), m_coordim, Nektar::Collections::MatrixFreeBase::m_nElmtPad, m_oper, and m_output.
|
inlinefinalvirtual |
Perform operation.
Implements Nektar::Collections::Operator.
Definition at line 278 of file PhysDeriv.cpp.
References Nektar::ErrorUtil::efatal, m_coordim, and NEKERROR.
|
inlinefinalvirtual |
Implements Nektar::Collections::Operator.
Definition at line 309 of file PhysDeriv.cpp.
References Nektar::Collections::MatrixFreeBase::m_nOut, m_output, and Vmath::Vcopy().
|
private |
Definition at line 319 of file PhysDeriv.cpp.
Referenced by operator()(), and PhysDeriv_MatrixFree().
|
private |
Definition at line 318 of file PhysDeriv.cpp.
Referenced by PhysDeriv_MatrixFree().
Definition at line 320 of file PhysDeriv.cpp.
Referenced by operator()(), and PhysDeriv_MatrixFree().