CppNoddy  0.92
Loading...
Searching...
No Matches
Public Member Functions | List of all members
CppNoddy::ExceptionItn Class Reference

An exception class that is thrown if too many Newton steps are taken in either the scalar or vector Newton classes. More...

#include <Exceptions.h>

Inheritance diagram for CppNoddy::ExceptionItn:

Public Member Functions

 ExceptionItn (const std::string &problem, const unsigned &itns, const double &max_resid)
 

Detailed Description

An exception class that is thrown if too many Newton steps are taken in either the scalar or vector Newton classes.

Definition at line 90 of file Exceptions.h.

Constructor & Destructor Documentation

◆ ExceptionItn()

CppNoddy::ExceptionItn::ExceptionItn ( const std::string &  problem,
const unsigned &  itns,
const double &  max_resid 
)
inline

Definition at line 92 of file Exceptions.h.

92 :
93 std::runtime_error(problem) {
94#ifdef WHAT
95 error_header();
96 std::cout << problem << "\n";
97 std::cout << " The number of iterations taken so far = " << itns << "\n";
98 std::cout << " The maximum residual at this point is = " << max_resid << "\n\n";
99#endif
100
101 }

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

© 2012

R.E. Hewitt