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

# sc\_NElFunctional(3)

The NElFunctional computes the number of electrons.

## NAME

sc::NElFunctional - The **NElFunctional** computes the number of electrons.

## SYNOPSIS

`#include <functional.h>`

Inherits **sc::DenFunctional**.

### Public Member Functions

**NElFunctional** (const **Ref**\< **KeyVal** \> &)\
 **NElFunctional** (**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 **point** (const **PointInputData** &, **PointOutputData** &)\

### Additional Inherited Members

## Detailed Description

The **NElFunctional** computes the number of electrons.

It is primarily for testing the integrator.

## Member Function Documentation

### void sc::NElFunctional::point (const PointInputData &, PointOutputData &)` [virtual]`

Implements **sc::DenFunctional**.

### void sc::NElFunctional::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::DenFunctional**.

## Author

Generated automatically by Doxygen for MPQC from the source code.
