git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@10285 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -64,6 +64,18 @@ void Error::universe_one(const char *file, int line, const char *str)
|
||||
MPI_Abort(universe->uworld,1);
|
||||
}
|
||||
|
||||
/* ----------------------------------------------------------------------
|
||||
called by one proc in universe
|
||||
prints a warning message to the screen
|
||||
------------------------------------------------------------------------- */
|
||||
|
||||
void Error::universe_warn(const char *file, int line, const char *str)
|
||||
{
|
||||
if (universe->uscreen)
|
||||
fprintf(universe->uscreen,"WARNING on proc %d: %s (%s:%d)\n",
|
||||
universe->me,str,file,line);
|
||||
}
|
||||
|
||||
/* ----------------------------------------------------------------------
|
||||
called by all procs in one world
|
||||
close all output, screen, and log files in world
|
||||
|
||||
Reference in New Issue
Block a user