PISM, A Parallel Ice Sheet Model
stable v2.1-1-g6902d5502 committed by Ed Bueler on 2023-12-20 08:38:27 -0800
|
Encapsulate TAO's TaoSolverTerminationReason codes as a PISM TerminationReason. More...
#include <TaoUtil.hh>
Public Member Functions | |
TAOTerminationReason (TaoConvergedReason r) | |
virtual void | get_description (std::ostream &desc, int indent_level=0) |
Public Member Functions inherited from pism::TerminationReason | |
TerminationReason () | |
TerminationReason (int code) | |
virtual | ~TerminationReason () |
virtual int | reason () |
virtual std::string | description () |
virtual std::string | nested_description (int indent_level=0) |
virtual void | get_nested_description (std::ostream &desc, int indent_level=0) |
virtual bool | has_root_cause () |
std::shared_ptr< TerminationReason > | root_cause () |
void | set_root_cause (std::shared_ptr< TerminationReason > cause) |
bool | succeeded () |
bool | failed () |
bool | done () |
Additional Inherited Members | |
Protected Attributes inherited from pism::TerminationReason | |
int | m_reason |
std::shared_ptr< TerminationReason > | m_root_cause |
Static Protected Attributes inherited from pism::TerminationReason | |
static const char * | sm_indent = " " |
Encapsulate TAO's TaoSolverTerminationReason codes as a PISM TerminationReason.
Definition at line 37 of file TaoUtil.hh.