Skip to content

Commit 0cde2d5

Browse files
committed
Update read_input_item_output.cpp
1 parent fdede5e commit 0cde2d5

1 file changed

Lines changed: 12 additions & 8 deletions

File tree

source/source_io/module_parameter/read_input_item_output.cpp

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -156,15 +156,19 @@ In molecular dynamics calculations, the output frequency is controlled by out_fr
156156
item.annotation = ">0 output density matrix DM(k) for each k-point";
157157
item.category = "Output information";
158158
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.
166168
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.)";
168172
item.default_value = "False";
169173
item.unit = "";
170174
item.availability = "Numerical atomic orbital basis";

0 commit comments

Comments
 (0)