ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
chg_uspp.cpp File Reference
#include "chg_uspp.h"
#include <cstring>
#include "source_base/timer.h"
#include "source_base/tool_title.h"
#include "source_base/tool_quit.h"
Include dependency graph for chg_uspp.cpp:

Namespaces

namespace  module_charge
 Charge-density symmetrization free functions.

Functions

void module_charge::split_dgrid (const std::complex< double > *data_d, std::vector< std::complex< double > > &data_s, std::vector< std::complex< double > > &data_hf, int nspin, int npw_smooth, int npw_dense)
 Split dense reciprocal-space data into smooth and high-frequency parts on the USPP double grid.
void module_charge::merge_dgrid (std::complex< double > *data_d, const std::vector< std::complex< double > > &data_s, const std::vector< std::complex< double > > &data_hf, int nspin, int npw_smooth, int npw_dense)
 Merge smooth and high-frequency parts back into dense reciprocal- space data. Inverse of split_dgrid.