Abstract class for solver callbacks. More...
#include <solver-base.hpp>
Public Member Functions | |
CallbackAbstract () | |
Initialize the callback function. | |
virtual void | operator() (SolverAbstract &solver)=0 |
Run the callback function given a solver. More... | |
Abstract class for solver callbacks.
A callback is used to diagnostic the behaviour of our solver in each iteration of it. For instance, it can be used to print values, record data or display motions.
Definition at line 486 of file solver-base.hpp.
|
pure virtual |
Run the callback function given a solver.
[in] | solver | solver to be diagnostic |
Implemented in CallbackVerbose.