ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
write_wfc_pw.h
Go to the documentation of this file.
1#ifndef WRITE_WFC_PW_H
2#define WRITE_WFC_PW_H
4#include "source_cell/klist.h"
5#include "source_psi/psi.h"
6
7namespace ModuleIO
8{
9
10// istep is the filename sentinel: -1 keeps the ionic step out of the file
11// name. append_step is the real output step that decides whether the fixed
12// file is appended (a new frame per step) or truncated; pass -1 for a
13// single-point write that always truncates.
14void write_wfc_pw(
15 const int istep,
16 const int iter,
17 const int append_step,
18 const int kpar,
19 const int my_pool,
20 const int my_rank,
21 const int nbands,
22 const int nspin,
23 const int npol,
24 const int rank_in_pool,
25 const int nproc_in_pool,
26 const int out_wfc_pw,
27 const int out_app_flag,
28 const double& ecutwfc,
29 const std::string& global_out_dir,
30 const psi::Psi<std::complex<double>>& psi,
31 const K_Vectors& kv,
32 const ModulePW::PW_Basis_K* wfcpw,
33 std::ofstream &ofs_running);
34
35}
36
37#endif
Internal helpers shared by the R-space sparse text writers. Declared here (instead of duplicated in e...
Definition csr_reader.cpp:8
void write_wfc_pw(const int istep, const int iter, const int append_step, const int kpar, const int my_pool, const int my_rank, const int nbands, const int nspin, const int npol, const int rank_in_pool, const int nproc_in_pool, const int out_wfc_pw, const int out_app_flag, const double &ecutwfc, const std::string &global_out_dir, const psi::Psi< std::complex< double > > &psi, const K_Vectors &kv, const ModulePW::PW_Basis_K *wfcpw, std::ofstream &ofs_running)
Definition write_wfc_pw.cpp:15
int rank_in_pool
Definition pw_test.cpp:12
int nproc_in_pool
Definition pw_test.cpp:12