Skip to content

Commit

Permalink
Modified output format for *.fcs.
Browse files Browse the repository at this point in the history
  • Loading branch information
ttadano committed Jun 27, 2015
1 parent 41db0d0 commit a5f6d9f
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions alm/writes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -109,15 +109,14 @@ void Writes::write_force_constants()
ofs_fcs.open(files->file_fcs.c_str(), std::ios::out);
if(!ofs_fcs) error->exit("openfiles", "cannot open fcs file");

ofs_fcs << " ******************** Force Constants (FCs) ********************" << std::endl;
ofs_fcs << " * Force constants are printed in Rydberg atomic units. *" << std::endl;
ofs_fcs << " * FC2: Ry/a0^2 FC3: Ry/a0^3 FC4: Ry/a0^4 etc. *" << std::endl;
ofs_fcs << " * FC?: Ry/a0^? *" << std::endl;
ofs_fcs << " * a0= Bohr radius *" << std::endl;
ofs_fcs << " * *" << std::endl;
ofs_fcs << " * The value shown in the last column is the distance *" << std::endl;
ofs_fcs << " * between the most distant atomic pairs. *" << std::endl;
ofs_fcs << " ***************************************************************" << std::endl;
ofs_fcs << " *********************** Force Constants (FCs) ***********************" << std::endl;
ofs_fcs << " * Force constants are printed in Rydberg atomic units. *" << std::endl;
ofs_fcs << " * FC2: Ry/a0^2 FC3: Ry/a0^3 FC4: Ry/a0^4 etc. *" << std::endl;
ofs_fcs << " * FC?: Ry/a0^? a0 = Bohr radius *" << std::endl;
ofs_fcs << " * *" << std::endl;
ofs_fcs << " * The value shown in the last column is the distance *" << std::endl;
ofs_fcs << " * between the most distant atomic pairs. *" << std::endl;
ofs_fcs << " *********************************************************************" << std::endl;
ofs_fcs << std::endl;
ofs_fcs << " ----------------------------------------------------------------------" << std::endl;
ofs_fcs << " Index FCs P Pairs Distance [Bohr]" << std::endl;
Expand Down

0 comments on commit a5f6d9f

Please sign in to comment.