re-enable the "timers" command that got somehow lost
This commit is contained in:
@ -41,6 +41,7 @@
|
||||
#include "update.h"
|
||||
#include "neighbor.h"
|
||||
#include "special.h"
|
||||
#include "timer.h"
|
||||
#include "variable.h"
|
||||
#include "accelerator_cuda.h"
|
||||
#include "error.h"
|
||||
@ -583,6 +584,7 @@ int Input::execute_command()
|
||||
else if (!strcmp(command,"thermo_modify")) thermo_modify();
|
||||
else if (!strcmp(command,"thermo_style")) thermo_style();
|
||||
else if (!strcmp(command,"timestep")) timestep();
|
||||
else if (!strcmp(command,"timers")) timers();
|
||||
else if (!strcmp(command,"uncompute")) uncompute();
|
||||
else if (!strcmp(command,"undump")) undump();
|
||||
else if (!strcmp(command,"unfix")) unfix();
|
||||
@ -1537,6 +1539,13 @@ void Input::thermo_style()
|
||||
|
||||
/* ---------------------------------------------------------------------- */
|
||||
|
||||
void Input::timers()
|
||||
{
|
||||
timer->modify_params(narg,arg);
|
||||
}
|
||||
|
||||
/* ---------------------------------------------------------------------- */
|
||||
|
||||
void Input::timestep()
|
||||
{
|
||||
if (narg != 1) error->all(FLERR,"Illegal timestep command");
|
||||
|
||||
Reference in New Issue
Block a user