pabloalcain / pexmd

A parallel and extendable molecular dynamics code
Other
1 stars 5 forks source link

Interaction: how to extend #12

Closed pabloalcain closed 6 years ago

pabloalcain commented 6 years ago

pair_force and pair_energ methods in LennardJones class should actually belong to parent! This way, adding a new interaction is just modifying the formula of the interaction.