sc::SelfConsistentExtrapolation Class Reference

The SelfConsistentExtrapolation abstract class is used to iteratively solve equations requiring a self consistent solution, such as,. More...

#include <math/optimize/scextrap.h>

Inheritance diagram for sc::SelfConsistentExtrapolation:

Inheritance graph
[legend]

List of all members.

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)


Detailed Description

The SelfConsistentExtrapolation abstract class is used to iteratively solve equations requiring a self consistent solution, such as,.

\[ \bar{x}' = f(\bar{x}) \]


Constructor & Destructor Documentation

sc::SelfConsistentExtrapolation::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.


Member Function Documentation

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.


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

Generated at Sun Feb 22 10:12:55 2009 for MPQC 3.0.0-alpha using the documentation package Doxygen 1.5.6.
These pages are hosted on SourceForge.net