ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
Variables
GlobalV Namespace Reference

Variables

int NPROC = 1
 global number of process
 
int KPAR = 1
 global number of pools
 
int MY_RANK = 0
 global index of process
 
int MY_POOL = 0
 global index of pool (count in pool)
 
int MY_BNDGROUP = 0
 
int NPROC_IN_POOL = 1
 local number of process in a pool
 
int NPROC_IN_BNDGROUP = 1
 
int RANK_IN_POOL = 0
 global index of pool (count in process), my_rank in each pool
 
int RANK_IN_BPGROUP = 0
 
int DRANK = -1
 
int DSIZE = KPAR
 
int DCOLOR = -1
 
int GRANK = MY_RANK
 
int GSIZE = DSIZE
 
std::ofstream ofs_running
 
std::ofstream ofs_warning
 
std::ofstream ofs_info
 
std::ofstream ofs_device
 
std::string BASIS_TYPE = ""
 
bool CAL_STRESS = 0
 
int CAL_FORCE = 0
 
int NSPIN = 1
 
int NPOL
 
bool DOMAG
 
bool DOMAG_Z
 

Variable Documentation

◆ BASIS_TYPE

std::string GlobalV::BASIS_TYPE = ""

◆ CAL_FORCE

int GlobalV::CAL_FORCE = 0

◆ CAL_STRESS

bool GlobalV::CAL_STRESS = 0

◆ DCOLOR

int GlobalV::DCOLOR = -1

◆ DOMAG

bool GlobalV::DOMAG

◆ DOMAG_Z

bool GlobalV::DOMAG_Z

◆ DRANK

int GlobalV::DRANK = -1

mohan add 2012-01-13, must be -1, so we can recognize who didn't in DIAG_WORLD

◆ DSIZE

int GlobalV::DSIZE = KPAR

◆ GRANK

int GlobalV::GRANK = MY_RANK

◆ GSIZE

int GlobalV::GSIZE = DSIZE

◆ KPAR

int GlobalV::KPAR = 1

global number of pools

◆ MY_BNDGROUP

int GlobalV::MY_BNDGROUP = 0

◆ MY_POOL

int GlobalV::MY_POOL = 0

global index of pool (count in pool)

◆ MY_RANK

int GlobalV::MY_RANK = 0

global index of process

◆ NPOL

int GlobalV::NPOL

◆ NPROC

int GlobalV::NPROC = 1

global number of process

◆ NPROC_IN_BNDGROUP

int GlobalV::NPROC_IN_BNDGROUP = 1

◆ NPROC_IN_POOL

int GlobalV::NPROC_IN_POOL = 1

local number of process in a pool

◆ NSPIN

int GlobalV::NSPIN = 1

◆ ofs_device

std::ofstream GlobalV::ofs_device

◆ ofs_info

std::ofstream GlobalV::ofs_info

◆ ofs_running

std::ofstream GlobalV::ofs_running

◆ ofs_warning

std::ofstream GlobalV::ofs_warning

◆ RANK_IN_BPGROUP

int GlobalV::RANK_IN_BPGROUP = 0

◆ RANK_IN_POOL

int GlobalV::RANK_IN_POOL = 0

global index of pool (count in process), my_rank in each pool