Skip to content

Commit b5fbc23

Browse files
committed
add an output wave function test in TDDFT
1 parent 5f70933 commit b5fbc23

File tree

6 files changed

+109
-2
lines changed

6 files changed

+109
-2
lines changed

tests/05_rtTDDFT/02_NO_CH_TDDFT/INPUT renamed to tests/05_rtTDDFT/02_NO_CH_OW_TDDFT/INPUT

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,5 @@ force_thr_ev 1e-3
3333
md_type nve
3434
md_dt 0.01
3535
init_vel 1
36+
out_wfc_lcao 1
37+
out_app_flag 0
File renamed without changes.
File renamed without changes.

tests/05_rtTDDFT/02_NO_CH_TDDFT/result.ref renamed to tests/05_rtTDDFT/02_NO_CH_OW_TDDFT/result.ref

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@ etotref -323.5397668883450
22
etotperatomref -107.8465889628
33
totalforceref 19.372571
44
totalstressref 328.906753
5-
totaltimeref 2.06
5+
Compare_wfc_lcao_pass 1
6+
totaltimeref 2.05
Lines changed: 104 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,104 @@
1+
1 (index of k points)
2+
0 0 0
3+
10 (number of bands)
4+
31 (number of orbitals)
5+
1 (band)
6+
-1.61504998e+00 (Ry)
7+
1.00000000e+00 (Occupations)
8+
-1.72866143e-02 -5.99456067e-03 -5.34191906e-03 -1.82393345e-03 3.81474038e-03 1.36447728e-03 -8.85964599e-07 -2.61984015e-07 -2.75408047e-04 -1.27052492e-04
9+
-4.24499665e-01 -1.45713010e-01 -5.86169187e-02 -2.01467516e-02 -2.11427837e-03 -7.41044937e-04 5.09247744e-05 1.74795289e-05 1.27210160e-02 4.37702185e-03
10+
2.26309869e-03 7.96332432e-04 5.33770479e-05 1.83152090e-05 -2.01472307e-03 -6.74978734e-04 1.04220376e-02 3.57886991e-03 -3.14391917e-08 -1.15419639e-08
11+
3.52617942e-05 1.13457629e-05 2.16465953e-03 7.42688186e-04 1.68690375e-05 5.79879158e-06 -4.44573970e-01 -1.52654787e-01 -4.18992871e-02 -1.43791760e-02
12+
-2.28127928e-03 -8.10773187e-04 9.59711575e-05 3.29569700e-05 -1.27564303e-02 -4.39468556e-03 2.08201888e-03 7.22828918e-04 4.71445851e-05 1.61929902e-05
13+
2.13206866e-03 7.11391918e-04 7.84890037e-03 2.69555297e-03 5.45432457e-08 1.90700550e-08 -2.35032102e-05 -7.73995124e-06 2.37211109e-03 8.15505640e-04
14+
-1.84544308e-05 -6.33238911e-06
15+
2 (band)
16+
-7.06349720e-01 (Ry)
17+
1.00000000e+00 (Occupations)
18+
2.06074879e-01 3.02123398e-02 -1.21303722e-03 -2.31805992e-04 -5.61316296e-03 -9.01585626e-04 -7.23540375e-07 -9.80144900e-08 -9.54179735e-05 4.94900337e-06
19+
-2.42977071e-02 -3.57541548e-03 -9.22518819e-03 -1.32626092e-03 4.08540487e-01 5.98274788e-02 -7.20626114e-08 -8.44783595e-09 -1.11319777e-03 -2.08414002e-04
20+
-8.32956898e-03 -1.21837286e-03 2.64533493e-06 3.79979003e-07 -2.31409570e-03 -3.73202252e-04 6.80491353e-03 1.02620762e-03 6.38662909e-06 9.40989288e-07
21+
-2.85483037e-03 -4.35345892e-04 -6.68802745e-05 -2.15266879e-05 1.86538501e-06 2.80957613e-07 -1.91303168e-02 -2.67363724e-03 -1.15954159e-02 -1.75691905e-03
22+
4.05622158e-01 5.94350572e-02 1.06253894e-05 1.57596840e-06 -1.87822697e-03 -2.96500551e-04 -4.88002267e-03 -6.79366375e-04 4.55291546e-06 6.80250561e-07
23+
3.19659399e-04 3.49489447e-05 6.64256871e-03 1.00534400e-03 -6.37869774e-06 -9.28346374e-07 2.58074689e-03 3.93935153e-04 6.03445985e-04 9.34289880e-05
24+
-2.32293561e-07 -3.48055145e-08
25+
3 (band)
26+
-4.80956949e-01 (Ry)
27+
1.00000000e+00 (Occupations)
28+
7.04499072e-01 7.03748101e-02 8.16546200e-02 8.29870844e-03 4.69653954e-03 2.89704283e-04 -2.68583223e-06 -2.40072899e-07 5.64362084e-05 -5.88580721e-06
29+
-5.81888297e-02 -5.74198330e-03 -3.78921653e-03 -2.72955718e-04 -2.28481762e-01 -2.28362877e-02 -2.43817654e-05 -2.49619441e-06 7.11094327e-03 6.85699064e-04
30+
-1.20246039e-03 -1.78251790e-04 1.22338276e-05 1.18812630e-06 -2.26484877e-03 -2.28548440e-04 1.24641442e-02 1.27391191e-03 -3.14589664e-06 -3.15933582e-07
31+
5.13120808e-04 5.22551278e-05 -2.42144918e-04 -6.00510039e-05 2.53400356e-07 2.04350628e-08 -4.88664584e-02 -4.60376851e-03 -7.96005566e-03 -8.14595654e-04
32+
-2.23634244e-01 -2.22918828e-02 4.80495159e-05 4.77168132e-06 -1.49004475e-02 -1.59253169e-03 -7.46051815e-04 -7.67054600e-05 2.99081051e-06 2.54664965e-07
33+
-2.84171174e-03 -3.76078823e-04 1.20857439e-02 1.24038486e-03 4.33430466e-06 4.30114009e-07 -2.94688458e-04 -3.34275526e-05 1.45138229e-03 1.43834046e-04
34+
-5.30573201e-06 -5.21652243e-07
35+
4 (band)
36+
-4.48031918e-01 (Ry)
37+
1.00000000e+00 (Occupations)
38+
-1.27465711e-02 -1.18733437e-03 -6.71588660e-04 -5.76067463e-05 1.19806379e-03 1.07040732e-04 1.34166172e-06 -1.27101455e-07 7.09628082e-04 1.02347858e-04
39+
7.00234386e-03 6.00987256e-04 -2.62602205e-03 -2.29857872e-04 2.78271650e-03 2.48998014e-04 3.79818340e-03 3.52031161e-04 6.29167423e-01 5.83360697e-02
40+
-2.93049005e-04 -3.23656306e-05 -8.05456847e-04 -7.47701080e-05 -1.28046532e-01 -1.18675933e-02 3.10460094e-03 2.71698343e-04 6.03961248e-06 6.39346340e-07
41+
1.02801329e-03 1.16402936e-04 6.57200526e-02 6.09331551e-03 3.27391508e-04 3.04778973e-05 8.23588077e-03 7.81148726e-04 -3.39880169e-03 -3.41863317e-04
42+
2.83056062e-03 2.65358623e-04 -4.08179403e-03 -3.78189066e-04 -6.76777412e-01 -6.27403126e-02 -2.28972389e-04 -1.44245972e-05 6.86828796e-04 6.38892590e-05
43+
1.11839321e-01 1.03764629e-02 3.17271284e-03 2.81867427e-04 -6.36691356e-06 -6.75861314e-07 -1.02513201e-03 -1.13962289e-04 7.20150008e-02 6.67548622e-03
44+
3.68112286e-04 3.42231256e-05
45+
5 (band)
46+
-4.26612427e-01 (Ry)
47+
1.00000000e+00 (Occupations)
48+
1.25125805e-04 1.10481021e-05 1.15585619e-05 1.01447720e-06 -5.37550823e-06 -4.35115707e-07 8.75961319e-05 -3.04014461e-05 -4.28113038e-06 -6.69837643e-07
49+
2.37430144e-05 2.41282572e-06 -1.26357731e-05 -1.21443217e-06 -2.76135642e-05 -2.36769189e-06 6.34037848e-01 5.59388177e-02 -3.82592285e-03 -3.37699547e-04
50+
1.39531938e-06 1.52667517e-07 -1.29952904e-01 -1.14863882e-02 7.48667871e-04 6.60498355e-05 -1.67232818e-05 -1.36789354e-06 1.03018481e-03 1.04196347e-04
51+
-6.38197685e-06 -6.90654992e-07 -4.02391394e-04 -3.55143269e-05 5.53279760e-02 4.90336236e-03 -1.43147821e-04 -1.27551146e-05 7.40523658e-05 6.72013015e-06
52+
-2.78054006e-05 -2.47420010e-06 -6.84283309e-01 -6.03517347e-02 4.12980947e-03 3.64431611e-04 4.75578606e-07 -7.00001797e-09 1.11836283e-01 9.90396375e-03
53+
-6.62792441e-04 -5.85478452e-05 -1.39943872e-05 -1.17326634e-06 -1.03594126e-03 -1.05870866e-04 6.12943841e-06 6.58354042e-07 -4.41349001e-04 -3.89331981e-05
54+
6.24145833e-02 5.52359855e-03
55+
6 (band)
56+
4.06143349e-01 (Ry)
57+
0.00000000e+00 (Occupations)
58+
6.88416816e-06 -5.56540912e-07 -2.62407544e-06 9.21151318e-08 -2.24217597e-06 -2.77234588e-07 8.33659681e-05 2.85131251e-05 2.65945660e-06 -2.15074741e-07
59+
2.42599589e-04 -2.19167107e-05 -2.01679276e-06 8.59661612e-07 -6.30162047e-06 6.29743077e-07 9.69722783e-01 -8.15706171e-02 -7.78561845e-03 6.55760316e-04
60+
6.31589290e-06 -4.48853788e-07 5.64348719e-02 -4.70567960e-03 -4.91725751e-04 4.16428063e-05 -8.07280357e-06 8.69786157e-07 1.38040340e-03 -9.25433977e-05
61+
-1.02966877e-05 5.75319111e-07 1.18075253e-03 -9.93479943e-05 -1.63944229e-01 1.38235844e-02 -2.35599320e-04 2.14663162e-05 1.63046938e-05 -2.10751121e-06
62+
1.92844859e-06 -2.40188995e-07 9.67336735e-01 -8.13660989e-02 -7.75916928e-03 6.53428132e-04 -2.19389817e-06 1.35953804e-07 6.33876014e-02 -5.28859099e-03
63+
-5.53533699e-04 4.67283590e-05 -4.86774214e-06 2.19002424e-07 1.33933300e-03 -8.94690575e-05 -9.56869889e-06 5.05038828e-07 -1.28804168e-03 1.08358750e-04
64+
1.76068598e-01 -1.48418718e-02
65+
7 (band)
66+
4.31724136e-01 (Ry)
67+
0.00000000e+00 (Occupations)
68+
1.78056978e-03 -1.59959213e-04 4.38807199e-05 -1.92340808e-05 1.17387811e-04 -6.97699830e-05 1.28389013e-07 -3.30025921e-07 1.29630474e-04 -1.00018789e-05
69+
9.81466705e-02 -8.97553114e-03 -1.20994663e-02 1.16926277e-03 -7.46145060e-04 8.13492708e-05 -7.69335814e-03 6.88187312e-04 -9.89794368e-01 8.86385329e-02
70+
1.13343837e-03 -8.90981446e-05 -4.87285095e-04 4.32717924e-05 -6.74360400e-02 6.06451610e-03 -3.74395517e-04 5.79496483e-05 -1.08085684e-05 7.76079922e-07
71+
-1.27135045e-03 7.65034019e-05 1.56092028e-01 -1.39661985e-02 1.34574450e-03 -1.20615509e-04 -9.55598601e-02 8.76143025e-03 1.62558356e-02 -1.54766355e-03
72+
-3.94721573e-04 2.30383574e-05 -7.68075543e-03 6.87052989e-04 -9.87234559e-01 8.83969404e-02 -3.04900922e-04 1.98970484e-05 -5.30247378e-04 4.71225663e-05
73+
-7.38355239e-02 6.62406996e-03 -2.16302000e-03 1.68593584e-04 -1.07498009e-05 7.74024069e-07 -1.23744791e-03 7.21945144e-05 -1.68638172e-01 1.50870797e-02
74+
-1.43515649e-03 1.28615837e-04
75+
8 (band)
76+
4.94077928e-01 (Ry)
77+
0.00000000e+00 (Occupations)
78+
-2.57667685e-01 2.69916354e-02 -3.75569182e-02 3.65230538e-03 -5.43549174e-02 5.45742740e-03 5.24599616e-08 5.73053083e-09 1.03065045e-04 -1.50963358e-05
79+
-2.52472265e-01 2.58178156e-02 -3.07234346e-01 3.14618963e-02 1.04297046e-01 -1.06577750e-02 1.84051169e-05 -1.82621308e-06 -1.55159777e-02 1.58206396e-03
80+
-7.50990712e-02 7.63624559e-03 -6.93671921e-06 7.48709580e-07 2.67992905e-03 -2.61221803e-04 2.09087868e-01 -2.13925814e-02 4.37325501e-06 -4.57538673e-07
81+
-7.06969558e-04 7.23727065e-05 8.48239480e-04 -7.07009614e-05 3.25785952e-05 -3.36201840e-06 -1.56261874e-01 1.59690266e-02 -3.31733819e-01 3.39853357e-02
82+
9.77889020e-02 -1.00124112e-02 -5.87632480e-06 5.99468467e-07 3.51830068e-03 -3.46682159e-04 -7.41876808e-02 7.51968542e-03 5.06892233e-05 -5.17556029e-06
83+
-2.80019239e-03 2.88504548e-04 2.08420372e-01 -2.13297092e-02 -5.58825950e-06 5.72076923e-07 6.14458316e-04 -5.96456211e-05 -1.82728932e-03 1.97381619e-04
84+
7.59748898e-06 -8.17807801e-07
85+
9 (band)
86+
7.34727750e-01 (Ry)
87+
0.00000000e+00 (Occupations)
88+
-2.49479590e-03 3.84703019e-04 9.61985082e-04 -1.35924189e-04 -4.16886827e-04 1.02519856e-04 3.19135289e-07 5.99400793e-09 -8.41867345e-04 2.42449140e-04
89+
2.25179349e+00 -3.44495191e-01 -3.73127196e-01 5.71909515e-02 4.81741340e-02 -7.26974273e-03 2.85534853e-04 -4.36342305e-05 3.83766630e-02 -5.89159595e-03
90+
1.07836194e-02 -1.60158421e-03 8.44906301e-05 -1.28963866e-05 4.67143531e-03 -7.34172895e-04 1.38579480e-01 -2.11680777e-02 8.02627361e-07 -1.11301104e-07
91+
8.18207329e-05 -2.18813090e-05 -7.72395800e-03 1.17831109e-03 -5.04914050e-05 7.71441461e-06 -2.25533036e+00 3.45028317e-01 3.67091939e-01 -5.62609889e-02
92+
-4.33242176e-02 6.52681261e-03 3.51704090e-04 -5.37576825e-05 3.91751827e-02 -6.00382956e-03 -1.61765558e-02 2.42121681e-03 1.59604463e-04 -2.43839089e-05
93+
5.66821843e-03 -8.75655428e-04 -1.30485765e-01 1.99322280e-02 6.00452679e-07 -8.61000472e-08 1.24153720e-04 -2.66942173e-05 8.32501977e-03 -1.26741915e-03
94+
5.90084070e-05 -9.02098979e-06
95+
10 (band)
96+
9.19989236e-01 (Ry)
97+
0.00000000e+00 (Occupations)
98+
1.41114721e-02 -2.75295891e-03 3.55234542e-03 -6.65068020e-04 3.52754130e-03 -6.55135501e-04 3.52953134e-07 2.35845079e-08 1.69314299e-03 -2.24396519e-04
99+
-6.08261365e-02 1.13651292e-02 1.25891335e-02 -2.24207648e-03 1.46454809e+00 -2.81138982e-01 -7.30653829e-06 1.37525109e-06 -2.83025359e-03 4.99213855e-04
100+
3.11106519e-01 -5.96855797e-02 -2.52008775e-06 4.52899174e-07 -1.45764014e-03 2.57107803e-04 -5.64828565e-03 1.12548223e-03 9.80334368e-07 -1.88838114e-07
101+
-3.39974801e-03 6.22177375e-04 3.60469799e-04 -8.64474669e-05 8.38382854e-07 -1.65419230e-07 6.28874768e-02 -1.17632143e-02 -3.71545858e-03 5.31754623e-04
102+
-1.44801285e+00 2.77966119e-01 -1.05703268e-05 2.00355484e-06 -3.11291460e-03 5.55670522e-04 -3.38384876e-01 6.49305086e-02 -6.51067389e-06 1.23461483e-06
103+
-1.43844718e-03 2.60422624e-04 -1.73867017e-03 2.96194470e-04 -7.81764901e-08 1.01403795e-09 -2.57872143e-03 4.67919164e-04 -3.98776641e-04 9.04655072e-05
104+
-1.81383112e-06 3.50515924e-07

tests/05_rtTDDFT/CASES_CPU.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
01_NO_KP_ocp_TDDFT
2-
02_NO_CH_TDDFT
2+
02_NO_CH_OW_TDDFT
33
03_NO_CO_TDDFT
44
04_NO_CO_ocp_TDDFT
55
05_NO_cur_TDDFT

0 commit comments

Comments
 (0)