ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
chg_dmr.h File Reference
#include <vector>
#include "chg_mix_cfg.h"
Include dependency graph for chg_dmr.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  Base_Mixing
namespace  module_charge
 Charge-density symmetrization free functions.

Functions

void module_charge::init_mixing_dmr (Base_Mixing::Mixing *mixing, Base_Mixing::Mixing_Data &mdata, const int nnr, const MixingConfig &cfg)
 Allocate the mixing buffer for the real-space density matrix and clear its history.
void module_charge::mix_dmr (const std::vector< double * > &dmr_out, const std::vector< const double * > &dmr_in, const int nnr, Base_Mixing::Mixing *mixing, Base_Mixing::Mixing_Data &mdata, const MixingConfig &cfg)
 Mix the real-space density matrix (LCAO calculations only).