small tweak
This commit is contained in:
@ -27,7 +27,6 @@ public:
|
|||||||
// execute LAMMPS in runner thread
|
// execute LAMMPS in runner thread
|
||||||
void run() override
|
void run() override
|
||||||
{
|
{
|
||||||
lammps->command("clear");
|
|
||||||
lammps->commands_string(input);
|
lammps->commands_string(input);
|
||||||
delete[] input;
|
delete[] input;
|
||||||
emit resultReady();
|
emit resultReady();
|
||||||
@ -38,6 +37,7 @@ public:
|
|||||||
{
|
{
|
||||||
lammps = _lammps;
|
lammps = _lammps;
|
||||||
input = _input;
|
input = _input;
|
||||||
|
lammps->command("clear");
|
||||||
}
|
}
|
||||||
|
|
||||||
signals:
|
signals:
|
||||||
|
|||||||
Reference in New Issue
Block a user