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

# sc\_LocalGBuild(3)

## NAME

sc::LocalGBuild\< T \>

## SYNOPSIS

Inherits **sc::GBuild\< T \>**.

### Public Member Functions

**LocalGBuild** (T &t, const **Ref**\< **TwoBodyInt** \> &tbi, const **Ref**\< **PetiteList** \> &rpl, const **Ref**\< **GaussianBasisSet** \> &bs, const **Ref**\< **MessageGrp** \> &g, signed char \*pm, double acc, int nt=1, int tn=0)\
 void **run** ()\
 This is called with the **Thread** is run from a **ThreadGrp**.

### Public Attributes

double **tnint**\

### Protected Attributes

**MessageGrp** \* **grp\_**\
 **TwoBodyInt** \* **tbi\_**\
 **GaussianBasisSet** \* **gbs\_**\
 **PetiteList** \* **rpl\_**\
 signed char \*restrictxx **pmax**\
 int **threadno\_**\
 int **nthread\_**\
 double **accuracy\_**\

### Additional Inherited Members

## Member Function Documentation

### template\<class T \> void sc::LocalGBuild\< T \>::run ()` [inline]`, ` [virtual]`

This is called with the **Thread** is run from a **ThreadGrp**.

Implements **sc::Thread**.

References **sc::TwoBodyInt::buffer()**, **sc::TwoBodyInt::compute\_shell()**, **sc::TwoBodyInt::log2\_shell\_bound()**, **sc::MessageGrp::me()**, **sc::MessageGrp::n()**, **sc::GaussianBasisSet::nshell()**, **sc::TwoBodyInt::set\_redundant()**, and **sc::GaussianBasisSet::shell\_to\_function()**.

## Author

Generated automatically by Doxygen for MPQC from the source code.
