ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
chg_rhog_io.h File Reference
#include "source_base/module_parallel/para_world.h"
#include "source_basis/module_pw/pw_basis.h"
#include "source_estate/module_charge/charge.h"
#include <cassert>
#include <ostream>
#include <string>
Include dependency graph for chg_rhog_io.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  module_charge
 Charge-density symmetrization free functions.

Functions

void module_charge::write_density_restart (Charge &charge, ModulePW::PW_Basis &pw_rhod, const ModuleBase::Matrix3 &reciprocal_lattice, const std::string &prefix, const int nspin, const bool enabled, const bool gamma_only, const bool write_tau, const bool writer_pool, const Parallel::ParaWorld &pw_world, std::ostream *warning)
 Write saved charge and optional kinetic-energy densities in reciprocal space.
bool module_charge::read_rhog (const std::string &filename, const ModulePW::PW_Basis *pw_rhod, const int nspin, std::complex< double > **rhog, const Parallel::ParaWorld &pw_world, std::ostream *os_warning)
bool module_charge::has_complete_charge_cubes (const std::string &directory, const int nspin, const Parallel::ParaWorld &world)
 Collectively select the complete cube set; partial sets fall back to restart.
bool module_charge::read_rho_from_binary (const std::string &filename, const ModulePW::PW_Basis &rhopw, const int nspin, std::complex< double > **rhog, double **rho, const Parallel::ParaWorld &pw_world, std::ostream &log)
bool module_charge::write_rhog (const std::string &fchg, const bool gamma_only, const ModulePW::PW_Basis *pw_rho, const int nspin, const ModuleBase::Matrix3 &GT, std::complex< double > **rhog, const Parallel::ParaWorld &pw_world, std::ostream *os_warning)