55 m_verbose = pSession->DefinesCmdLineArgument(
"verbose");
67 return SysResNorm < tol * tol;
76 size_t ndim = pInput.size();
77 if (pguess.size() != ndim)
bool m_root
Root if parallel.
virtual void v_NekSysInitialGuess(const Array< OneD, const NekDouble > &pInput, Array< OneD, NekDouble > &pguess)
LibUtilities::CommSharedPtr m_rowComm
Communicate.
int m_SysDimen
The dimension of the system.
NekSys(const LibUtilities::SessionReaderSharedPtr &pSession, const LibUtilities::CommSharedPtr &vRowComm, const int nDimen, const NekSysKey &pKey)
virtual bool v_ConvergenceCheck(const int nIteration, const Array< OneD, const NekDouble > &Residual, const NekDouble tol)
bool m_converged
Whether the iteration has been converged.
std::shared_ptr< SessionReader > SessionReaderSharedPtr
std::shared_ptr< Comm > CommSharedPtr
Pointer to a Communicator object.
T Dot(int n, const T *w, const T *x)
dot product
void Vcopy(int n, const T *x, const int incx, T *y, const int incy)