#include <parallel_grid.h>
|
| Parallel_Grid () |
|
| Parallel_Grid (const int ncx_in, const int ncy_in, const int ncz_in, const int nczp_in, const int nrxx_in, const int nbz_in, const int bz_in) |
|
| ~Parallel_Grid () |
|
void | init (const int &ncx, const int &ncy, const int &ncz, const int &nczp, const int &nrxx, const int &nbz, const int &bz) |
|
void | init_final_scf (const int &ncx, const int &ncy, const int &ncz, const int &nczp, const int &nrxx, const int &nbz, const int &bz) |
|
void | zpiece_to_all (double *zpiece, const int &iz, double *rho) const |
|
void | zpiece_to_stogroup (double *zpiece, const int &iz, double *rho) const |
|
void | bcast (const double *const data_global, double *data_local, const int &rank) const |
| Broadcast data from root to all processors. The index order is [x][y][z].
|
|
void | reduce (double *rhotot, const double *constrhoin, const bool reduce_all_pool) const |
| Reduce data from all processors to root. The index order is [x][y][z].
|
|
|
const int & | nx = this->ncx |
|
const int & | ny = this->ncy |
|
const int & | nz = this->ncz |
|
◆ Parallel_Grid() [1/2]
Parallel_Grid::Parallel_Grid |
( |
| ) |
|
◆ Parallel_Grid() [2/2]
Parallel_Grid::Parallel_Grid |
( |
const int |
ncx_in, |
|
|
const int |
ncy_in, |
|
|
const int |
ncz_in, |
|
|
const int |
nczp_in, |
|
|
const int |
nrxx_in, |
|
|
const int |
nbz_in, |
|
|
const int |
bz_in |
|
) |
| |
|
inline |
◆ ~Parallel_Grid()
Parallel_Grid::~Parallel_Grid |
( |
| ) |
|
◆ bcast()
void Parallel_Grid::bcast |
( |
const double *const |
data_global, |
|
|
double * |
data_local, |
|
|
const int & |
rank |
|
) |
| const |
Broadcast data from root to all processors. The index order is [x][y][z].
◆ init()
void Parallel_Grid::init |
( |
const int & |
ncx, |
|
|
const int & |
ncy, |
|
|
const int & |
ncz, |
|
|
const int & |
nczp, |
|
|
const int & |
nrxx, |
|
|
const int & |
nbz, |
|
|
const int & |
bz |
|
) |
| |
◆ init_final_scf()
void Parallel_Grid::init_final_scf |
( |
const int & |
ncx, |
|
|
const int & |
ncy, |
|
|
const int & |
ncz, |
|
|
const int & |
nczp, |
|
|
const int & |
nrxx, |
|
|
const int & |
nbz, |
|
|
const int & |
bz |
|
) |
| |
◆ reduce()
void Parallel_Grid::reduce |
( |
double * |
rhotot, |
|
|
const double * |
constrhoin, |
|
|
const bool |
reduce_all_pool |
|
) |
| const |
Reduce data from all processors to root. The index order is [x][y][z].
◆ z_distribution()
void Parallel_Grid::z_distribution |
( |
void |
| ) |
|
|
private |
◆ zpiece_to_all()
void Parallel_Grid::zpiece_to_all |
( |
double * |
zpiece, |
|
|
const int & |
iz, |
|
|
double * |
rho |
|
) |
| const |
◆ zpiece_to_stogroup()
void Parallel_Grid::zpiece_to_stogroup |
( |
double * |
zpiece, |
|
|
const int & |
iz, |
|
|
double * |
rho |
|
) |
| const |
◆ Efield
◆ Symmetry_rho
◆ allocate
bool Parallel_Grid::allocate = false |
|
private |
◆ allocate_final_scf
bool Parallel_Grid::allocate_final_scf = false |
|
private |
◆ bz
◆ nbz
int Parallel_Grid::nbz =0 |
|
private |
◆ ncx
int Parallel_Grid::ncx =0 |
|
private |
◆ ncxy
int Parallel_Grid::ncxy =0 |
|
private |
◆ ncxyz
int Parallel_Grid::ncxyz =0 |
|
private |
◆ ncy
int Parallel_Grid::ncy =0 |
|
private |
◆ ncz
int Parallel_Grid::ncz =0 |
|
private |
◆ nczp
int Parallel_Grid::nczp =0 |
|
private |
◆ nproc_in_pool
int* Parallel_Grid::nproc_in_pool = nullptr |
|
private |
◆ nrxx
int Parallel_Grid::nrxx =0 |
|
private |
◆ numz
int** Parallel_Grid::numz = nullptr |
|
private |
◆ nx
const int& Parallel_Grid::nx = this->ncx |
◆ ny
const int& Parallel_Grid::ny = this->ncy |
◆ nz
const int& Parallel_Grid::nz = this->ncz |
◆ startz
int** Parallel_Grid::startz = nullptr |
|
private |
◆ whichpro
int** Parallel_Grid::whichpro = nullptr |
|
private |
◆ whichpro_loc
int** Parallel_Grid::whichpro_loc = nullptr |
|
private |
The documentation for this class was generated from the following files:
- /home/runner/work/abacus-develop/abacus-develop/source/source_pw/module_pwdft/parallel_grid.h
- /home/runner/work/abacus-develop/abacus-develop/source/source_estate/test/charge_extra_test.cpp
- /home/runner/work/abacus-develop/abacus-develop/source/source_estate/test/elecstate_base_test.cpp
- /home/runner/work/abacus-develop/abacus-develop/source/source_io/test/read_wf2rho_pw_test.cpp
- /home/runner/work/abacus-develop/abacus-develop/source/source_io/test_serial/rho_io_test.cpp
- /home/runner/work/abacus-develop/abacus-develop/source/source_pw/module_pwdft/parallel_grid.cpp