From ea0679beeb62461b5cdef7b8c2bff2fbcf83a9a7 Mon Sep 17 00:00:00 2001 From: Geoff Hutchison Date: Thu, 5 Dec 2024 21:32:52 -0500 Subject: [PATCH] Make sure Lennard Jones is always available Signed-off-by: Geoff Hutchison --- avogadro/calc/lennardjones.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/avogadro/calc/lennardjones.h b/avogadro/calc/lennardjones.h index ca31279113..821b6827a4 100644 --- a/avogadro/calc/lennardjones.h +++ b/avogadro/calc/lennardjones.h @@ -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); }