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

# sc\_BeckeIntegrationWeight(3)

Implements Becke's integration weight scheme.

## NAME

sc::BeckeIntegrationWeight - Implements Becke's integration weight scheme.

## SYNOPSIS

`#include <integrator.h>`

Inherits **sc::IntegrationWeight**.

### Public Member Functions

**BeckeIntegrationWeight** (const **Ref**\< **KeyVal** \> &)\
 **BeckeIntegrationWeight** (**StateIn** &)\
 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**\< **Molecule** \> &, double tolerance)\
 Initialize the integration weight object.  void **done** ()\
 Called when finished with the integration weight object.  double **w** (int center, **SCVector3** &**point**, double \*grad\_w=0)\
 Computes the weight for a given center at a given point in space.

### Additional Inherited Members

## Detailed Description

Implements Becke's integration weight scheme.

## Member Function Documentation

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

Called when finished with the integration weight object.

Reimplemented from **sc::IntegrationWeight**.

### void sc::BeckeIntegrationWeight::init (const Ref\< Molecule \> &, double tolerance)` [virtual]`

Initialize the integration weight object.

Reimplemented from **sc::IntegrationWeight**.

### void sc::BeckeIntegrationWeight::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::IntegrationWeight**.

### double sc::BeckeIntegrationWeight::w (int center, SCVector3 & point, double \* grad\_w = `0`)` [virtual]`

Computes the weight for a given center at a given point in space. Derivatives of the weigth with respect to nuclear coordinates are optionally returned in grad\_w. This must be called after init, but before done. It must also be thread-safe.

Implements **sc::IntegrationWeight**.

## Author

Generated automatically by Doxygen for MPQC from the source code.
