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

This commit is contained in:
sjplimp
2010-09-08 23:41:16 +00:00
parent 3d06684857
commit b015f75194
20 changed files with 25 additions and 24 deletions

View File

@ -106,7 +106,8 @@ void Error::one(const char *str)
only write to screen if non-NULL on this proc since could be file
------------------------------------------------------------------------- */
void Error::warning(const char *str)
void Error::warning(const char *str, int logflag)
{
if (screen) fprintf(screen,"WARNING: %s\n",str);
if (logflag && logfile) fprintf(logfile,"WARNING: %s\n",str);
}