port documentation spelling fixes to comments or strings in source code.

This commit is contained in:
Axel Kohlmeyer 2018-11-19 16:15:24 -05:00
parent 13ae678f39
commit b34dac41c2
28 changed files with 33 additions and 33 deletions

View File

@ -202,7 +202,7 @@ void PPPMKokkos<DeviceType>::init()
if (!atomKK->q_flag) error->all(FLERR,"Kspace style requires atomKK attribute q");
if (slabflag == 0 && domain->nonperiodic > 0)
error->all(FLERR,"Cannot use nonperiodic boundaries with PPPM");
error->all(FLERR,"Cannot use non-periodic boundaries with PPPM");
if (slabflag) {
if (domain->xperiodic != 1 || domain->yperiodic != 1 ||
domain->boundary[2][0] != 1 || domain->boundary[2][1] != 1)
@ -371,7 +371,7 @@ void PPPMKokkos<DeviceType>::setup()
// perform some checks to avoid illegal boundaries with read_data
if (slabflag == 0 && domain->nonperiodic > 0)
error->all(FLERR,"Cannot use nonperiodic boundaries with PPPM");
error->all(FLERR,"Cannot use non-periodic boundaries with PPPM");
if (slabflag) {
if (domain->xperiodic != 1 || domain->yperiodic != 1 ||
domain->boundary[2][0] != 1 || domain->boundary[2][1] != 1)

View File

@ -454,7 +454,7 @@ E: Kspace style requires atomKK attribute q
UNDOCUMENTED
E: Cannot use nonperiodic boundaries with PPPM
E: Cannot use non-periodic boundaries with PPPM
For kspace style pppm, all 3 dimensions must have periodic boundaries
unless you use the kspace_modify command to define a 2d slab with a

View File

@ -105,7 +105,7 @@ void Ewald::init()
if (!atom->q_flag) error->all(FLERR,"Kspace style requires atom attribute q");
if (slabflag == 0 && domain->nonperiodic > 0)
error->all(FLERR,"Cannot use nonperiodic boundaries with Ewald");
error->all(FLERR,"Cannot use non-periodic boundaries with Ewald");
if (slabflag) {
if (domain->xperiodic != 1 || domain->yperiodic != 1 ||
domain->boundary[2][0] != 1 || domain->boundary[2][1] != 1)

View File

@ -99,7 +99,7 @@ E: Kspace style requires atom attribute q
The atom style defined does not have these attributes.
E: Cannot use nonperiodic boundaries with Ewald
E: Cannot use non-periodic boundaries with Ewald
For kspace style ewald, all 3 dimensions must have periodic boundaries
unless you use the kspace_modify command to define a 2d slab with a

View File

@ -100,7 +100,7 @@ void EwaldDisp::init()
if (domain->dimension == 2)
error->all(FLERR,"Cannot use EwaldDisp with 2d simulation");
if (slabflag == 0 && domain->nonperiodic > 0)
error->all(FLERR,"Cannot use nonperiodic boundaries with EwaldDisp");
error->all(FLERR,"Cannot use non-periodic boundaries with EwaldDisp");
if (slabflag == 1) {
if (domain->xperiodic != 1 || domain->yperiodic != 1 ||
domain->boundary[2][0] != 1 || domain->boundary[2][1] != 1)

View File

@ -108,7 +108,7 @@ E: Cannot use EwaldDisp with 2d simulation
This is a current restriction of this command.
E: Cannot use nonperiodic boundaries with EwaldDisp
E: Cannot use non-periodic boundaries with EwaldDisp
For kspace style ewald/disp, all 3 dimensions must have periodic
boundaries unless you use the kspace_modify command to define a 2d

View File

@ -533,7 +533,7 @@ void MSM::compute(int eflag, int vflag)
restriction(n);
}
// compute direct interation for top grid level for nonperiodic
// compute direct interation for top grid level for non-periodic
// and for second from top grid level for periodic
if (active_flag[levels-1]) {
@ -1120,7 +1120,7 @@ void MSM::set_grid_global()
if (nx_msm[0] >= OFFSET || ny_msm[0] >= OFFSET || nz_msm[0] >= OFFSET)
error->all(FLERR,"MSM grid is too large");
// compute number of extra grid points needed for nonperiodic boundary conditions
// compute number of extra grid points needed for non-periodic boundary conditions
if (domain->nonperiodic) {
alpha[0] = -(order/2 - 1);
@ -1254,7 +1254,7 @@ void MSM::set_grid_local()
nzlo_out[n] = nlo - order;
nzhi_out[n] = nhi + MAX(order,nzhi_direct);
// add extra grid points for nonperiodic boundary conditions
// add extra grid points for non-periodic boundary conditions
if (domain->nonperiodic) {

View File

@ -199,7 +199,7 @@ void MSMCG::compute(int eflag, int vflag)
}
// compute direct interation for top grid level for nonperiodic
// compute direct interation for top grid level for non-periodic
// and for second from top grid level for periodic
if (active_flag[levels-1]) {

View File

@ -214,7 +214,7 @@ void PPPM::init()
if (!atom->q_flag) error->all(FLERR,"Kspace style requires atom attribute q");
if (slabflag == 0 && domain->nonperiodic > 0)
error->all(FLERR,"Cannot use nonperiodic boundaries with PPPM");
error->all(FLERR,"Cannot use non-periodic boundaries with PPPM");
if (slabflag) {
if (domain->xperiodic != 1 || domain->yperiodic != 1 ||
domain->boundary[2][0] != 1 || domain->boundary[2][1] != 1)
@ -411,7 +411,7 @@ void PPPM::setup()
// perform some checks to avoid illegal boundaries with read_data
if (slabflag == 0 && domain->nonperiodic > 0)
error->all(FLERR,"Cannot use nonperiodic boundaries with PPPM");
error->all(FLERR,"Cannot use non-periodic boundaries with PPPM");
if (slabflag) {
if (domain->xperiodic != 1 || domain->yperiodic != 1 ||
domain->boundary[2][0] != 1 || domain->boundary[2][1] != 1)

View File

@ -235,7 +235,7 @@ E: Kspace style requires atom attribute q
The atom style defined does not have these attributes.
E: Cannot use nonperiodic boundaries with PPPM
E: Cannot use non-periodic boundaries with PPPM
For kspace style pppm, all 3 dimensions must have periodic boundaries
unless you use the kspace_modify command to define a 2d slab with a

View File

@ -269,7 +269,7 @@ void PPPMDisp::init()
"comm_style brick");
if (slabflag == 0 && domain->nonperiodic > 0)
error->all(FLERR,"Cannot use nonperiodic boundaries with PPPMDisp");
error->all(FLERR,"Cannot use non-periodic boundaries with PPPMDisp");
if (slabflag == 1) {
if (domain->xperiodic != 1 || domain->yperiodic != 1 ||
domain->boundary[2][0] != 1 || domain->boundary[2][1] != 1)
@ -657,7 +657,7 @@ void PPPMDisp::setup()
{
if (slabflag == 0 && domain->nonperiodic > 0)
error->all(FLERR,"Cannot use nonperiodic boundaries with PPPMDisp");
error->all(FLERR,"Cannot use non-periodic boundaries with PPPMDisp");
if (slabflag == 1) {
if (domain->xperiodic != 1 || domain->yperiodic != 1 ||
domain->boundary[2][0] != 1 || domain->boundary[2][1] != 1)

View File

@ -390,7 +390,7 @@ E: PPPMDisp can only currently be used with comm_style brick
This is a current restriction in LAMMPS.
E: Cannot use nonperiodic boundaries with PPPMDisp
E: Cannot use non-periodic boundaries with PPPMDisp
For kspace style pppm/disp, all 3 dimensions must have periodic
boundaries unless you use the kspace_modify command to define a 2d

View File

@ -199,7 +199,7 @@ void FixTTM::init()
if (domain->dimension == 2)
error->all(FLERR,"Cannot use fix ttm with 2d simulation");
if (domain->nonperiodic != 0)
error->all(FLERR,"Cannot use nonperiodic boundares with fix ttm");
error->all(FLERR,"Cannot use non-periodic boundares with fix ttm");
if (domain->triclinic)
error->all(FLERR,"Cannot use fix ttm with triclinic box");

View File

@ -130,7 +130,7 @@ E: Cannot use fix ttm with 2d simulation
This is a current restriction of this fix due to the grid it creates.
E: Cannot use nonperiodic boundares with fix ttm
E: Cannot use non-periodic boundares with fix ttm
This fix requires a fully periodic simulation box.

View File

@ -373,7 +373,7 @@ This may indicate a problem with your simulation parameters.
E: Big particle in fix srd cannot be point particle
Big particles must be extended spheriods or ellipsoids.
Big particles must be extended spheroids or ellipsoids.
E: Cannot use lines with fix srd unless overlap is set

View File

@ -325,7 +325,7 @@ void FixTTMMod::init()
if (domain->dimension == 2)
error->all(FLERR,"Cannot use fix ttm/mod with 2d simulation");
if (domain->nonperiodic != 0)
error->all(FLERR,"Cannot use nonperiodic boundares with fix ttm/mod");
error->all(FLERR,"Cannot use non-periodic boundares with fix ttm/mod");
if (domain->triclinic)
error->all(FLERR,"Cannot use fix ttm/mod with triclinic box");
// set force prefactors

View File

@ -785,7 +785,7 @@ void DumpNetCDF::write_header(bigint n)
cell_angles[2] = acos(cosgamma)*180.0/MY_PI;
}
// Recent AMBER conventions say that nonperiodic boundaries should have
// Recent AMBER conventions say that non-periodic boundaries should have
// 'cell_lengths' set to zero.
for (int dim = 0; dim < 3; dim++) {
if (!domain->periodicity[dim])

View File

@ -803,7 +803,7 @@ void DumpNetCDFMPIIO::write_time_and_cell()
cell_angles[2] = acos(cosgamma)*180.0/MY_PI;
}
// Recent AMBER conventions say that nonperiodic boundaries should have
// Recent AMBER conventions say that non-periodic boundaries should have
// 'cell_lengths' set to zero.
for (int dim = 0; dim < 3; dim++) {
if (!domain->periodicity[dim])

View File

@ -199,7 +199,7 @@ void MSMCGOMP::compute(int eflag, int vflag)
}
// compute direct interation for top grid level for nonperiodic
// compute direct interation for top grid level for non-periodic
// and for second from top grid level for periodic
if (active_flag[levels-1]) {

View File

@ -272,7 +272,7 @@ void ChangeBox::command(int narg, char **arg)
if (domain->dimension == 2 && domain->zperiodic == 0)
error->all(FLERR,
"Cannot change box z boundary to "
"nonperiodic for a 2d simulation");
"non-periodic for a 2d simulation");
domain->set_initial_box();
domain->set_global_box();
domain->set_local_box();

View File

@ -97,7 +97,7 @@ E: Cannot change box tilt factors for orthogonal box
Cannot use tilt factors unless the simulation box is non-orthogonal.
E: Cannot change box z boundary to nonperiodic for a 2d simulation
E: Cannot change box z boundary to non-periodic for a 2d simulation
Self-explanatory.

View File

@ -47,7 +47,7 @@ E: Cannot create_box after simulation box is defined
A simulation box can only be defined once.
E: Cannot run 2d simulation with nonperiodic Z dimension
E: Cannot run 2d simulation with non-periodic Z dimension
Use the boundary command to make the z dimension periodic in order to
run a 2d simulation.

View File

@ -337,7 +337,7 @@ after a read_data, read_restart, or create_box command.
E: Package command after simulation box is defined
The package command cannot be used afer a read_data, read_restart, or
The package command cannot be used after a read_data, read_restart, or
create_box command.
E: Package gpu command without GPU package installed

View File

@ -195,7 +195,7 @@ void Pair::init()
if (tail_flag && domain->dimension == 2)
error->all(FLERR,"Cannot use pair tail corrections with 2d simulations");
if (tail_flag && domain->nonperiodic && comm->me == 0)
error->warning(FLERR,"Using pair tail corrections with nonperiodic system");
error->warning(FLERR,"Using pair tail corrections with non-periodic system");
if (!compute_flag && tail_flag && comm->me == 0)
error->warning(FLERR,"Using pair tail corrections with "
"pair_modify compute no");

View File

@ -272,7 +272,7 @@ E: Cannot use pair tail corrections with 2d simulations
The correction factors are only currently defined for 3d systems.
W: Using pair tail corrections with nonperiodic system
W: Using pair tail corrections with non-periodic system
This is probably a bogus thing to do, since tail corrections are
computed by integrating the density of a periodic system out to

View File

@ -160,7 +160,7 @@ E: Fix ID for read_data does not exist
Self-explanatory.
E: Cannot run 2d simulation with nonperiodic Z dimension
E: Cannot run 2d simulation with non-periodic Z dimension
Use the boundary command to make the z dimension periodic in order to
run a 2d simulation.

View File

@ -715,7 +715,7 @@ void ReadRestart::header(int incompatible)
domain->dimension = dimension;
if (domain->dimension == 2 && domain->zperiodic == 0)
error->all(FLERR,
"Cannot run 2d simulation with nonperiodic Z dimension");
"Cannot run 2d simulation with non-periodic Z dimension");
// read nprocs from restart file, warn if different

View File

@ -141,7 +141,7 @@ E: Bigint setting in lmptype.h is not compatible
Format of bigint stored in restart file is not consistent with LAMMPS
version you are running. See the settings in src/lmptype.h
E: Cannot run 2d simulation with nonperiodic Z dimension
E: Cannot run 2d simulation with non-periodic Z dimension
Use the boundary command to make the z dimension periodic in order to
run a 2d simulation.