Skip to content

Commit 63d1d27

Browse files
authored
Fix: add repo and docs site to output (#1816)
* Fix: add repo and docs site to output * Update style * Update the screen output format
1 parent e660eb9 commit 63d1d27

File tree

2 files changed

+23
-23
lines changed

2 files changed

+23
-23
lines changed

source/module_io/input.cpp

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -65,25 +65,24 @@ void Input::Init(const std::string &fn)
6565
time_t time_now = time(NULL);
6666
GlobalV::ofs_running << " "
6767
<< std::endl;
68-
GlobalV::ofs_running << " WELCOME TO ABACUS v3.1 "
69-
<< std::endl;
70-
GlobalV::ofs_running << " "
71-
<< std::endl;
72-
GlobalV::ofs_running << " 'Atomic-orbital Based Ab-initio Computation at UStc' "
73-
<< std::endl;
74-
GlobalV::ofs_running << " "
75-
<< std::endl;
68+
GlobalV::ofs_running << " ABACUS v3.1 "
69+
<< std::endl << std::endl;
70+
GlobalV::ofs_running << " Atomic-orbital Based Ab-initio Computation at UStc "
71+
<< std::endl << std::endl;
7672
GlobalV::ofs_running << " Website: http://abacus.ustc.edu.cn/ "
7773
<< std::endl;
78-
GlobalV::ofs_running << " "
74+
GlobalV::ofs_running << " Documentation: https://abacus.deepmodeling.com/ "
7975
<< std::endl;
80-
76+
GlobalV::ofs_running << " Repository: https://github.com/abacusmodeling/abacus-develop "
77+
<< std::endl;
78+
GlobalV::ofs_running << " https://github.com/deepmodeling/abacus-develop "
79+
<< std::endl << std::endl;
8180
GlobalV::ofs_running << std::setiosflags(ios::right);
8281

8382
#ifdef __MPI
8483
// GlobalV::ofs_running << " Version: Parallel, under ALPHA test" << std::endl;
85-
GlobalV::ofs_running << " Version: Parallel, in development" << std::endl;
86-
GlobalV::ofs_running << " Processor Number is " << GlobalV::NPROC << std::endl;
84+
// GlobalV::ofs_running << " Version: Parallel, in development" << std::endl;
85+
// GlobalV::ofs_running << " Processor Number is " << GlobalV::NPROC << std::endl;
8786
ModuleBase::TITLE("Input", "init");
8887
ModuleBase::TITLE("Input", "Bcast");
8988
#else
@@ -432,7 +431,7 @@ void Input::Default(void)
432431
td_gauss_freq = 22.13; // fs^-1
433432
td_gauss_phase = 0.0;
434433
td_gauss_sigma = 30.0; // fs
435-
td_gauss_t0 = 100.0;
434+
td_gauss_t0 = 100.0;
436435
td_gauss_amp = 0.25; // V/A
437436

438437
// Trapezoid

source/src_parallel/parallel_global.cpp

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -206,16 +206,17 @@ void Parallel_Global::read_mpi_parameters(int argc,char **argv)
206206

207207
if (GlobalV::MY_RANK == 0)
208208
{
209-
std::cout << " *********************************************************" << std::endl;
210-
std::cout << " * *" << std::endl;
211-
std::cout << " * WELCOME TO ABACUS v3.1 *" << std::endl;
212-
std::cout << " * *" << std::endl;
213-
std::cout << " * 'Atomic-orbital Based Ab-initio *" << std::endl;
214-
std::cout << " * Computation at UStc' *" << std::endl;
215-
std::cout << " * *" << std::endl;
216-
std::cout << " * Website: http://abacus.ustc.edu.cn/ *" << std::endl;
217-
std::cout << " * *" << std::endl;
218-
std::cout << " *********************************************************" << std::endl;
209+
std::cout
210+
<< " " << std::endl
211+
<< " ABACUS v3.1 " << std::endl
212+
<< std::endl
213+
<< " Atomic-orbital Based Ab-initio Computation at UStc " << std::endl
214+
<< std::endl
215+
<< " Website: http://abacus.ustc.edu.cn/ " << std::endl
216+
<< " Documentation: https://abacus.deepmodeling.com/ " << std::endl
217+
<< " Repository: https://github.com/abacusmodeling/abacus-develop " << std::endl
218+
<< " https://github.com/deepmodeling/abacus-develop " << std::endl
219+
<< std::endl;
219220
time_t time_now = time(NULL);
220221
std::cout << " " << ctime(&time_now);
221222
}

0 commit comments

Comments
 (0)