|
Nektar++
|
Helmholtz operator using LocalRegions implementation. More...
Public Member Functions | |
| ~Helmholtz_IterPerExp () final=default | |
| void | operator() (const Array< OneD, const NekDouble > &input, Array< OneD, NekDouble > &output, 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 |
| void | CheckFactors (StdRegions::FactorMap factors, int coll_phys_offset) override |
| Check the validity of supplied constant factors. More... | |
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 | 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 number of elements. More... | |
| StdRegions::StdExpansionSharedPtr | GetExpSharedPtr () |
| Get expansion pointer. More... | |
| unsigned int | GetInputSize () |
| unsigned int | GetOutputSize () |
Protected Attributes | |
| Array< TwoD, const NekDouble > | m_derivFac |
| Array< OneD, const NekDouble > | m_jac |
| int | m_dim |
| int | m_coordim |
| StdRegions::FactorMap | m_factors |
| NekDouble | m_lambda |
| bool | m_HasVarCoeffDiff |
| Array< OneD, Array< OneD, NekDouble > > | m_diff |
| const StdRegions::ConstFactorType | m_factorCoeffDef [3][3] |
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... | |
Private Member Functions | |
| Helmholtz_IterPerExp (vector< StdRegions::StdExpansionSharedPtr > pCollExp, CoalescedGeomDataSharedPtr pGeomData, StdRegions::FactorMap factors) | |
Private Member Functions inherited from Nektar::Collections::Helmholtz_Helper | |
| Helmholtz_Helper () | |
Additional Inherited Members | |
Protected Member Functions inherited from Nektar::Collections::Operator | |
| virtual int | v_GetInputSize () |
| This purely virtual function needs to be set-up for every operator inside Collections. It is responsible for returning the size of input collection, that the operator is applied on either in physical or coefficient space. More... | |
| virtual int | v_GetOutputSize () |
| This purely virtual function needs to be set-up for every operator inside Collections. It is responsible for returning the output size either in physical or coefficient space of an operator inside Collections. More... | |
Helmholtz operator using LocalRegions implementation.
Definition at line 173 of file library/Collections/Helmholtz.cpp.
|
finaldefault |
|
inlineprivate |
Definition at line 497 of file library/Collections/Helmholtz.cpp.
References CheckFactors(), m_coordim, m_derivFac, m_dim, m_factors, m_HasVarCoeffDiff, m_jac, m_lambda, Nektar::Collections::Operator::m_stdExp, Nektar::Collections::Operator::m_wspSize, and Nektar::StdRegions::NullFactorMap.
|
inlineoverridevirtual |
Check the validity of supplied constant factors.
| factors | Map of factors |
| coll_phys_offset | Unused |
Implements Nektar::Collections::Operator.
Definition at line 421 of file library/Collections/Helmholtz.cpp.
References ASSERTL1, Nektar::StdRegions::ConstFactorTypeMap, Nektar::UnitTests::d(), Nektar::StdRegions::eFactorCoeffD00, Nektar::StdRegions::eFactorLambda, Nektar::VarcoeffHashingTest::factors, m_coordim, m_diff, m_factorCoeffDef, m_factors, m_HasVarCoeffDiff, and m_lambda.
Referenced by Helmholtz_IterPerExp().
|
inlinefinalvirtual |
Perform operation.
Implements Nektar::Collections::Operator.
Definition at line 180 of file library/Collections/Helmholtz.cpp.
References ASSERTL1, m_coordim, m_derivFac, m_diff, m_dim, m_HasVarCoeffDiff, Nektar::Collections::Operator::m_isDeformed, m_jac, m_lambda, Nektar::Collections::Operator::m_numElmt, Nektar::Collections::Operator::m_stdExp, Nektar::MovementTests::origin, Vmath::Smul(), Vmath::Svtvp(), Vmath::Vadd(), Vmath::Vmul(), and Vmath::Vvtvp().
|
inlinefinalvirtual |
Implements Nektar::Collections::Operator.
Definition at line 407 of file library/Collections/Helmholtz.cpp.
References Nektar::ErrorUtil::efatal, and NEKERROR.
|
protected |
Definition at line 483 of file library/Collections/Helmholtz.cpp.
Referenced by CheckFactors(), Helmholtz_IterPerExp(), and operator()().
Definition at line 480 of file library/Collections/Helmholtz.cpp.
Referenced by Helmholtz_IterPerExp(), and operator()().
Definition at line 487 of file library/Collections/Helmholtz.cpp.
Referenced by CheckFactors(), and operator()().
|
protected |
Definition at line 482 of file library/Collections/Helmholtz.cpp.
Referenced by Helmholtz_IterPerExp(), and operator()().
|
protected |
Definition at line 488 of file library/Collections/Helmholtz.cpp.
Referenced by CheckFactors().
|
protected |
Definition at line 484 of file library/Collections/Helmholtz.cpp.
Referenced by CheckFactors(), and Helmholtz_IterPerExp().
|
protected |
Definition at line 486 of file library/Collections/Helmholtz.cpp.
Referenced by CheckFactors(), Helmholtz_IterPerExp(), and operator()().
Definition at line 481 of file library/Collections/Helmholtz.cpp.
Referenced by Helmholtz_IterPerExp(), and operator()().
|
protected |
Definition at line 485 of file library/Collections/Helmholtz.cpp.
Referenced by CheckFactors(), Helmholtz_IterPerExp(), and operator()().