PISM, A Parallel Ice Sheet Model
stable v2.1-1-g6902d5502 committed by Ed Bueler on 2023-12-20 08:38:27 -0800
|
Iteration callback class for IP_SSATaucTaoTikhonovProblemLCL. More...
#include <IP_SSATaucTaoTikhonovProblemLCL.hh>
Public Types | |
typedef std::shared_ptr< IP_SSATaucTaoTikhonovProblemLCLListener > | Ptr |
typedef array::Scalar | DesignVec |
typedef array::Vector | StateVec |
Public Member Functions | |
IP_SSATaucTaoTikhonovProblemLCLListener () | |
virtual | ~IP_SSATaucTaoTikhonovProblemLCLListener () |
virtual void | iteration (IP_SSATaucTaoTikhonovProblemLCL &problem, double eta, int iter, double objectiveValue, double designValue, const std::shared_ptr< DesignVec > &d, const std::shared_ptr< DesignVec > &diff_d, const std::shared_ptr< DesignVec > &grad_d, const std::shared_ptr< StateVec > &u, const std::shared_ptr< StateVec > &diff_u, const std::shared_ptr< StateVec > &grad_u, const std::shared_ptr< StateVec > &constraints)=0 |
Callback called after each iteration. More... | |
Iteration callback class for IP_SSATaucTaoTikhonovProblemLCL.
A class for objects receiving iteration callbacks from a IP_SSATaucTaoTikhonovProblemLCL. These callbacks can be used to monitor the solution, plot iterations, print diagnostic messages, etc. IP_SSATaucTaoTikhonovProblemLCLListeners are ususally used via a reference counted pointer IP_SSATaucTaoTikhonovProblemLCLListeners::Ptr to allow for good memory management when Listeners are created as subclasses of Python classes.
Definition at line 45 of file IP_SSATaucTaoTikhonovProblemLCL.hh.