ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
Parallel::ParaTag Namespace Reference

Domain tag constants for the parallel communication domains. More...

Variables

const std::string esolver = "esolver"
const std::string images = "images"
const std::string pw = "pw"
const std::string kmesh = "kmesh"
const std::string bsame_kdiff = "bsame_kdiff"
const std::string bdiff_ksame = "bdiff_ksame"
const std::string rgrid = "rgrid"
const std::string diag = "diag"
const std::string matrix = "matrix"
const std::string atom = "atom"

Detailed Description

Domain tag constants for the parallel communication domains.

These tags replace raw string literals to avoid typo-induced runtime failures. They map to the legacy global communicators as follows:

  • esolver -> one esolver instance (intra-image communicator)
  • images -> cross-image communicator (same rank_in_esolver)
  • pw -> POOL_WORLD
  • kmesh -> KP_WORLD
  • bsame_kdiff -> INT_BGROUP
  • bdiff_ksame -> BP_WORLD
  • rgrid -> GRID_WORLD
  • diag -> DIAG_WORLD
  • matrix -> matrix domain
  • atom -> atom domain

Variable Documentation

◆ atom

const std::string Parallel::ParaTag::atom = "atom"

◆ bdiff_ksame

const std::string Parallel::ParaTag::bdiff_ksame = "bdiff_ksame"

◆ bsame_kdiff

const std::string Parallel::ParaTag::bsame_kdiff = "bsame_kdiff"

◆ diag

const std::string Parallel::ParaTag::diag = "diag"

◆ esolver

const std::string Parallel::ParaTag::esolver = "esolver"

◆ images

const std::string Parallel::ParaTag::images = "images"

◆ kmesh

const std::string Parallel::ParaTag::kmesh = "kmesh"

◆ matrix

const std::string Parallel::ParaTag::matrix = "matrix"

◆ pw

const std::string Parallel::ParaTag::pw = "pw"

◆ rgrid

const std::string Parallel::ParaTag::rgrid = "rgrid"