PISM, A Parallel Ice Sheet Model  stable v2.1.1 committed by Constantine Khrulev on 2024-12-04 13:36:58 -0900
Public Types | Public Member Functions | List of all members
pism::inverse::IP_SSATaucTaoTikhonovProblemLCLListener Class Referenceabstract

Iteration callback class for IP_SSATaucTaoTikhonovProblemLCL. More...

#include <IP_SSATaucTaoTikhonovProblemLCL.hh>

Public Types

typedef std::shared_ptr< IP_SSATaucTaoTikhonovProblemLCLListenerPtr
 
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...
 

Detailed Description

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.


The documentation for this class was generated from the following file: