Skip to content

Commit

Permalink
useHillsReflection if off by default for now, this should change and …
Browse files Browse the repository at this point in the history
…should be set on automatically when using grids
  • Loading branch information
fabsugar committed Feb 8, 2025
1 parent 9a3b335 commit 92a8d2a
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions src/colvarbias_meta.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -342,9 +342,13 @@ int colvarbias_meta::init_reflection_params(std::string const &conf)
size_t j;
size_t jcount;

if (use_grids) {
use_reflection=true;
}
// in future remove the line below and uncomment the three following ones as reflection should be default with grids

use_reflection=false;

//if (use_grids) {
// use_reflection=true;
//}

for ( i = 0; i < num_variables(); i++ ) {
if (!variables(i)->is_enabled(f_cv_periodic)) {
Expand Down

0 comments on commit 92a8d2a

Please sign in to comment.