Structural Bioinformatics Library
Template C++ / Python API for developping structural bioinformatics applications.
T_Molecular_potential_energy< Contribution, Contributions > Class Template Reference

Potential energy function adding up all the input contributions (C++11 only). More...

#include <Molecular_potential_energy.hpp>

Detailed Description

template<class Contribution, typename... Contributions>
class SBL::CSB::T_Molecular_potential_energy< Contribution, Contributions >

Potential energy function adding up all the input contributions (C++11 only).

It uses variadic templates for adding up different contributions.

Template Parameters
Contributionmodel of a functor taking a conformation and its covalent structure and returning a given energy contribution.
ContributionsWith C++11, it is possible to add different contributions through the variadic template feature.