diff --git a/src/GRANULAR/fix_pour.cpp b/src/GRANULAR/fix_pour.cpp index 2b33b988b8..2255f64eb2 100644 --- a/src/GRANULAR/fix_pour.cpp +++ b/src/GRANULAR/fix_pour.cpp @@ -54,7 +54,7 @@ FixPour::FixPour(LAMMPS *lmp, int narg, char **arg) : { if (narg < 6) error->all(FLERR,"Illegal fix pour command"); - if (lmp->kokkos) + if (lmp->kokkos) error->all(FLERR,"Cannot yet use fix pour with the KOKKOS package"); time_depend = 1; @@ -797,7 +797,7 @@ bool FixPour::outside(int dim, double value, double lo, double hi) bool outside_range = (value < lo || value > hi); if (!outside_range || !domain->periodicity[dim]) return outside_range; - // for periodic dimension: + // for periodic dimension: // must perform additional tests if range wraps around the periodic box bool outside_pbc_range = true; diff --git a/src/MC/fix_gcmc.cpp b/src/MC/fix_gcmc.cpp index 516fe2521d..732e76b77e 100644 --- a/src/MC/fix_gcmc.cpp +++ b/src/MC/fix_gcmc.cpp @@ -945,7 +945,7 @@ void FixGCMC::attempt_atomic_insertion() ninsertion_attempts += 1.0; if (ngas >= max_ngas) return; - + // pick coordinates for insertion point double coord[3]; @@ -1300,7 +1300,7 @@ void FixGCMC::attempt_molecule_insertion() ninsertion_attempts += 1.0; if (ngas >= max_ngas) return; - + double com_coord[3]; if (regionflag) { int region_attempt = 0; @@ -1634,7 +1634,7 @@ void FixGCMC::attempt_atomic_insertion_full() ninsertion_attempts += 1.0; if (ngas >= max_ngas) return; - + double energy_before = energy_stored; double coord[3]; diff --git a/src/USER-MISC/compute_gyration_shape_chunk.cpp b/src/USER-MISC/compute_gyration_shape_chunk.cpp index 08484d9301..b493455ebf 100644 --- a/src/USER-MISC/compute_gyration_shape_chunk.cpp +++ b/src/USER-MISC/compute_gyration_shape_chunk.cpp @@ -39,7 +39,7 @@ ComputeGyrationShapeChunk::ComputeGyrationShapeChunk(LAMMPS *lmp, int narg, char int n = strlen(arg[3]) + 1; id_gyration_chunk = new char[n]; strcpy(id_gyration_chunk,arg[3]); - + init(); array_flag = 1;