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

# sc\_MOIntsTransformFactory(3)

MOIntsTransformFactory is a factory that produces MOIntsTransform objects.

## NAME

sc::MOIntsTransformFactory - **MOIntsTransformFactory** is a factory that produces MOIntsTransform objects.

## SYNOPSIS

`#include <transform_factory.h>`

Inherits **sc::SavableState**.

### Public Types

enum **StoreMethod** { **mem\_posix** = 0, **posix** = 1, **mem\_mpi** = 2, **mpi** = 3, **mem\_only** = 4 }\
 Describes the method of storing transformed MO integrals.

### Public Member Functions

**MOIntsTransformFactory** (**StateIn** &)\
 **MOIntsTransformFactory** (const **Ref**\< **Integral** \> &**integral**, const **Ref**\< **MOIndexSpace** \> &**space1**, const **Ref**\< **MOIndexSpace** \> &**space2**=0, const **Ref**\< **MOIndexSpace** \> &**space3**=0, const **Ref**\< **MOIndexSpace** \> &**space4**=0)\
 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 **set\_spaces** (const **Ref**\< **MOIndexSpace** \> &**space1**, const **Ref**\< **MOIndexSpace** \> &**space2**=0, const **Ref**\< **MOIndexSpace** \> &**space3**=0, const **Ref**\< **MOIndexSpace** \> &**space4**=0)\
 Sets the orbital spaces.  void **set\_top\_mole** (const **Ref**\< **MolecularEnergy** \> &top\_mole)\
 Specifies the top-level **MolecularEnergy** object to use for checkpointing.  void **set\_ints\_method** (const **StoreMethod** method)\
 Sets the method of storing transformed MO integrals. Default method is mem\_posix.  void **set\_file\_prefix** (const std::string &prefix)\
 Sets the name of the file to hold the integrals.  void **set\_debug** (int debug)\
 void **set\_dynamic** (bool dynamic)\
 void **set\_print\_percent** (double print\_percent)\
 void **set\_memory** (size\_t nbytes)\
 **Ref**\< **Integral** \> **integral** () const\
 Returns the **Integral** factory.  const **StoreMethod** **ints\_method** () const\
 Returns the method of storing transformed MO integrals.  const std::string **file\_prefix** () const\
 Sets the name of the file to hold the integrals.  const int **debug** () const\
 const bool **dynamic** () const\
 const double **print\_percent** () const\
 const size\_t **memory** () const\
 **Ref**\< **MOIndexSpace** \> **space1** () const\
 Returns **MOIndexSpace** object 1.  **Ref**\< **MOIndexSpace** \> **space2** () const\
 Returns **MOIndexSpace** object 2.  **Ref**\< **MOIndexSpace** \> **space3** () const\
 Returns **MOIndexSpace** object 3.  **Ref**\< **MOIndexSpace** \> **space4** () const\
 Returns **MOIndexSpace** object 4.  **Ref**\< **TwoBodyMOIntsTransform** \> **twobody\_transform\_13** (const std::string &id)\
 Creates an **TwoBodyMOIntsTransform** object that will compute (pq\|rs) integrals stored in qs blocks for each pr.  **Ref**\< **TwoBodyMOIntsTransform** \> **twobody\_transform\_12** (const std::string &id)\
 Creates an **TwoBodyMOIntsTransform** object that will compute (pq\|rs) integrals stored in rs blocks for each pq.

### Additional Inherited Members

## Detailed Description

**MOIntsTransformFactory** is a factory that produces MOIntsTransform objects.

## Member Function Documentation

### void sc::MOIntsTransformFactory::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::SavableState**.

## Author

Generated automatically by Doxygen for MPQC from the source code.
