ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
chg_atomic_inner.cpp File Reference
#include "chg_atomic_detail.h"
#include "source_base/global_variable.h"
#include "source_base/libm/libm.h"
#include "source_base/math_integral.h"
#include "source_base/parallel_reduce.h"
#include "source_base/timer.h"
#include "source_cell/unitcell.h"
#include <cassert>
#include <cmath>
#include <complex>
#include <iomanip>
#include <iostream>
#include <vector>
Include dependency graph for chg_atomic_inner.cpp:

Namespaces

namespace  module_charge
 Charge-density symmetrization free functions.
namespace  module_charge::detail

Functions

std::vector< double > module_charge::detail::compute_rhoatm (const Atom &atom, int mesh, std::ostream &ofs_warning)
 Compute the radial atomic charge density rhoatm from pseudopotential.
std::vector< double > module_charge::detail::compute_rho_lgl (const Atom &atom, const ModulePW::PW_Basis *rhopw, const UnitCell &ucell, const std::vector< double > &rhoatm, int test_charge, double omega, std::ostream &ofs_warning)
 Compute the 1D charge in G space from rhoatm.
void module_charge::detail::fill_rho_g3d_nspin1 (RhoG3dCtx &ctx)
 Fill rho_g3d for nspin==1 case.
void module_charge::detail::fill_rho_g3d_nspin2 (RhoG3dCtx &ctx, int startmag_type, double start_mag, const Atom &atom)
 Fill rho_g3d for nspin==2 case (both startmag_type 1 and 2).
void module_charge::detail::fill_rho_g3d_nspin4_type1 (RhoG3dCtx &ctx, double start_mag, const Atom &atom, bool domag, bool domag_z)
 Fill rho_g3d for nspin==4, startmag_type==1 case.
void module_charge::detail::fill_rho_g3d_nspin4_type2 (RhoG3dCtx &ctx, const Atom &atom, bool domag, bool domag_z)
 Fill rho_g3d for nspin==4, startmag_type==2 case.
void module_charge::detail::normalize_and_check (double **rho_in, const ModuleBase::ComplexMatrix &rho_g3d, const ModulePW::PW_Basis *rhopw, int spin_number_need, double omega, std::ostream &ofs_warning, double nelec)