You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: source/source_io/module_parameter/read_input_item_output.cpp
+12-8Lines changed: 12 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -156,15 +156,19 @@ In molecular dynamics calculations, the output frequency is controlled by out_fr
156
156
item.annotation = ">0 output density matrix DM(k) for each k-point";
157
157
item.category = "Output information";
158
158
item.type = R"(Boolean \[Integer\](optional))";
159
-
item.description = R"(Whether to output the density matrix for each k-point into files in the folder OUT.${suffix}. The files are named as:
160
-
* For gamma only case:
161
-
* nspin = 1 and 4: dm_nao.csr;
162
-
* nspin = 2: dms1_nao.csr and dms2_nao.csr for the two spin channels.
163
-
* For multi-k points case:
164
-
* nspin = 1 and 4: dmk1_nao.csr, dmk2_nao.csr, ...;
165
-
* nspin = 2: dmk1s1_nao.csr... and dmk1s2_nao.csr... for the two spin channels.
159
+
item.description = R"(Whether to output the density matrix for each k-point into files in the folder OUT.${suffix}. For current develop versions, out_dmk writes *_nao.txt files and includes a g{istep} index in the file name:
160
+
* For gamma only case:
161
+
* nspin = 1 and 4: dmg1_nao.txt;
162
+
* nspin = 2: dms1g1_nao.txt and dms2g1_nao.txt for the two spin channels.
163
+
* For multi-k points case:
164
+
* nspin = 1 and 4: dmk1g1_nao.txt, dmk2g1_nao.txt, ...;
165
+
* nspin = 2: dmk1s1g1_nao.txt... and dmk1s2g1_nao.txt... for the two spin channels.
166
+
167
+
Here, g{istep} denotes the geometry/step index in the output file name.
166
168
167
-
[NOTE] In the 3.10-LTS version, the parameter is named out_dm and the file names are SPIN1_DM and SPIN2_DM, etc.)";
169
+
[NOTE] Version difference (develop vs 3.10-LTS):
170
+
* In develop, out_dmk supports both gamma-only and multi-k-point density-matrix output.
171
+
* In 3.10-LTS, the corresponding keyword is out_dm, and the output files are SPIN1_DM and SPIN2_DM, etc.)";
168
172
item.default_value = "False";
169
173
item.unit = "";
170
174
item.availability = "Numerical atomic orbital basis";
0 commit comments