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

# sc\_LevelShift(3)

## NAME

sc::LevelShift

## SYNOPSIS

Inherits **sc::BlockedSCElementOp**.

Inherited by **sc::ALevelShift**, and **sc::BLevelShift**.

### Public Member Functions

**LevelShift** (**SCF** \*)\
 int **has\_side\_effects** ()\
 By default this returns nonzero.  void **set\_shift** (double)\
 void **process** (**SCMatrixBlockIter** &)\
 This is the fallback routine to process blocks and is called by process\_spec members that are not overridden.

### Protected Attributes

**SCF** \* **scf\_**\
 double **shift**\

### Additional Inherited Members

## Member Function Documentation

### int sc::LevelShift::has\_side\_effects ()` [virtual]`

By default this returns nonzero. If the ElementOp specialization will change any elements of the matrix, then this must be overridden to return nonzero.

Reimplemented from **sc::SCElementOp**.

### void sc::LevelShift::process (SCMatrixBlockIter &)` [virtual]`

This is the fallback routine to process blocks and is called by process\_spec members that are not overridden.

Implements **sc::SCElementOp**.

Reimplemented in **sc::ALevelShift**, and **sc::BLevelShift**.

## Author

Generated automatically by Doxygen for MPQC from the source code.
