must stop running LAMMPS simulation before we can close the lammps object

This commit is contained in:
Axel Kohlmeyer
2023-08-16 13:06:09 -04:00
parent ebbce58da6
commit 2c8a3d87a0
2 changed files with 21 additions and 1 deletions

View File

@ -26,6 +26,7 @@
// forward declarations
class GeneralTab;
class LammpsRunner;
QT_BEGIN_NAMESPACE
namespace Ui {
@ -114,6 +115,7 @@ private:
QList<QPair<QString, QString>> variables;
LammpsWrapper lammps;
LammpsRunner *runner;
std::string plugin_path;
bool is_running;
std::vector<char *> lammps_args;