#include <math/optimize/scextrap.h>

Public Member Functions | |
| SelfConsistentExtrapolation (StateIn &) | |
| SelfConsistentExtrapolation (const Ref< KeyVal > &) | |
The only keyword read is tolerance, which is usually not needed since the objects using SelfConsistentExtrapolation should set the tolerances as needed. | |
| void | save_data_state (StateOut &) |
| Save the base classes (with save_data_state) and the members in the same order that the StateIn CTOR initializes them. | |
| void | set_tolerance (double t) |
| double | tolerance () |
| double | error () |
| int | converged () |
| virtual int | extrapolate (const Ref< SCExtrapData > &data, const Ref< SCExtrapError > &error)=0 |
| virtual void | start_extrapolation () |
| virtual void | reinitialize (Ref< SCExtrapData > data=0)=0 |
| This must be called if the extrapolation object is to be used again. | |
Protected Member Functions | |
| void | set_error (double e) |
The only keyword read is tolerance, which is usually not needed since the objects using SelfConsistentExtrapolation should set the tolerances as needed.
| void sc::SelfConsistentExtrapolation::save_data_state | ( | StateOut & | ) | [virtual] |
Save the base classes (with save_data_state) and the members in the same order that the StateIn CTOR initializes them.
This must be implemented by the derived class if the class has data.
Reimplemented from sc::SavableState.
Reimplemented in sc::DIIS.
| virtual void sc::SelfConsistentExtrapolation::reinitialize | ( | Ref< SCExtrapData > | data = 0 |
) | [pure virtual] |
This must be called if the extrapolation object is to be used again.
It should also be called before the first use of the object, if initial data needs to be given to the algorithm. The data object will be copied.
Implemented in sc::DIIS.