ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
output_mat_sparse.cpp File Reference
Include dependency graph for output_mat_sparse.cpp:

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

template<typename T>
void ModuleIO::output_mat_sparse (const MatSparseOutputOptions &options, const int &istep, const ModuleBase::matrix &v_eff, const Parallel_Orbitals &pv, const TwoCenterBundle &two_center_bundle, const LCAO_Orbitals &orb, UnitCell &ucell, const Grid_Driver &grid, const K_Vectors &kv, hamilt::Hamilt< T > *p_ham, Plus_U_Base *p_dftu, const std::string &global_out_dir, const std::string &global_matrix_dir, const std::string &calculation, const int out_app_flag, const int nspin, const bool gamma_only_local, const int npol, const int nlocal, const bool cal_force, std::ofstream &ofs_running)
 the output interface to write the sparse matrix of dH, dS, T, and r
template void ModuleIO::output_mat_sparse< double > (const MatSparseOutputOptions &options, const int &istep, const ModuleBase::matrix &v_eff, const Parallel_Orbitals &pv, const TwoCenterBundle &two_center_bundle, const LCAO_Orbitals &orb, UnitCell &ucell, const Grid_Driver &grid, const K_Vectors &kv, hamilt::Hamilt< double > *p_ham, Plus_U_Base *p_dftu, const std::string &global_out_dir, const std::string &global_matrix_dir, const std::string &calculation, const int out_app_flag, const int nspin, const bool gamma_only_local, const int npol, const int nlocal, const bool cal_force, std::ofstream &ofs_running)
template void ModuleIO::output_mat_sparse< std::complex< double > > (const MatSparseOutputOptions &options, const int &istep, const ModuleBase::matrix &v_eff, const Parallel_Orbitals &pv, const TwoCenterBundle &two_center_bundle, const LCAO_Orbitals &orb, UnitCell &ucell, const Grid_Driver &grid, const K_Vectors &kv, hamilt::Hamilt< std::complex< double > > *p_ham, Plus_U_Base *p_dftu, const std::string &global_out_dir, const std::string &global_matrix_dir, const std::string &calculation, const int out_app_flag, const int nspin, const bool gamma_only_local, const int npol, const int nlocal, const bool cal_force, std::ofstream &ofs_running)