Nektar++
|
#include <NekSys.h>
Public Types | |
typedef const Array< OneD, const NekDouble > | InArrayType |
typedef Array< OneD, NekDouble > | OutArrayType |
typedef std::function< void(InArrayType &, OutArrayType &, const bool &)> | FunctorType1 |
typedef std::function< void(InArrayType &, InArrayType &, OutArrayType &, const bool &)> | FunctorType2 |
typedef Array< OneD, FunctorType1 > | FunctorType1Array |
typedef Array< OneD, FunctorType2 > | FunctorType2Array |
Public Member Functions | |
NekSysOperators (void) | |
NekSysOperators (const NekSysOperators &in) | |
NekSysOperators & | operator= (const NekSysOperators &in) |
template<typename FuncPointerT , typename ObjectPointerT > | |
void | DefineNekSysResEval (FuncPointerT func, ObjectPointerT obj) |
template<typename FuncPointerT , typename ObjectPointerT > | |
void | DefineNekSysLhsEval (FuncPointerT func, ObjectPointerT obj) |
template<typename FuncPointerT , typename ObjectPointerT > | |
void | DefineNekSysPrecon (FuncPointerT func, ObjectPointerT obj) |
template<typename FuncPointerT , typename ObjectPointerT > | |
void | DefineAssembleLoc (FuncPointerT func, ObjectPointerT obj) |
template<typename FuncPointerT , typename ObjectPointerT > | |
void | DefineNekSysFixPointIte (FuncPointerT func, ObjectPointerT obj) |
void | DoNekSysResEval (InArrayType &inarray, OutArrayType &outarray, const bool &flag=false) const |
void | DoNekSysLhsEval (InArrayType &inarray, OutArrayType &outarray, const bool &flag=false) const |
void | DoNekSysPrecon (InArrayType &inarray, OutArrayType &outarray, const bool &flag=false) const |
void | DoAssembleLoc (InArrayType &xn, OutArrayType &xn1, const bool &flag=false) const |
void | DoNekSysFixPointIte (InArrayType &rhs, InArrayType &xn, OutArrayType &xn1, const bool &flag=false) const |
Static Public Attributes | |
static const int | nfunctor1 = 4 |
static const int | nfunctor2 = 1 |
Protected Attributes | |
FunctorType1Array | m_functors1 |
FunctorType2Array | m_functors2 |
typedef std::function<void(InArrayType &, OutArrayType &, const bool &)> Nektar::LibUtilities::NekSysOperators::FunctorType1 |
typedef std::function<void(InArrayType &, InArrayType &, OutArrayType &, const bool &)> Nektar::LibUtilities::NekSysOperators::FunctorType2 |
typedef const Array<OneD, const NekDouble> Nektar::LibUtilities::NekSysOperators::InArrayType |
|
inline |
Definition at line 68 of file NekSys.h.
|
inline |
Definition at line 72 of file NekSys.h.
References m_functors1, m_functors2, nfunctor1, and nfunctor2.
|
inline |
Definition at line 121 of file NekSys.h.
References m_functors1.
Referenced by Nektar::MultiRegions::GlobalLinSysIterative::GlobalLinSysIterative().
|
inline |
Definition at line 128 of file NekSys.h.
References m_functors2.
|
inline |
Definition at line 107 of file NekSys.h.
References m_functors1.
Referenced by Nektar::MultiRegions::GlobalLinSysIterative::GlobalLinSysIterative(), Nektar::CFSImplicit::InitialiseNonlinSysSolver(), and Nektar::ShallowWaterSystem::InitialiseNonlinSysSolver().
|
inline |
Definition at line 114 of file NekSys.h.
References m_functors1.
Referenced by Nektar::MultiRegions::GlobalLinSysIterative::GlobalLinSysIterative(), Nektar::CFSImplicit::InitialiseNonlinSysSolver(), and Nektar::ShallowWaterSystem::InitialiseNonlinSysSolver().
|
inline |
Definition at line 100 of file NekSys.h.
References m_functors1.
Referenced by Nektar::CFSImplicit::InitialiseNonlinSysSolver(), and Nektar::ShallowWaterSystem::InitialiseNonlinSysSolver().
|
inline |
Definition at line 162 of file NekSys.h.
References ASSERTL1, and m_functors1.
Referenced by Nektar::LibUtilities::NekLinSysIterGMRESLoc::DoArnoldi(), Nektar::LibUtilities::NekLinSysIterCGLoc::DoConjugateGradient(), Nektar::LibUtilities::NekLinSysIterGMRESLoc::DoGMRES(), Nektar::LibUtilities::NekLinSysIterGMRESLoc::DoGmresRestart(), and Nektar::LibUtilities::NekLinSysIter::Set_Rhs_Magnitude().
|
inline |
Definition at line 169 of file NekSys.h.
References ASSERTL1, and m_functors2.
Referenced by Nektar::LibUtilities::NekLinSysIterFixedpointJacobi::v_SolveSystem().
|
inline |
Definition at line 142 of file NekSys.h.
References ASSERTL1, and m_functors1.
Referenced by Nektar::LibUtilities::NekLinSysIterGMRES::DoArnoldi(), Nektar::LibUtilities::NekLinSysIterGMRESLoc::DoArnoldi(), Nektar::LibUtilities::NekLinSysIterCGLoc::DoConjugateGradient(), Nektar::LibUtilities::NekLinSysIterCG::DoConjugateGradient(), Nektar::LibUtilities::NekLinSysIterGMRESLoc::DoGMRES(), Nektar::LibUtilities::NekLinSysIterGMRES::DoGMRES(), Nektar::LibUtilities::NekLinSysIterGMRES::DoGmresRestart(), and Nektar::LibUtilities::NekLinSysIterGMRESLoc::DoGmresRestart().
|
inline |
Definition at line 149 of file NekSys.h.
References m_functors1, and Vmath::Vcopy().
Referenced by Nektar::LibUtilities::NekLinSysIterGMRES::DoArnoldi(), Nektar::LibUtilities::NekLinSysIterGMRESLoc::DoArnoldi(), Nektar::LibUtilities::NekLinSysIterCGLoc::DoConjugateGradient(), Nektar::LibUtilities::NekLinSysIterCG::DoConjugateGradient(), Nektar::LibUtilities::NekLinSysIterGMRES::DoGmresRestart(), and Nektar::LibUtilities::NekLinSysIterGMRESLoc::DoGmresRestart().
|
inline |
Definition at line 135 of file NekSys.h.
References ASSERTL1, and m_functors1.
Referenced by Nektar::LibUtilities::NekNonlinSysIterNewton::v_SolveSystem().
|
inline |
Definition at line 85 of file NekSys.h.
References m_functors1, m_functors2, nfunctor1, and nfunctor2.
|
protected |
Definition at line 198 of file NekSys.h.
Referenced by DefineAssembleLoc(), DefineNekSysLhsEval(), DefineNekSysPrecon(), DefineNekSysResEval(), DoAssembleLoc(), DoNekSysLhsEval(), DoNekSysPrecon(), DoNekSysResEval(), NekSysOperators(), and operator=().
|
protected |
Definition at line 205 of file NekSys.h.
Referenced by DefineNekSysFixPointIte(), DoNekSysFixPointIte(), NekSysOperators(), and operator=().
|
static |
Definition at line 65 of file NekSys.h.
Referenced by NekSysOperators(), and operator=().
|
static |
Definition at line 66 of file NekSys.h.
Referenced by NekSysOperators(), and operator=().