1#ifndef PW_BASIS_K_BIG_H
2#define PW_BASIS_K_BIG_H
27 void setbxyz(
const int bx_in,
const int by_in,
const int bz_in)
45 this->nbx = this->
nx /
bx;
46 this->nby = this->
ny /
by;
47 this->nbz = this->
nz /
bz;
56 for(
int ip = 0 ; ip < this->
poolnproc ; ++ip)
58 this->
numz[ip] = npbz*this->
bz;
59 if(ip < modbz) { this->
numz[ip]+=this->
bz;}
Definition pw_basis_k_big.h:13
int nbx
Definition pw_basis_k_big.h:36
int bx
Definition pw_basis_k_big.h:33
int by
Definition pw_basis_k_big.h:34
void setbxyz(const int bx_in, const int by_in, const int bz_in)
Definition pw_basis_k_big.h:27
~PW_Basis_K_Big()
Definition pw_basis_k_big.h:26
PW_Basis_K_Big()
Definition pw_basis_k_big.h:20
virtual void distribute_r()
distribute real-space grids to different processors
Definition pw_basis_k_big.h:40
int nbz
Definition pw_basis_k_big.h:38
int nby
Definition pw_basis_k_big.h:37
int bz
Definition pw_basis_k_big.h:35
PW_Basis_K_Big(std::string device_, std::string precision_)
Definition pw_basis_k_big.h:25
Special pw_basis class. It includes different k-points.
Definition pw_basis_k.h:57
int nrxx
Definition pw_basis.h:120
int nx
Definition pw_basis.h:239
int * numz
Definition pw_basis.h:122
int nxy
Definition pw_basis.h:239
int poolnproc
Definition pw_basis.h:182
int ny
Definition pw_basis.h:239
int startz_current
Definition pw_basis.h:127
int poolrank
Definition pw_basis.h:183
int nplane
Definition pw_basis.h:128
int * startz
Definition pw_basis.h:121
int nz
Definition pw_basis.h:239
void ZEROS(std::complex< T > *u, const TI n)
Definition global_function.h:109