36#ifndef NEKTAR_LIB_UTILITIES_LINEAR_ALGEBRA_NEK_NONLINSYS_H
37#define NEKTAR_LIB_UTILITIES_LINEAR_ALGEBRA_NEK_NONLINSYS_H
89 const unsigned int in)
#define LIB_UTILITIES_EXPORT
Provides a generic Factory class.
void SetupNekNonlinSystem(const int nGlobal, const Array< OneD, const NekDouble > &pInput, const Array< OneD, const NekDouble > &pSource, const int nDir)
void SetLinSysRelativeTolInNonlin(const NekDouble in)
NekDouble m_NonlinIterTolRelativeL2
std::string m_LinSysIterSolverType
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
Array< OneD, NekDouble > m_DeltSltn
const Array< OneD, const NekDouble > & GetRefSolution() const
void SetNonlinIterTolRelativeL2(const NekDouble in)
virtual void v_InitObject()
Array< OneD, NekDouble > m_SourceVec
const NekLinSysIterSharedPtr & GetLinSys()
NekLinSysIterSharedPtr m_linsol
virtual void v_SetupNekNonlinSystem(const int nGlobal, const Array< OneD, const NekDouble > &pInput, const Array< OneD, const NekDouble > &pSource, const int nDir)=0
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.
The above copyright notice and this permission notice shall be included.