From f1df629dd14c968370545bb92dda6ee11011fc10 Mon Sep 17 00:00:00 2001 From: denghuilu Date: Mon, 15 Jan 2024 17:18:38 +0800 Subject: [PATCH] output the default precision flag --- source/module_io/write_input.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/source/module_io/write_input.cpp b/source/module_io/write_input.cpp index 5c0fc4cada..5fe83f83c8 100644 --- a/source/module_io/write_input.cpp +++ b/source/module_io/write_input.cpp @@ -85,6 +85,7 @@ void Input::Print(const std::string &fn) const ModuleBase::GlobalFunc::OUTP(ofs, "cal_force", cal_force, "if calculate the force at the end of the electronic iteration"); ModuleBase::GlobalFunc::OUTP(ofs, "out_freq_ion", out_freq_ion, "the frequency ( >= 0 ) of ionic step to output charge density and wavefunction. 0: output only when ion steps are finished"); ModuleBase::GlobalFunc::OUTP(ofs, "device", device, "the computing device for ABACUS"); + ModuleBase::GlobalFunc::OUTP(ofs, "precision", precision, "the computing precision for ABACUS"); ofs << "\n#Parameters (2.PW)" << std::endl; ModuleBase::GlobalFunc::OUTP(ofs, "ecutwfc", ecutwfc, "#energy cutoff for wave functions");