#include <AndersonStatusTest.h>
Inherits NOX::StatusTest::Generic.
Public Member Functions | |
| AndersonStatusTest (std::shared_ptr< AMP::Database > db) | |
| NOX::StatusTest::StatusType | checkStatus (const NOX::Solver::Generic &solver, NOX::StatusTest::CheckType checkType) |
| NOX::StatusTest::StatusType | getStatus () const |
| std::ostream & | print (std::ostream &stream, int indent=0) const |
| virtual | ~AndersonStatusTest () |
Protected Attributes | |
| std::vector< double > | d_relativeResiduals |
| NOX::StatusTest::StatusType | d_status |
| std::vector< double > | d_tolerances |
| std::vector< std::string > | d_variableNames |
The AndersonStatusTest implements a AMP-specific stopping criteria for use with the NOX Anderson acceleration solver.
Definition at line 23 of file AndersonStatusTest.h.
|
explicit |
main constructor
| [in] | db | The database object containing teh following fields: |
|
virtual |
Default destructor.
| NOX::StatusTest::StatusType AMP::Solver::AndersonStatusTest::checkStatus | ( | const NOX::Solver::Generic & | solver, |
| NOX::StatusTest::CheckType | checkType | ||
| ) |
Test the stopping criterion
| solver | Instance of solver for which convergence is being evaluated. |
| checkType | Type of convergence check |
| NOX::StatusTest::StatusType AMP::Solver::AndersonStatusTest::getStatus | ( | ) | const |
Return the result of the most recent checkStatus call.
| std::ostream & AMP::Solver::AndersonStatusTest::print | ( | std::ostream & | stream, |
| int | indent = 0 |
||
| ) | const |
Output formatted description of stopping test to output stream.
|
protected |
Definition at line 69 of file AndersonStatusTest.h.
|
protected |
Definition at line 64 of file AndersonStatusTest.h.
|
protected |
Definition at line 68 of file AndersonStatusTest.h.
|
protected |
Definition at line 67 of file AndersonStatusTest.h.
|
Advanced Multi-Physics (AMP) Oak Ridge National Laboratory Idaho National Laboratory Los Alamos National Laboratory |
This page automatically produced from the source code by Last updated: Tue Mar 10 2026 13:06:44. Comments on this page |