Skip to content

Commit 4aa46ed

Browse files
committed
update results of nspin4+sym1 cases (wrong before spin-mixed charge density symmetrization is implemented)
1 parent 7b98e42 commit 4aa46ed

8 files changed

Lines changed: 418 additions & 409 deletions

File tree

source/source_cell/module_symmetry/symm_analysis.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -291,8 +291,7 @@ void Symmetry::analy_sys(const Lattice& lat, const Statistics& st, Atom* atoms,
291291
this->set_atom_map(atoms); // find the atom mapping according to the symmetry operations
292292

293293
// (nspin=4 / SOC) restrict to the unitary magnetic subgroup: drop operations that reverse
294-
// the magnetization (pseudovector), so they are not applied in k-reduction / density
295-
// symmetrization. See ref/2026-07-SOC磁群对称性判据.md.
294+
// the magnetization (pseudovector), so they are not applied in k-reduction / density symmetrization.
296295
if (nspin == 4)
297296
{
298297
this->analyze_magnetic_group_nspin4(atoms, st, latvec1);

source/source_cell/module_symmetry/symmetry.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ class Symmetry : public Symmetry_Basic
374374
/// W(g) m_i = m_{g(i)} with W(g)=SpinRotation::spin_so3(gmatc). This prevents operations
375375
/// that reverse the moment (which are only symmetries when combined with time reversal)
376376
/// from being applied in k-reduction and density symmetrization.
377-
/// See ref/2026-07-SOC磁群对称性判据.md. Non-magnetic (m_i=0) keeps all operations.
377+
/// Non-magnetic (m_i=0) keeps all operations.
378378
void analyze_magnetic_group_nspin4(const Atom* atoms, const Statistics& st, const ModuleBase::Matrix3& latvec);
379379
};
380380
}

tests/03_NAO_multik/scf_out_elf/INPUT

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,5 @@ mixing_beta 0.7
2626
mixing_gg0 0.0
2727

2828
out_elf 1
29+
30+
symmetry 1

tests/03_NAO_multik/scf_out_elf/refelftot.cube

Lines changed: 288 additions & 288 deletions
Large diffs are not rendered by default.
Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
etotref -146.7749964274117
2-
etotperatomref -146.7749964274
1+
etotref -146.1249994660216
2+
etotperatomref -146.1249994660
33
ComparePot1_pass 0
4+
pointgroupref O_h
5+
spacegroupref O_h
6+
nksibzref 2
47
totaltimeref 1.39

tests/03_NAO_multik/scf_out_hsr_spin4/INPUT

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,5 @@ mixing_gg0 0.0
2828
out_mat_hs2 1
2929
out_mat_r 1
3030
out_ndigits 5
31+
32+
symmetry 1

tests/03_NAO_multik/scf_out_hsr_spin4/hrs1_nao.csr.ref

Lines changed: 113 additions & 113 deletions
Large diffs are not rendered by default.
Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
1-
etotref -147.1596190969566
2-
etotperatomref -147.1596190970
1+
etotref -145.7960775063707
2+
etotperatomref -145.7960775064
33
CompareHR_pass 0
44
CompareSR_pass 0
55
ComparerR_pass 0
6-
totaltimeref 5.38
6+
pointgroupref O_h
7+
spacegroupref O_h
8+
nksibzref 2
9+
totaltimeref 3.37

0 commit comments

Comments
 (0)