ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
chg_parallel.cpp File Reference
#include "chg_parallel.h"
#include <cassert>
#include "charge.h"
#include "source_base/global_function.h"
#include "source_base/global_variable.h"
#include "source_base/parallel_comm.h"
#include "source_base/timer.h"
Include dependency graph for chg_parallel.cpp:

Namespaces

namespace  module_charge
 Charge-density symmetrization free functions.

Functions

void module_charge::reduce_diff_pools (double *array_rho, const Charge &chr, const int kpar, const bool all_ks_run, const int bndpar)
 Reduce a real-space array across k-point pools and band groups.
void module_charge::rho_mpi (Charge &chr, const int kpar, const bool all_ks_run, const int bndpar, const int nspin)
 Reduce rho across pools; also reduce kin_r when its buffer is allocated (meta-GGA functionals, or ELF output requested).
void module_charge::kin_r_mpi (Charge &chr, const int kpar, const bool all_ks_run, const int bndpar, const int nspin)
 Reduce kin_r across pools when its buffer is allocated (meta-GGA functionals, or ELF output requested).