Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add an internal implementation of UFF #1963

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
3 changes: 3 additions & 0 deletions avogadro/calc/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ avogadro_headers(Calc
energycalculator.h
energymanager.h
lennardjones.h
uff.h
uffdata.h
)

target_sources(Calc PRIVATE
Expand All @@ -16,6 +18,7 @@ target_sources(Calc PRIVATE
energycalculator.cpp
energymanager.cpp
lennardjones.cpp
uff.cpp
)

avogadro_add_library(Calc)
Expand Down
3 changes: 3 additions & 0 deletions avogadro/calc/energymanager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
#include "energymanager.h"
#include "energycalculator.h"
#include "lennardjones.h"
#include "uff.h"

namespace Avogadro::Calc {

Expand Down Expand Up @@ -92,6 +93,8 @@ EnergyManager::EnergyManager()
// LJ is the fallback, since it can handle anything
// (maybe not well, but it can handle it)
addModel(new LennardJones);
// UFF is good for a wide range of molecules
addModel(new UFF);
}

EnergyManager::~EnergyManager()
Expand Down
Loading
Loading