File tree Expand file tree Collapse file tree 2 files changed +13
-13
lines changed
docs/advanced/input_files Expand file tree Collapse file tree 2 files changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -1670,7 +1670,7 @@ These variables are used to control the output of properties.
16701670 - 1: (txt format)
16711671 - non-gamma-only: ` wfs1k1_pw.txt ` or ` wfs1k2_pw.txt ` , ...;
16721672 - 2: (binary format)
1673- - non-gamma-only: ` wfs1k1_pw.dat ` or ` wfs1k2_Pw .dat` , ....
1673+ - non-gamma-only: ` wfs1k1_pw.dat ` or ` wfs1k2_pw .dat` , ....
16741674- ** Default** : 0
16751675
16761676### out_wfc_r
Original file line number Diff line number Diff line change @@ -41,13 +41,13 @@ std::string filename_output(
4141
4242 // spin index
4343 int is0 = -1 ;
44- // ik0 is the k-point index, starting from 1
44+ // ik0 is the k-point index, starting from 0
4545 int ik0 = ik2iktot[ik_local];
4646
47- if (nspin == 1 )
48- {
49- is0 = 1 ;
50- }
47+ if (nspin == 1 )
48+ {
49+ is0 = 1 ;
50+ }
5151 else if (nspin == 2 )
5252 {
5353 const int half_k = nkstot/2 ;
@@ -60,14 +60,14 @@ std::string filename_output(
6060 {
6161 is0 = 1 ;
6262 }
63- }
64- else if (nspin==4 )
65- {
66- is0 = 12 ;
67- }
63+ }
64+ else if (nspin==4 )
65+ {
66+ is0 = 12 ;
67+ }
6868
69- // spin part
70- std::string spin_block;
69+ // spin part
70+ std::string spin_block;
7171 spin_block = " s" + std::to_string (is0);
7272
7373 // k-point part
You can’t perform that action at this time.
0 commit comments