From fa2cffc968a7f2315a89074f6bc0cb320ed8364e Mon Sep 17 00:00:00 2001
From: Gareth Tribello <gareth.tribello@gmail.com>
Date: Sun, 28 May 2017 13:26:57 +0200
Subject: [PATCH] Added references to Bernd's papers

---
 src/mapping/AdaptivePath.cpp |  2 ++
 user-doc/bibliography.bib    | 10 ++++++++++
 2 files changed, 12 insertions(+)

diff --git a/src/mapping/AdaptivePath.cpp b/src/mapping/AdaptivePath.cpp
index a84d34d2a..12beb19ed 100644
--- a/src/mapping/AdaptivePath.cpp
+++ b/src/mapping/AdaptivePath.cpp
@@ -24,6 +24,7 @@
 #include "PathReparameterization.h"
 #include "reference/Direction.h"
 #include "core/ActionRegister.h"
+#include "core/PlumedMain.h"
 
 //+PLUMEDOC COLVAR ADAPTIVE_PATH
 /*
@@ -165,6 +166,7 @@ AdaptivePath::AdaptivePath(const ActionOptions& ao):
     if( wstride<update_str ) error("makes no sense to write out path more frequently than update stride");
     log.printf("  writing path out every %u steps to file named %s with format %s \n",wstride,wfilename.c_str(),ofmt.c_str());
   }
+  log<<"  Bibliography "<<plumed.cite("Diaz Leines and Ensing, Phys. Rev. Lett. 109, 020601 (2012)")<<"\n";
 }
 
 void AdaptivePath::calculate() {
diff --git a/user-doc/bibliography.bib b/user-doc/bibliography.bib
index 8bdbdf11a..56d6c0c7e 100644
--- a/user-doc/bibliography.bib
+++ b/user-doc/bibliography.bib
@@ -2510,3 +2510,13 @@ year = {2014}
   year={2009},
   publisher={AIP}
 }
+
+@article{BerndAdaptivePath,
+  Author = {Grisell DĂ­az Leines and Bernd Ensing},
+  Journal = {Phys. Rev. Lett.},
+  Month = {Feb},
+  Pages = {020601},
+  Title = {Path finding on high-dimensional free energy landscapes},
+  Volume = {109},
+  Year = {2012}
+}
-- 
GitLab