MOOCHO (Single Doxygen Collection)
Version of the Day
|
This class simply outputs the convergence information for each iteration. More...
#include <MoochoPack_MoochoTrackerSummaryStd.hpp>
Public Types | |
enum | EOptError { OPT_ERROR_REDUCED_GRADIENT_LAGR, OPT_ERROR_GRADIENT_LAGR } |
Public Types inherited from IterationPack::AlgorithmTracker | |
typedef Teuchos::RCP < std::ostream > | ostream_ptr_t |
Public Member Functions | |
MoochoTrackerSummaryStd (const ostream_ptr_t &o, const ostream_ptr_t &journal_out, EOptError opt_error=OPT_ERROR_REDUCED_GRADIENT_LAGR) | |
Construct with an output stream. More... | |
void | set_output_stream (const ostream_ptr_t &o) |
Set the output stream for summary outputting. More... | |
const ostream_ptr_t & | get_output_stream () const |
Get the output stream for summary outputting. More... | |
int | num_total_qp_iter () const |
Output the total number of qp iterations back to and the k=0 iteration. More... | |
Public Member Functions inherited from IterationPack::AlgorithmTracker | |
virtual | ~AlgorithmTracker () |
AlgorithmTracker (const ostream_ptr_t &journal_out) | |
Construct with an output stream for journal_out. More... | |
virtual void | initialize () |
Reinitialize the track object right before it is used. More... | |
virtual void | output_final (const Algorithm &algo, EAlgoReturn algo_return) const |
Output information about a just completed algorithm. More... | |
virtual void | set_journal_out (const ostream_ptr_t &journal_out) |
Set a smart pointer to the journal file. More... | |
const ostream_ptr_t & | get_journal_out () const |
Get the smart pointer to the journal file. More... | |
virtual std::ostream & | journal_out () const |
Return a reference to a std::ostream to be used to output debug information and the like. More... | |
Protected Member Functions | |
void | print_header (const NLPAlgoState &s) const |
Print the header to the output. More... | |
std::ostream & | o () const |
Private Member Functions | |
MoochoTrackerSummaryStd () | |
Overridden from AlgorithmTracker | |
void | output_iteration (const Algorithm &algo) const |
void | output_final (const Algorithm &algo, EAlgoReturn algo_return) const |
This class simply outputs the convergence information for each iteration.
Definition at line 55 of file MoochoPack_MoochoTrackerSummaryStd.hpp.
Enumerator | |
---|---|
OPT_ERROR_REDUCED_GRADIENT_LAGR | |
OPT_ERROR_GRADIENT_LAGR |
Definition at line 61 of file MoochoPack_MoochoTrackerSummaryStd.hpp.
MoochoPack::MoochoTrackerSummaryStd::MoochoTrackerSummaryStd | ( | const ostream_ptr_t & | o, |
const ostream_ptr_t & | journal_out, | ||
EOptError | opt_error = OPT_ERROR_REDUCED_GRADIENT_LAGR |
||
) |
Construct with an output stream.
Definition at line 59 of file MoochoPack_MoochoTrackerSummaryStd.cpp.
|
private |
void MoochoPack::MoochoTrackerSummaryStd::set_output_stream | ( | const ostream_ptr_t & | o | ) |
Set the output stream for summary outputting.
Definition at line 70 of file MoochoPack_MoochoTrackerSummaryStd.cpp.
const MoochoTrackerSummaryStd::ostream_ptr_t & MoochoPack::MoochoTrackerSummaryStd::get_output_stream | ( | ) | const |
Get the output stream for summary outputting.
Definition at line 76 of file MoochoPack_MoochoTrackerSummaryStd.cpp.
|
inline |
Output the total number of qp iterations back to and the k=0 iteration.
Definition at line 79 of file MoochoPack_MoochoTrackerSummaryStd.hpp.
Reimplemented from IterationPack::AlgorithmTracker.
Definition at line 81 of file MoochoPack_MoochoTrackerSummaryStd.cpp.
void MoochoPack::MoochoTrackerSummaryStd::output_final | ( | const Algorithm & | algo, |
EAlgoReturn | algo_return | ||
) | const |
Definition at line 248 of file MoochoPack_MoochoTrackerSummaryStd.cpp.
|
protected |
Print the header to the output.
Definition at line 424 of file MoochoPack_MoochoTrackerSummaryStd.cpp.
|
inlineprotected |
Definition at line 97 of file MoochoPack_MoochoTrackerSummaryStd.hpp.
|
private |
Definition at line 101 of file MoochoPack_MoochoTrackerSummaryStd.hpp.
|
private |
Definition at line 102 of file MoochoPack_MoochoTrackerSummaryStd.hpp.
|
mutableprivate |
Definition at line 103 of file MoochoPack_MoochoTrackerSummaryStd.hpp.
|
private |
Definition at line 104 of file MoochoPack_MoochoTrackerSummaryStd.hpp.
|
private |
Definition at line 105 of file MoochoPack_MoochoTrackerSummaryStd.hpp.
|
private |
Definition at line 106 of file MoochoPack_MoochoTrackerSummaryStd.hpp.