|
ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
|
#include "source_basis/module_pw/pw_basis.h"#include "source_cell/unitcell.h"#include "source_estate/module_charge/charge.h"#include "source_hamilt/module_surchem/surchem.h"#include <fstream>#include <string>Go to the source code of this file.
Namespaces | |
| namespace | ModuleIO |
| Internal helpers shared by the R-space sparse text writers. Declared here (instead of duplicated in each anonymous namespace) so the header layout, R records and file-append rules cannot diverge between hs_sparse_io.cpp, dhs_sparse_writer.cpp, pos_op_csr.cpp, hsr_writer.cpp and write_dmr.cpp. | |
Functions | |
| void | ModuleIO::write_elecstat_pot (const int &bz, const int &nbz, const std::string &fn, const int &istep, ModulePW::PW_Basis *rho_basis, const Charge *const chr, const UnitCell *ucell_, const double *v_eff_fixed, const surchem &solvent, const std::vector< double > *pcc_potential, const std::vector< double > *solvent_potential, const int precision, const bool append, std::ofstream &ofs_running) |
| write electric static potential to file | |