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

# sc\_SumAccumH(3)

## NAME

sc::SumAccumH

## SYNOPSIS

Inherits **sc::AccumH**.

### Public Member Functions

**SumAccumH** (**StateIn** &)\
 **SumAccumH** (const **Ref**\< **KeyVal** \> &)\
 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 **init** (const **Ref**\< **Wavefunction** \> &)\
 void **accum** (const **RefSymmSCMatrix** &h)\
 void **done** ()\
 double **e** ()\

### Protected Attributes

int **n\_**\
 **Ref**\< **AccumH** \> \* **accums\_**\

### Additional Inherited Members

## Member Function Documentation

### void sc::SumAccumH::accum (const RefSymmSCMatrix & h)` [virtual]`

Implements **sc::AccumH**.

### void sc::SumAccumH::done ()` [virtual]`

Reimplemented from **sc::AccumH**.

### double sc::SumAccumH::e ()` [virtual]`

Reimplemented from **sc::AccumH**.

### void sc::SumAccumH::init (const Ref\< Wavefunction \> &)` [virtual]`

Reimplemented from **sc::AccumH**.

### void sc::SumAccumH::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::AccumH**.

## Author

Generated automatically by Doxygen for MPQC from the source code.
