diff --git a/src/QMCDrivers/DMC/DMCBatched.cpp b/src/QMCDrivers/DMC/DMCBatched.cpp index 5e265bb1c2..58b2e4c08c 100644 --- a/src/QMCDrivers/DMC/DMCBatched.cpp +++ b/src/QMCDrivers/DMC/DMCBatched.cpp @@ -396,7 +396,7 @@ void DMCBatched::process(xmlNodePtr node) app_log() << " Creating the branching engine and walker controler" << std::endl; const auto refE_update_scheme = dmcdriver_input_.get_refenergy_update_scheme(); app_log() << " Reference energy is updated using the " - << (refE_update_scheme == DMCRefEnergyScheme::LEGACY ? "legacy" : "history limited") << " scheme" + << (refE_update_scheme == DMCRefEnergyScheme::UNLIMITED_HISTORY ? "unlimited_history" : "limited_history") << " scheme" << std::endl; branch_engine_ = std::make_unique(qmcdriver_input_.get_tau(), dmcdriver_input_.get_feedback(), refE_update_scheme); diff --git a/src/QMCDrivers/DMC/DMCDriverInput.cpp b/src/QMCDrivers/DMC/DMCDriverInput.cpp index b4cab5512f..d954069722 100644 --- a/src/QMCDrivers/DMC/DMCDriverInput.cpp +++ b/src/QMCDrivers/DMC/DMCDriverInput.cpp @@ -25,7 +25,7 @@ void DMCDriverInput::readXML(xmlNodePtr node) parameter_set_.add(NonLocalMove, "nonlocalmoves", {"no", "yes", "v0", "v1", "v3"}); parameter_set_.add(max_age_, "MaxAge"); parameter_set_.add(feedback_, "feedback"); - parameter_set_.add(refE_update_scheme_str, "refenergy_update_scheme", {"legacy", "limited_history"}); + parameter_set_.add(refE_update_scheme_str, "refenergy_update_scheme", {"unlimited_history", "limited_history"}); // from DMC.cpp put(xmlNodePtr) parameter_set_.add(branch_interval_, "branchInterval"); @@ -68,8 +68,8 @@ void DMCDriverInput::readXML(xmlNodePtr node) if (reserve_ < 1.0) throw std::runtime_error("You can only reserve walkers above the target walker count"); - if (refE_update_scheme_str == "legacy") - refenergy_update_scheme_ = DMCRefEnergyScheme::LEGACY; + if (refE_update_scheme_str == "unlimited_history") + refenergy_update_scheme_ = DMCRefEnergyScheme::UNLIMITED_HISTORY; else refenergy_update_scheme_ = DMCRefEnergyScheme::LIMITED_HISTORY; } diff --git a/src/QMCDrivers/DMC/DMCRefEnergyScheme.h b/src/QMCDrivers/DMC/DMCRefEnergyScheme.h index efef598fa8..caa4d8f339 100644 --- a/src/QMCDrivers/DMC/DMCRefEnergyScheme.h +++ b/src/QMCDrivers/DMC/DMCRefEnergyScheme.h @@ -18,7 +18,7 @@ namespace qmcplusplus */ enum class DMCRefEnergyScheme { - LEGACY, + UNLIMITED_HISTORY, LIMITED_HISTORY }; } // namespace qmcplusplus