87class SelfConsistentExtrapolation:
public SavableState {
93 void set_error(
double e) { error_ = e; errorset_ = 1; }
95 SelfConsistentExtrapolation();
96 SelfConsistentExtrapolation(
StateIn&);
101 ~SelfConsistentExtrapolation();
105 void set_tolerance(
double t) { tolerance_ = t; }
106 double tolerance() {
return tolerance_; }
107 double error() {
return error_; }
109 int converged() {
return errorset_? error_ <= tolerance_ : 0; }
114 virtual int extrapolate(
const Ref<SCExtrapData>& data,
115 const Ref<SCExtrapError>& error) = 0;
121 virtual void start_extrapolation();
123 virtual void reinitialize() =0;