#include <IterationPack_AlgorithmTracker.hpp>
Inheritance diagram for IterationPack::AlgorithmTracker:
Public types | |
| typedef Teuchos::RefCountPtr< std::ostream > | ostream_ptr_t |
| | |
Constructors | |
| AlgorithmTracker (const ostream_ptr_t &journal_out) | |
| Construct with an output stream for journal_out. | |
Algorithm iteration state notification | |
| virtual void | initialize () |
| Reinitialize the track object right before it is used. | |
| virtual void | output_iteration (const Algorithm &algo) const |
| Output information about an iteration just completed. | |
| virtual void | output_final (const Algorithm &algo, EAlgoReturn algo_return) const |
| Output information about a just completed algorithm. | |
Journal file access | |
| virtual void | set_journal_out (const ostream_ptr_t &journal_out) |
| Set a smart pointer to the journal file. | |
| const ostream_ptr_t & | get_journal_out () const |
| Get the smart pointer to the journal file. | |
| virtual std::ostream & | journal_out () const |
Return a reference to a std::ostream to be used to output debug information and the like. | |
Public Member Functions | |
| virtual | ~AlgorithmTracker () |
| | |
This interface can be implemented by outside clients of an iterative algorithm to monitor or "track" the progress of the algorithm.
ToDo: Write more documentation!
Definition at line 46 of file IterationPack_AlgorithmTracker.hpp.
|
|
Definition at line 56 of file IterationPack_AlgorithmTracker.hpp. |
|
|
Definition at line 50 of file IterationPack_AlgorithmTracker.hpp. |
|
|
Construct with an output stream for journal_out. Preconditions:
Definition at line 33 of file IterationPack_AlgorithmTracker.cpp. |
|
|
Reinitialize the track object right before it is used. The default implementation does nothing. Reimplemented in IterationPack::AlgorithmTrackerComposite. Definition at line 37 of file IterationPack_AlgorithmTracker.cpp. |
|
|
Output information about an iteration just completed. The default just does nothing. Reimplemented in IterationPack::AlgorithmTrackerComposite. Definition at line 40 of file IterationPack_AlgorithmTracker.cpp. |
|
||||||||||||
|
Output information about a just completed algorithm. The default just does nothing. Reimplemented in IterationPack::AlgorithmTrackerComposite. Definition at line 43 of file IterationPack_AlgorithmTracker.cpp. |
|
|
Set a smart pointer to the journal file.
Definition at line 46 of file IterationPack_AlgorithmTracker.cpp. |
|
|
Get the smart pointer to the journal file.
Definition at line 52 of file IterationPack_AlgorithmTracker.cpp. |
|
|
Return a reference to a
Definition at line 58 of file IterationPack_AlgorithmTracker.cpp. |
1.3.9.1