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

# sc\_HSOSKS(3)

This provides a Kohn-Sham implementation for restricted-orbital high-spin open-shell systems.

## NAME

sc::HSOSKS - This provides a Kohn-Sham implementation for restricted-orbital high-spin open-shell systems.

## SYNOPSIS

`#include <hsosks.h>`

Inherits **sc::HSOSSCF**.

### Public Member Functions

**HSOSKS** (**StateIn** &)\
 **HSOSKS** (const **Ref**\< **KeyVal** \> &)\
 This **KeyVal** constructor reads the following keywords:  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 **print** (std::ostream &o=**ExEnv::out0**()) const\
 Print information about the object.  void **two\_body\_energy** (double &ec, double &ex)\
 int **value\_implemented** () const\
 Information about the availability of values, gradients, and hessians.  int **gradient\_implemented** () const\

### Protected Member Functions

**RefSymmSCMatrix** **cl\_vxc** ()\
 **RefSymmSCMatrix** **op\_vxc** ()\
 void **ao\_fock** (double accuracy)\
 double **scf\_energy** ()\
 **Ref**\< **SCExtrapData** \> **extrap\_data** ()\
 **RefSymmSCMatrix** **effective\_fock** ()\
 void **init\_vector** ()\
 void **done\_vector** ()\
 void **two\_body\_deriv** (double \*)\
 **RefSymmSCMatrix** **lagrangian** ()\

### Protected Attributes

**Ref**\< **DenIntegrator** \> **integrator\_**\
 **Ref**\< **DenFunctional** \> **functional\_**\
 **RefSymmSCMatrix** **vxc\_a\_**\
 **RefSymmSCMatrix** **vxc\_b\_**\
 double **exc\_**\

### Additional Inherited Members

## Detailed Description

This provides a Kohn-Sham implementation for restricted-orbital high-spin open-shell systems.

## Constructor & Destructor Documentation

### sc::HSOSKS::HSOSKS (const Ref\< KeyVal \> &)

This **KeyVal** constructor reads the following keywords:

- `integrator`

  Specifies the **DenIntegrator** that will be used to integrate the density functional. The default is **RadialAngularIntegrator**.

- `functional`

  Specifies the **DenFunctional** that will be used to compute the exchange/correlation contribution. This is no default.

## Member Function Documentation

### void sc::HSOSKS::ao\_fock (double accuracy)` [protected]`, ` [virtual]`

Implements **sc::SCF**.

### void sc::HSOSKS::done\_vector ()` [protected]`, ` [virtual]`

Implements **sc::SCF**.

### RefSymmSCMatrix sc::HSOSKS::effective\_fock ()` [protected]`, ` [virtual]`

Implements **sc::SCF**.

### Ref\< SCExtrapData \> sc::HSOSKS::extrap\_data ()` [protected]`, ` [virtual]`

Implements **sc::SCF**.

### int sc::HSOSKS::gradient\_implemented () const` [virtual]`

Reimplemented from **sc::Function**.

### void sc::HSOSKS::init\_vector ()` [protected]`, ` [virtual]`

Implements **sc::SCF**.

### RefSymmSCMatrix sc::HSOSKS::lagrangian ()` [protected]`, ` [virtual]`

Implements **sc::SCF**.

### void sc::HSOSKS::print (std::ostream & = ExEnv::out0`()`) const` [virtual]`

Print information about the object.

Reimplemented from **sc::MolecularEnergy**.

### void sc::HSOSKS::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::MolecularEnergy**.

### double sc::HSOSKS::scf\_energy ()` [protected]`, ` [virtual]`

Implements **sc::SCF**.

### void sc::HSOSKS::two\_body\_deriv (double \*)` [protected]`, ` [virtual]`

Implements **sc::SCF**.

### void sc::HSOSKS::two\_body\_energy (double & ec, double & ex)` [virtual]`

Reimplemented from **sc::SCF**.

### int sc::HSOSKS::value\_implemented () const` [virtual]`

Information about the availability of values, gradients, and hessians.

Reimplemented from **sc::Function**.

## Author

Generated automatically by Doxygen for MPQC from the source code.
