update LAMMPS GUI to version 1.2
This commit is contained in:
@ -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:
|
||||
|
||||
Reference in New Issue
Block a user