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

# sc\_GPetite4(3)

This class provides a generalized four index petite list.

## NAME

sc::GPetite4\< C4 \> - This class provides a generalized four index petite list.

## SYNOPSIS

`#include <gpetite.h>`

Inherits **sc::GenPetite4**.

### Public Member Functions

**GPetite4** (const **Ref**\< **GaussianBasisSet** \> &b1, const **Ref**\< **GaussianBasisSet** \> &b2, const **Ref**\< **GaussianBasisSet** \> &b3, const **Ref**\< **GaussianBasisSet** \> &b4, const C4 &c)\
 int **in\_p4** (int i, int j, int k, int l)\

### Additional Inherited Members

## Detailed Description

### template\<class C4\>

class sc::GPetite4\< C4 \>"This class provides a generalized four index petite list.

The template argument is a class that computes an canonical offset given four indices for the particular shell loop structure employed. Example template class parameters are **canonical\_aaaa**, **canonical\_aabc**, **canonical\_aabb**, and **canonical\_abcd**.

## Member Function Documentation

### template\<class C4 \> int sc::GPetite4\< C4 \>::in\_p4 (int i, int j, int k, int l)` [inline]`, ` [virtual]`

Implements **sc::GenPetite4**.

## Author

Generated automatically by Doxygen for MPQC from the source code.
