18 #ifndef BUBBLEPROFILER_RELATIVE_CONVERGENCE_TESTER_HPP_INCLUDED 19 #define BUBBLEPROFILER_RELATIVE_CONVERGENCE_TESTER_HPP_INCLUDED 108 virtual void restart()
override;
logging::Basic_logger logger
virtual ~Relative_convergence_tester()=default
bool check_action_converged(double) const
virtual bool is_converged(const Potential &potential, const Field_profiles &profiles) override
Check whether the candidate bubble solution has converged.
double field_vals_relative_tol
bool check_fields_converged(double, const Eigen::VectorXd &) const
virtual void restart() override
Restart the convergence tester to the start of the iteration.
int calculate_max_iterations() const
double action_relative_tol
Relative_convergence_tester()=default
Construct relative convergence tester with default tolerances.
virtual int get_max_iterations() const override
Return the maximum number of iterations allowed.
Relative_convergence_tester & operator=(const Relative_convergence_tester &)=default
void set_max_iterations(int it)
Set the maximum number of iterations allowed.
double relative_difference(double, double) const
Abstract base class for a generic potential.
Eigen::VectorXd old_field_vals
Discretized set of field profiles.