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

# sc\_ReadMolecularHessian(3)

ReadMolecularHessian is an implementation of MolecularHessian that reads the hessian from a file.

## NAME

sc::ReadMolecularHessian - **ReadMolecularHessian** is an implementation of **MolecularHessian** that reads the hessian from a file.

## SYNOPSIS

`#include <hess.h>`

Inherits **sc::MolecularHessian**.

### Public Member Functions

**ReadMolecularHessian** (const **Ref**\< **KeyVal** \> &)\
 The **ReadMolecularHessian** **KeyVal** constructor is used to generate a **ReadMolecularHessian** object from the input.  **ReadMolecularHessian** (**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.  **RefSymmSCMatrix** **cartesian\_hessian** ()\
 Return the hessian in cartesian coordinates.

### Protected Attributes

char \* **filename\_**\

### Additional Inherited Members

## Detailed Description

**ReadMolecularHessian** is an implementation of **MolecularHessian** that reads the hessian from a file.

## Constructor & Destructor Documentation

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

The **ReadMolecularHessian** **KeyVal** constructor is used to generate a **ReadMolecularHessian** object from the input. It reads the keywords below.

KeywordTypeDefaultDescription `filename`string*basename* `.hess`The name of the file from which the hessian is read.

## Member Function Documentation

### RefSymmSCMatrix sc::ReadMolecularHessian::cartesian\_hessian ()` [virtual]`

Return the hessian in cartesian coordinates.

Implements **sc::MolecularHessian**.

### void sc::ReadMolecularHessian::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::MolecularHessian**.

## Author

Generated automatically by Doxygen for MPQC from the source code.
