diff --git a/MathLib/Nonlinear/Picard.h b/MathLib/Nonlinear/Picard.h index dbb2c13583da993d3b197a601a482a0e75d37021..02f20e4e913c863e1fa419fd89f4bb13efb8e6e5 100644 --- a/MathLib/Nonlinear/Picard.h +++ b/MathLib/Nonlinear/Picard.h @@ -73,14 +73,21 @@ private: inline void printout(std::ostream& os, std::size_t i, T_VALUE& x_new, T_VALUE& dx); #endif -private: + /// vector norm type used to evaluate errors VecNormType _normType; + /// absolute tolerance for dx double _abs_tol; + /// relative tolerance for dx double _rel_tol; + /// the maximum allowed iteration number std::size_t _max_itr; + /// print iteration errors or not bool _printErrors; + /// the number of iterations in the last calculation std::size_t _n_iterations; + /// absolute error in the last calculation double _abs_error; + /// relative error in the last calculation double _rel_error; };