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

# sc\_SCExtrapData(3)

SCExtrapData hold the data to be extrapolated needed by SelfConsistentExtrapolation.

## NAME

sc::SCExtrapData - **SCExtrapData** hold the data to be extrapolated needed by **SelfConsistentExtrapolation**.

## SYNOPSIS

`#include <scextrap.h>`

Inherits **sc::SavableState**.

Inherited by **sc::SymmSCMatrix2SCExtrapData**, **sc::SymmSCMatrix4SCExtrapData**, **sc::SymmSCMatrixNSCExtrapData**, and **sc::SymmSCMatrixSCExtrapData**.

### Public Member Functions

**SCExtrapData** ()\
 Construct a new **SCExtrapData**.  **SCExtrapData** (**StateIn** &)\
 Constructor to restore **SCExtrapData** from a **StateIn** object.  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.  virtual **SCExtrapData** \* **copy** ()=0\
 Return a copy of this.  virtual void **zero** ()=0\
 Set this to zero.  virtual void **accumulate\_scaled** (double scale, const **Ref**\< **SCExtrapData** \> &)=0\
 The passed **SCExtrapData** is accumulated into this after applying the scaling factor.

### Additional Inherited Members

## Detailed Description

**SCExtrapData** hold the data to be extrapolated needed by **SelfConsistentExtrapolation**.

## Member Function Documentation

### virtual void sc::SCExtrapData::accumulate\_scaled (double scale, const Ref\< SCExtrapData \> &)` [pure virtual]`

The passed **SCExtrapData** is accumulated into this after applying the scaling factor.

Implemented in **sc::SymmSCMatrixSCExtrapData**, **sc::SymmSCMatrix2SCExtrapData**, **sc::SymmSCMatrix4SCExtrapData**, and **sc::SymmSCMatrixNSCExtrapData**.

### virtual SCExtrapData \* sc::SCExtrapData::copy ()` [pure virtual]`

Return a copy of this.

Implemented in **sc::SymmSCMatrixSCExtrapData**, **sc::SymmSCMatrix2SCExtrapData**, **sc::SymmSCMatrix4SCExtrapData**, and **sc::SymmSCMatrixNSCExtrapData**.

### void sc::SCExtrapData::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::SymmSCMatrixSCExtrapData**, **sc::SymmSCMatrix2SCExtrapData**, **sc::SymmSCMatrix4SCExtrapData**, and **sc::SymmSCMatrixNSCExtrapData**.

### virtual void sc::SCExtrapData::zero ()` [pure virtual]`

Set this to zero.

Implemented in **sc::SymmSCMatrixSCExtrapData**, **sc::SymmSCMatrix2SCExtrapData**, **sc::SymmSCMatrix4SCExtrapData**, and **sc::SymmSCMatrixNSCExtrapData**.

## Author

Generated automatically by Doxygen for MPQC from the source code.
