Skip to content

Commit

Permalink
Support keyword used in state file for grids
Browse files Browse the repository at this point in the history
  • Loading branch information
jhenin committed Sep 23, 2024
1 parent 3a40dbb commit 7b51989
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/colvargrid_def.h
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,8 @@ template <class T> int colvar_grid<T>::parse_params(std::string const &conf,
upper_boundaries, upper_boundaries, parse_mode);

colvarparse::get_keyval(conf, "width", widths, widths, parse_mode);
// Plural form in state file
colvarparse::get_keyval(conf, "widths", widths, widths, parse_mode);

// only used in state file
colvarparse::get_keyval(conf, "sizes", nx, nx, colvarparse::parse_silent);
Expand Down

0 comments on commit 7b51989

Please sign in to comment.