36#ifndef NEKTAR_LIB_UTILITIES_LINEAR_ALGEBRA_NEK_NONLINSYS_H
37#define NEKTAR_LIB_UTILITIES_LINEAR_ALGEBRA_NEK_NONLINSYS_H
97 const unsigned int in)
#define LIB_UTILITIES_EXPORT
Provides a generic Factory class.
void SetLinSysRelativeTolInNonlin(const NekDouble in)
NekDouble m_NonlinIterTolRelativeL2
std::string m_LinSysIterSolverType
~NekNonlinSys() override=default
void SetNekNonlinSysTolerance(const NekDouble in)
const Array< OneD, const NekDouble > & GetRefResidual() const
Array< OneD, NekDouble > m_Residual
NekNonlinSys(const LibUtilities::SessionReaderSharedPtr &pSession, const LibUtilities::CommSharedPtr &vRowComm, const int nDimen, const NekSysKey &pKey)
const Array< OneD, const NekDouble > & GetRefSourceVec() const
NekDouble m_LinSysRelativeTolInNonlin
void v_InitObject() override
Array< OneD, NekDouble > m_DeltSltn
const Array< OneD, const NekDouble > & GetRefSolution() const
void SetNonlinIterTolRelativeL2(const NekDouble in)
Array< OneD, NekDouble > m_SourceVec
const NekLinSysIterSharedPtr & GetLinSys()
NekLinSysIterSharedPtr m_linsol
void SetNekNonlinSysMaxIterations(const unsigned int in)
Array< OneD, NekDouble > m_Solution
NekDouble m_tolerance
Tolerance of iterative solver.
int m_maxiter
Maximum iterations.
std::shared_ptr< NekLinSysIter > NekLinSysIterSharedPtr
NekNonlinSysFactory & GetNekNonlinSysFactory()
std::shared_ptr< SessionReader > SessionReaderSharedPtr
std::shared_ptr< NekNonlinSys > NekNonlinSysSharedPtr
LibUtilities::NekFactory< std::string, NekNonlinSys, const LibUtilities::SessionReaderSharedPtr &, const LibUtilities::CommSharedPtr &, const int, const NekSysKey & > NekNonlinSysFactory
std::shared_ptr< Comm > CommSharedPtr
Pointer to a Communicator object.