Skip to content

Commit

Permalink
Make sure Lennard Jones is always available
Browse files Browse the repository at this point in the history
Signed-off-by: Geoff Hutchison <[email protected]>
  • Loading branch information
ghutchis committed Dec 6, 2024
1 parent 45b4c49 commit ea0679b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions avogadro/calc/lennardjones.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ class AVOGADROCALC_EXPORT LennardJones : public EnergyCalculator
return "Universal Lennard-Jones potential";
}

bool acceptsIons() const override { return true; }
bool acceptsRadicals() const override { return true; }
bool acceptsUnitCell() const override { return true; }

Core::Molecule::ElementMask elements() const override { return (m_elements); }
Expand Down

0 comments on commit ea0679b

Please sign in to comment.