Nektar++
|
#include <NekSys.h>
Public Member Functions | |
NekSys (const LibUtilities::SessionReaderSharedPtr &pSession, const LibUtilities::CommSharedPtr &vRowComm, const int nDimen, const NekSysKey &pKey) | |
virtual | ~NekSys ()=default |
void | InitObject () |
int | SolveSystem (const int nGlobal, const Array< OneD, const NekDouble > &pInput, Array< OneD, NekDouble > &pOutput, const int nDir=0) |
const NekSysOperators & | GetSysOperators () |
void | SetSysOperators (const NekSysOperators &in) |
void | SetFlagWarnings (bool in) |
void | SetRhsMagnitude (const NekDouble mag) |
Static Public Member Functions | |
static NekSysSharedPtr | CreateInstance (const LibUtilities::SessionReaderSharedPtr &pSession, const LibUtilities::CommSharedPtr &vRowComm, const int nDimen, const NekSysKey &pKey) |
Protected Member Functions | |
virtual void | v_InitObject () |
virtual void | v_SetSysOperators (const NekSysOperators &in) |
virtual int | v_SolveSystem (const int nGlobal, const Array< OneD, const NekDouble > &pInput, Array< OneD, NekDouble > &pOutput, const int nDir) |
Protected Attributes | |
LibUtilities::CommSharedPtr | m_rowComm |
bool | m_converged |
bool | m_root |
bool | m_verbose |
bool | m_FlagWarnings |
int | m_SysDimen |
NekSysOperators | m_operator |
NekDouble | m_rhs_magnitude = NekConstants::kNekUnsetDouble |
Friends | |
class | MemoryManager< NekSys > |
Support creation through MemoryManager. More... | |
Nektar::LibUtilities::NekSys::NekSys | ( | const LibUtilities::SessionReaderSharedPtr & | pSession, |
const LibUtilities::CommSharedPtr & | vRowComm, | ||
const int | nDimen, | ||
const NekSysKey & | pKey | ||
) |
Definition at line 46 of file NekSys.cpp.
References m_converged, m_FlagWarnings, m_root, m_rowComm, m_SysDimen, and m_verbose.
|
virtualdefault |
|
inlinestatic |
Definition at line 242 of file NekSys.h.
References Nektar::MemoryManager< DataType >::AllocateSharedPtr(), and CellMLToNektar.cellml_metadata::p.
|
inline |
|
inline |
|
inline |
Definition at line 280 of file NekSys.h.
References m_FlagWarnings.
Definition at line 285 of file NekSys.h.
References m_rhs_magnitude.
|
inline |
Definition at line 275 of file NekSys.h.
References v_SetSysOperators().
|
inline |
Definition at line 263 of file NekSys.h.
References v_SolveSystem().
|
inlineprotectedvirtual |
Reimplemented in Nektar::LibUtilities::NekLinSysIter, Nektar::LibUtilities::NekLinSysIterCG, Nektar::LibUtilities::NekLinSysIterCGLoc, Nektar::LibUtilities::NekLinSysIterFixedpointJacobi, Nektar::LibUtilities::NekLinSysIterGMRES, Nektar::LibUtilities::NekLinSysIterGMRESLoc, Nektar::LibUtilities::NekNonlinSysIter, and Nektar::LibUtilities::NekNonlinSysIterNewton.
Definition at line 302 of file NekSys.h.
Referenced by InitObject(), Nektar::LibUtilities::NekLinSysIter::v_InitObject(), and Nektar::LibUtilities::NekNonlinSysIter::v_InitObject().
|
inlineprotectedvirtual |
Reimplemented in Nektar::LibUtilities::NekNonlinSysIter.
Definition at line 306 of file NekSys.h.
References m_operator.
Referenced by SetSysOperators(), and Nektar::LibUtilities::NekNonlinSysIter::v_SetSysOperators().
|
inlineprotectedvirtual |
Reimplemented in Nektar::LibUtilities::NekLinSysIterCG, Nektar::LibUtilities::NekLinSysIterCGLoc, Nektar::LibUtilities::NekLinSysIterFixedpointJacobi, Nektar::LibUtilities::NekLinSysIterGMRES, Nektar::LibUtilities::NekNonlinSysIterNewton, and Nektar::LibUtilities::NekLinSysIterGMRESLoc.
Definition at line 311 of file NekSys.h.
References ASSERTL0.
Referenced by SolveSystem().
|
friend |
Support creation through MemoryManager.
|
protected |
Definition at line 292 of file NekSys.h.
Referenced by Nektar::LibUtilities::NekLinSysIter::ConvergenceCheck(), Nektar::LibUtilities::NekNonlinSysIter::ConvergenceCheck(), Nektar::LibUtilities::NekLinSysIterGMRESLoc::DoGMRES(), Nektar::LibUtilities::NekLinSysIterGMRES::DoGMRES(), Nektar::LibUtilities::NekLinSysIterGMRES::DoGmresRestart(), Nektar::LibUtilities::NekLinSysIterGMRESLoc::DoGmresRestart(), NekSys(), Nektar::LibUtilities::NekLinSysIterFixedpointJacobi::v_SolveSystem(), and Nektar::LibUtilities::NekNonlinSysIterNewton::v_SolveSystem().
|
protected |
Definition at line 295 of file NekSys.h.
Referenced by Nektar::LibUtilities::NekLinSysIterGMRESLoc::DoGMRES(), Nektar::LibUtilities::NekLinSysIterGMRES::DoGMRES(), NekSys(), SetFlagWarnings(), and Nektar::LibUtilities::NekNonlinSysIterNewton::v_SolveSystem().
|
protected |
Definition at line 298 of file NekSys.h.
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(), Nektar::LibUtilities::NekLinSysIterGMRESLoc::DoGmresRestart(), GetSysOperators(), Nektar::LibUtilities::NekLinSysIter::Set_Rhs_Magnitude(), v_SetSysOperators(), Nektar::LibUtilities::NekLinSysIterFixedpointJacobi::v_SolveSystem(), and Nektar::LibUtilities::NekNonlinSysIterNewton::v_SolveSystem().
|
protected |
Definition at line 300 of file NekSys.h.
Referenced by Nektar::LibUtilities::NekLinSysIter::ConvergenceCheck(), Nektar::LibUtilities::NekNonlinSysIter::ConvergenceCheck(), Nektar::LibUtilities::NekLinSysIterCGLoc::DoConjugateGradient(), Nektar::LibUtilities::NekLinSysIterCG::DoConjugateGradient(), Nektar::LibUtilities::NekLinSysIterGMRESLoc::DoGMRES(), Nektar::LibUtilities::NekLinSysIterGMRES::DoGMRES(), Nektar::LibUtilities::NekLinSysIterGMRES::DoGmresRestart(), Nektar::LibUtilities::NekLinSysIterGMRESLoc::DoGmresRestart(), Nektar::LibUtilities::NekLinSysIter::Set_Rhs_Magnitude(), SetRhsMagnitude(), and Nektar::LibUtilities::NekNonlinSysIterNewton::v_SolveSystem().
|
protected |
Definition at line 293 of file NekSys.h.
Referenced by Nektar::LibUtilities::NekLinSysIterCGLoc::DoConjugateGradient(), Nektar::LibUtilities::NekLinSysIterCG::DoConjugateGradient(), Nektar::LibUtilities::NekLinSysIterGMRESLoc::DoGMRES(), Nektar::LibUtilities::NekLinSysIterGMRES::DoGMRES(), NekSys(), and Nektar::LibUtilities::NekNonlinSysIterNewton::v_SolveSystem().
|
protected |
Definition at line 291 of file NekSys.h.
Referenced by Nektar::LibUtilities::NekLinSysIter::ConvergenceCheck(), Nektar::LibUtilities::NekNonlinSysIter::ConvergenceCheck(), 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(), Nektar::LibUtilities::NekLinSysIterGMRESLoc::DoGmresRestart(), Nektar::LibUtilities::NekNonlinSysIter::NekNonlinSysIter(), NekSys(), and Nektar::LibUtilities::NekLinSysIter::Set_Rhs_Magnitude().
|
protected |
Definition at line 296 of file NekSys.h.
Referenced by Nektar::LibUtilities::NekNonlinSysIter::NekNonlinSysIter(), NekSys(), Nektar::LibUtilities::NekLinSysIter::SetUniversalUniqueMap(), Nektar::LibUtilities::NekNonlinSysIter::v_InitObject(), and Nektar::LibUtilities::NekNonlinSysIterNewton::v_SolveSystem().
|
protected |
Definition at line 294 of file NekSys.h.
Referenced by Nektar::LibUtilities::NekLinSysIterCGLoc::DoConjugateGradient(), Nektar::LibUtilities::NekLinSysIterCG::DoConjugateGradient(), Nektar::LibUtilities::NekLinSysIterGMRESLoc::DoGMRES(), Nektar::LibUtilities::NekLinSysIterGMRES::DoGMRES(), NekSys(), and Nektar::LibUtilities::NekNonlinSysIterNewton::v_SolveSystem().