Simpatico
v1.10
|
Bond interaction classes are used in bond potential class templates to implement bond potential classes both the McMd and DdMd namespaces, in the templates McMd::BondPotentialImpl and DdMd::BondPotentialImpl. These templates call specific functions by name, and thus define an implicit interface that must be implemented by all bond interaction classes.
Here is a prototype class definition that shows the signatures for all of the required functions, for a hypothetical interaction class called Bond: