Automatic Gradient Computation for Collective Variables in PLUMED 2. Toni Giorgino arXiv, September, 2017.
Automatic Gradient Computation for Collective Variables in PLUMED 2 [link]Paper  abstract   bibtex   
The proper choice of collective variables (CVs) is central to biased-sampling free energy reconstruction methods in molecular dynamics simulations. The PLUMED 2 library provides a C++ framework and several sophisticated CV choices; however, developing new CVs is still time consuming due to the need to implement analytical derivatives of all functions with respect to atomic coordinates. We discuss two solutions to this problem, namely (a) symbolic differentiation and code generation, and (b) automatic code differentiation, in both cases leveraging open-source libraries (SymPy and Stan Math). The two approaches are presented and demonstrated in detail implementing a realistic example CV, the local radius of curvature of a polymer. Users may use the code as a template to streamline the implementation of their own CVs using high-level constructs and automatic gradient computation.
@article{toni_giorgino_automatic_2017,
	title = {Automatic {Gradient} {Computation} for {Collective} {Variables} in {PLUMED} 2},
	url = {https://arxiv.org/abs/1709.06780v1},
	abstract = {The proper choice of collective variables (CVs) is central to biased-sampling free energy reconstruction methods in molecular dynamics simulations. The PLUMED 2 library provides a C++ framework and several sophisticated CV choices; however, developing new CVs is still time consuming due to the need to implement analytical derivatives of all functions with respect to atomic coordinates. We discuss two solutions to this problem, namely (a) symbolic differentiation and code generation, and (b) automatic code differentiation, in both cases leveraging open-source libraries (SymPy and Stan Math). The two approaches are presented and demonstrated in detail implementing a realistic example CV, the local radius of curvature of a polymer. Users may use the code as a template to streamline the implementation of their own CVs using high-level constructs and automatic gradient computation.},
	journal = {arXiv},
	author = {{Toni Giorgino}},
	month = sep,
	year = {2017},
	keywords = {computational physics, uses sympy},
}

Downloads: 0