git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@7333 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -156,7 +156,7 @@ LAMMPS::LAMMPS(int narg, char **arg, MPI_Comm communicator)
|
||||
} else error->universe_all(FLERR,"Invalid command-line argument");
|
||||
}
|
||||
|
||||
// if no partition command-line switch, universe is one world w/ all procs
|
||||
// if no partition command-line switch, universe is one world with all procs
|
||||
|
||||
if (universe->existflag == 0) universe->add_world(NULL);
|
||||
|
||||
@ -211,8 +211,8 @@ LAMMPS::LAMMPS(int narg, char **arg, MPI_Comm communicator)
|
||||
universe->ulogfile = NULL;
|
||||
}
|
||||
|
||||
// universe does not exist on its own, only a single world
|
||||
// inherit settings from universe
|
||||
// make universe and single world the same, since no partition switch
|
||||
// world inherits settings from universe
|
||||
// set world screen, logfile, communicator, infile
|
||||
// open input script if from file
|
||||
|
||||
@ -237,8 +237,8 @@ LAMMPS::LAMMPS(int narg, char **arg, MPI_Comm communicator)
|
||||
if (logfile) fprintf(logfile,"LAMMPS (%s)\n",universe->version);
|
||||
}
|
||||
|
||||
// universe is one or more worlds
|
||||
// split into separate communicators
|
||||
// universe is one or more worlds, as setup by partition switch
|
||||
// split universe communicator into separate world communicators
|
||||
// set world screen, logfile, communicator, infile
|
||||
// open input script
|
||||
|
||||
|
||||
Reference in New Issue
Block a user