Skip to content

Commit 608488e

Browse files
committed
remove k in hkk1.txt skk1.txt tkk1.txt
1 parent 05332c0 commit 608488e

File tree

5 files changed

+11
-3
lines changed

5 files changed

+11
-3
lines changed

source/source_io/filename.cpp

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,15 @@ std::string filename_output(
7979
}
8080
else
8181
{
82-
kpoint_block = "k" + std::to_string(ik0+1);
82+
// mohan add 20250921
83+
if(property=="hk" || property=="sk" || property=="tk")
84+
{
85+
kpoint_block = std::to_string(ik0+1);
86+
}
87+
else
88+
{
89+
kpoint_block = "k" + std::to_string(ik0+1);
90+
}
8391
}
8492

8593
std::string istep_block

tests/integrate/tools/catch_properties.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,8 +183,8 @@ fi
183183
#echo $out_pot2
184184
#-------------------------------
185185
if ! test -z "$out_pot" && [ $out_pot == 2 ]; then
186-
pot1ref=pot_es.cube.ref
187-
pot1cal=OUT.autotest/pot_es.cube
186+
pot1ref=potes.cube.ref
187+
pot1cal=OUT.autotest/potes.cube
188188
python3 $COMPARE_SCRIPT $pot1ref $pot1cal 8
189189
echo "ComparePot_pass $?" >>$1
190190
fi

0 commit comments

Comments
 (0)