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

# sc\_PsiExEnv(3)

PsiExEnv specifies a Psi calculation.

## NAME

sc::PsiExEnv - **PsiExEnv** specifies a Psi calculation.

## SYNOPSIS

`#include <psiexenv.h>`

Inherits **sc::DescribedClass**.

### Public Member Functions

**PsiExEnv** (const **Ref**\< **KeyVal** \> &)\
 **PsiExEnv** (char \*cwd, char \*fileprefix, int nscratch, char \*\*scratch)\
 **Ref**\< **PsiInput** \> **get\_psi\_input** () const\
 Returns the **PsiInput** object which **PsiExEnv** uses.  **Ref**\< **PsiFile11** \> **get\_psi\_file11** () const\
 Returns the **PsiFile11** object which **PsiExEnv** uses.  int **run\_psi** ()\
 Executes Psi input+driver.  int **run\_psi\_module** (char \*)\
 Executes a Psi module.  string **get\_cwd** () const\
 Returns current working directory.  string **get\_fileprefix** () const\
 Returns the Psi file prefix.  int **get\_nscratch** () const\
 Returns the number of scratch locations.  string **get\_scratch** (int i) const\
 Returns the ith scratch location.  void **print** (std::ostream &o=**ExEnv::out0**()) const\
 Print the object.

### Additional Inherited Members

## Detailed Description

**PsiExEnv** specifies a Psi calculation.

## Member Function Documentation

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

Print the object.

Reimplemented from **sc::DescribedClass**.

## Author

Generated automatically by Doxygen for MPQC from the source code.
