Public Member Functions | Public Attributes | List of all members
oomph::NewtonSolverError Class Reference

A class to handle errors in the Newton solver. More...

#include <problem.h>

Public Member Functions

 NewtonSolverError ()
 Default constructor, does nothing. More...
 
 NewtonSolverError (const bool &Passed_linear_failure)
 Constructor that passes a failure of the linear solver. More...
 
 NewtonSolverError (unsigned Passed_iterations, double Passed_maxres)
 Constructor that passes number of iterations and residuals. More...
 

Public Attributes

bool linear_solver_error
 Error in the linear solver. More...
 
unsigned iterations
 Max. # of iterations performed when the Newton solver died. More...
 
double maxres
 Max. residual when Newton solver died. More...
 

Detailed Description

A class to handle errors in the Newton solver.

Definition at line 2820 of file problem.h.

Constructor & Destructor Documentation

oomph::NewtonSolverError::NewtonSolverError ( )
inline

Default constructor, does nothing.

Definition at line 2834 of file problem.h.

oomph::NewtonSolverError::NewtonSolverError ( const bool &  Passed_linear_failure)
inline

Constructor that passes a failure of the linear solver.

Definition at line 2838 of file problem.h.

oomph::NewtonSolverError::NewtonSolverError ( unsigned  Passed_iterations,
double  Passed_maxres 
)
inline

Constructor that passes number of iterations and residuals.

Definition at line 2842 of file problem.h.

Member Data Documentation

unsigned oomph::NewtonSolverError::iterations

Max. # of iterations performed when the Newton solver died.

Definition at line 2828 of file problem.h.

Referenced by oomph::Problem::newton_solve(), oomph::Problem::steady_newton_solve(), and oomph::Problem::unsteady_newton_solve().

bool oomph::NewtonSolverError::linear_solver_error
double oomph::NewtonSolverError::maxres

Max. residual when Newton solver died.

Definition at line 2831 of file problem.h.

Referenced by oomph::Problem::newton_solve(), oomph::Problem::steady_newton_solve(), and oomph::Problem::unsteady_newton_solve().


The documentation for this class was generated from the following file: