update LAMMPS GUI to version 1.2

This commit is contained in:
Axel Kohlmeyer
2023-08-16 02:33:18 -04:00
parent e32ae65aa1
commit 088ff4ad27
80 changed files with 3779 additions and 538 deletions

View File

@ -27,17 +27,17 @@ public:
// execute LAMMPS in runner thread
void run() override
{
lammps->command("clear");
lammps->commands_string(input);
delete[] input;
emit resultReady();
}
// transfer info to worker thread
// transfer info to worker thread and reset LAMMPS instance
void setup_run(LammpsWrapper *_lammps, const char *_input)
{
lammps = _lammps;
input = _input;
lammps->command("clear");
}
signals: