---
name: "sc_SelfConsistentExtrapolation"
section: "3"
platform: "linux"
package: "libsc-doc"
version: "2.3.1-22"
release: "Debian 12 (Bookworm)"
platforms: ["linux"]
url: "https://new.carta.tech/sc_SelfConsistentExtrapolation"
---

# sc\_SelfConsistentExtrapolation(3)

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

## NAME

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

## SYNOPSIS

`#include <scextrap.h>`

Inherits **sc::SavableState**.

Inherited by **sc::DIIS**.

### 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** ()=0\

### Protected Member Functions

void **set\_error** (double e)\

### Additional Inherited Members

## Detailed Description

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

## 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**.

## Author

Generated automatically by Doxygen for MPQC from the source code.
