Skip to content

Commit 4306220

Browse files
committed
.dat -> .txt
1 parent 2b8daa1 commit 4306220

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

docs/advanced/input_files/input-main.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1978,7 +1978,7 @@ These variables are used to control the output of properties.
19781978

19791979
- **Type**: Boolean
19801980
- **Description**: Generate output files used in rpa calculations.
1981-
- **Note**: If [`symmetry`](#symmetry) is set to 1, additional files containing the necessary information for exploiting symmetry in the subsequent rpa calculation will be output: `irreducible_sector.dat`, `symrot_k.dat` and `symrot_R.dat`
1981+
- **Note**: If [`symmetry`](#symmetry) is set to 1, additional files containing the necessary information for exploiting symmetry in the subsequent rpa calculation will be output: `irreducible_sector.txt`, `symrot_k.txt` and `symrot_R.txt`
19821982
- **Default**: False
19831983

19841984
### out_pchg

source/source_lcao/module_ri/RPA_LRI.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ void RPA_LRI<T, Tdata>::cal_postSCF_exx(const elecstate::DensityMatrix<T, Tdata>
9696
// set Lmax of the rotation matrices to max(l_ao, l_abf), to support rotation under ABF
9797
symrot.set_abfs_Lmax(GlobalC::exx_info.info_ri.abfs_Lmax);
9898
symrot.cal_Ms(kv, ucell, *dm.get_paraV_pointer());
99-
// output Ts (symrot_R.dat) and Ms (symrot_k.dat)
99+
// output Ts (symrot_R.txt) and Ms (symrot_k.txt)
100100
ModuleSymmetry::print_symrot_info_R(symrot, ucell.symm, ucell.lmax, Rs);
101101
ModuleSymmetry::print_symrot_info_k(symrot, kv, ucell);
102102
mix_DMk_2D.mix(symrot.restore_dm(kv, dm.get_DMK_vector(), *dm.get_paraV_pointer()), true);

source/source_lcao/module_ri/module_exx_symmetry/irreducible_sector.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ namespace ModuleSymmetry
148148
if(GlobalV::MY_RANK == 0)
149149
{
150150
std::ofstream ofs;
151-
ofs.open(PARAM.globalv.global_out_dir + "irreducible_sector.dat");
151+
ofs.open(PARAM.globalv.global_out_dir + "irreducible_sector.txt");
152152
for (auto& irap_irR : this->irreducible_sector_)
153153
{
154154
for (auto& irR : irap_irR.second){ofs << "atompair (" << irap_irR.first.first << ", " << irap_irR.first.second << "), R = (" << irR[0] << ", " << irR[1] << ", " << irR[2] << ") \n";}

source/source_lcao/module_ri/module_exx_symmetry/symmetry_rotation_output.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ namespace ModuleSymmetry
1515
const int lmax_ao, const std::vector<TC>& Rs)
1616
{
1717
ModuleBase::TITLE("ModuleSymmetry", "print_symrot_info_R");
18-
std::ofstream ofs(PARAM.globalv.global_out_dir + "symrot_R.dat");
18+
std::ofstream ofs(PARAM.globalv.global_out_dir + "symrot_R.txt");
1919
// Print the irreducible sector (to be optimized)
2020
ofs << "Number of irreducible sector: " << symrot.get_irreducible_sector().size() << std::endl;
2121
ofs << "Lmax of AOs: " << lmax_ao << "\n";
@@ -54,7 +54,7 @@ namespace ModuleSymmetry
5454
void print_symrot_info_k(const Symmetry_rotation& symrot, const K_Vectors& kv, const UnitCell& ucell)
5555
{
5656
ModuleBase::TITLE("Symmetry_rotation", "print_symrot_info_k");
57-
std::ofstream ofs(PARAM.globalv.global_out_dir + "symrot_k.dat");
57+
std::ofstream ofs(PARAM.globalv.global_out_dir + "symrot_k.txt");
5858
ofs << "Number of IBZ k-points (k stars): " << kv.kstars.size() << std::endl;
5959
ofs << "Format:\n" << "The symmetry operation index to the irreducible k-point. For the irreducible k-points, isym=0.\n\n"
6060
<< "(The direct coordinate of the original k-point)\n"

0 commit comments

Comments
 (0)