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

# sc\_GlobalMsgIter(3)

## NAME

sc::GlobalMsgIter

## SYNOPSIS

Inherits **sc::DescribedClass**.

Inherited by **sc::HypercubeGMI**.

### Public Member Functions

**GlobalMsgIter** (int nproc, int me, int root=0)\
 void **backwards** ()\
 void **forwards** ()\
 void **next** ()\
 int **done** ()\
 int **n** ()\
 int **sendto** ()\
 int **send** ()\
 int **recvfrom** ()\
 int **recv** ()\

### Protected Member Functions

virtual int **fwdsendto** ()=0\
 virtual int **fwdsend** ()=0\
 virtual int **fwdrecvfrom** ()=0\
 virtual int **fwdrecv** ()=0\

### Protected Attributes

int **me\_**\
 int **nproc\_**\
 int **root\_**\
 int **i\_**\
 int **n\_**\
 int **fwd\_**\

## Author

Generated automatically by Doxygen for MPQC from the source code.
