Skip to content
This repository has been archived by the owner on Sep 27, 2021. It is now read-only.

Commit

Permalink
Merge pull request #707 from votca/stable_format
Browse files Browse the repository at this point in the history
format code
  • Loading branch information
junghans committed Aug 13, 2021
2 parents d51ca14 + 3b4be2a commit 8d3e8d0
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 40 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ For more detailed information about the changes see the history of the
Version 2021.2 (released XX.07.21)
==================================

- made masses in test more accurate. (#705)
- made masses in test more accurate (#705)
- format code with clang-12.0.1 (#707)

Version 2021.1 (released 18.07.21)
==================================
Expand Down
11 changes: 5 additions & 6 deletions src/csgapps/orientcorr/orientcorr.cc
Original file line number Diff line number Diff line change
Expand Up @@ -115,12 +115,11 @@ void OrientCorrApp::Initialize() {
"cutoff for the neighbor search")(
"nbins",
boost::program_options::value<votca::Index>(&_nbins)->default_value(40),
"number of bins for the grid")("nbmethod",
boost::program_options::value<string>(
&_nbmethod)
->default_value("grid"),
"neighbor search algorithm (simple or "
"grid)");
"number of bins for the grid")(
"nbmethod",
boost::program_options::value<string>(&_nbmethod)->default_value("grid"),
"neighbor search algorithm (simple or "
"grid)");
}

NBList *OrientCorrApp::CreateNBSearch() {
Expand Down
26 changes: 13 additions & 13 deletions src/tools/csg_map.cc
Original file line number Diff line number Diff line change
Expand Up @@ -55,19 +55,19 @@ class CsgMapApp : public CsgApplication {
CsgApplication::Initialize();
AddProgramOptions()("out", boost::program_options::value<string>(),
" output file for coarse-grained trajectory")(
"vel",
" Write mapped velocities (if available)")("force",
" Write mapped forces (if "
"available)")("hybrid",
" Create "
"hybrid "
"trajectory "
"containing "
"both "
"atomistic "
"and "
"coarse-"
"grained");
"vel", " Write mapped velocities (if available)")(
"force",
" Write mapped forces (if "
"available)")("hybrid",
" Create "
"hybrid "
"trajectory "
"containing "
"both "
"atomistic "
"and "
"coarse-"
"grained");
}

bool EvaluateOptions() override {
Expand Down
34 changes: 14 additions & 20 deletions src/tools/csg_stat.cc
Original file line number Diff line number Diff line change
Expand Up @@ -71,26 +71,20 @@ void CsgStatApp::Initialize() {
AddProgramOptions("Specific options")("options",
boost::program_options::value<string>(),
" options file for coarse graining")(
"do-imc",
" write out additional Inverse Monte Carlo data")("block-length",
boost::program_options::
value<votca::
Index>(),
" write blocks of "
"this length, the "
"averages are cleared "
"after every "
"write")("ext",
boost::program_options::value<
string>(
&_extension)
->default_value(
"dist"
".ne"
"w"),
"Extension "
"of the "
"output");
"do-imc", " write out additional Inverse Monte Carlo data")(
"block-length", boost::program_options::value<votca::Index>(),
" write blocks of "
"this length, the "
"averages are cleared "
"after every "
"write")("ext",
boost::program_options::value<string>(&_extension)
->default_value("dist"
".ne"
"w"),
"Extension "
"of the "
"output");
}

bool CsgStatApp::EvaluateOptions() {
Expand Down

0 comments on commit 8d3e8d0

Please sign in to comment.