git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@15250 f3b2605a-c512-4ea7-a41b-209d697bcdaa

This commit is contained in:
sjplimp
2016-07-01 23:31:09 +00:00
parent a99c922a14
commit 88812c44fb
9 changed files with 40 additions and 6 deletions

View File

@ -263,6 +263,12 @@ bool Timer::_check_timeout()
}
}
/* ---------------------------------------------------------------------- */
double Timer::get_timeout_remain()
{
return (_timeout < 0.0) ? 0.0 : _timeout + timeout_start - MPI_Wtime();
}
/* ----------------------------------------------------------------------
modify parameters of the Timer class
------------------------------------------------------------------------- */