1#ifndef PW_BASIS_K_BIG_H
2#define PW_BASIS_K_BIG_H
25 void setbxyz(
const int bx_in,
const int by_in,
const int bz_in)
43 this->nbx = this->
nx /
bx;
44 this->nby = this->
ny /
by;
45 this->nbz = this->
nz /
bz;
54 for(
int ip = 0 ; ip < this->
poolnproc ; ++ip)
56 this->
numz[ip] = npbz*this->bz;
57 if(ip < modbz) { this->
numz[ip]+=this->bz;}
int nbx
Definition pw_basis_k_big.h:34
int bx
Definition pw_basis_k_big.h:31
int by
Definition pw_basis_k_big.h:32
void setbxyz(const int bx_in, const int by_in, const int bz_in)
Definition pw_basis_k_big.h:25
~PW_Basis_K_Big()
Definition pw_basis_k_big.h:24
PW_Basis_K_Big()
Definition pw_basis_k_big.h:18
virtual void distribute_r()
distribute real-space grids to different processors
Definition pw_basis_k_big.h:38
int nbz
Definition pw_basis_k_big.h:36
int nby
Definition pw_basis_k_big.h:35
int bz
Definition pw_basis_k_big.h:33
PW_Basis_K_Big(std::string device_, std::string precision_)
Definition pw_basis_k_big.h:23
PW_Basis_K()
Definition pw_basis_k.cpp:12
int nrxx
Definition pw_basis.h:127
int nx
Definition pw_basis.h:246
int * numz
Definition pw_basis.h:129
int nxy
Definition pw_basis.h:246
int poolnproc
Definition pw_basis.h:189
int ny
Definition pw_basis.h:246
int startz_current
Definition pw_basis.h:134
int poolrank
Definition pw_basis.h:190
int nplane
Definition pw_basis.h:135
int * startz
Definition pw_basis.h:128
int nz
Definition pw_basis.h:246
void ZEROS(std::complex< T > *u, const TI n)
Definition global_function.h:109