From 4e7b605fa19fa221a45310e555f404ecfaf1be32 Mon Sep 17 00:00:00 2001 From: sjplimp Date: Mon, 19 Sep 2011 22:49:18 +0000 Subject: [PATCH] git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@6997 f3b2605a-c512-4ea7-a41b-209d697bcdaa --- src/GPU/gpu_extra.h | 12 ++++++------ src/pointers.h | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/GPU/gpu_extra.h b/src/GPU/gpu_extra.h index 30faef139d..9fa2d83a12 100644 --- a/src/GPU/gpu_extra.h +++ b/src/GPU/gpu_extra.h @@ -28,17 +28,17 @@ namespace GPU_EXTRA { MPI_Allreduce(&error_flag, &all_success, 1, MPI_INT, MPI_MIN, world); if (all_success != 0) { if (all_success == -1) - error->all("Accelerated style in input script but no fix gpu."); + error->all("Accelerated style in input script but no fix gpu"); else if (all_success == -2) - error->all("Could not find/initialize a specified accelerator device."); + error->all("Could not find/initialize a specified accelerator device"); else if (all_success == -3) - error->all("Insufficient memory on accelerator."); + error->all("Insufficient memory on accelerator"); else if (all_success == -4) - error->all("GPU library not compiled for this accelerator."); + error->all("GPU library not compiled for this accelerator"); else if (all_success == -5) - error->all("Double precision is not supported on this accelerator."); + error->all("Double precision is not supported on this accelerator"); else - error->all("Unknown error in GPU library."); + error->all("Unknown error in GPU library"); } } diff --git a/src/pointers.h b/src/pointers.h index 59afc88139..f2f2215b8b 100644 --- a/src/pointers.h +++ b/src/pointers.h @@ -16,7 +16,7 @@ // every LAMMPS class inherits from Pointers to access lammps.h ptrs // these variables are auto-initialized by Pointer class constructor // *& variables are really pointers to the pointers in lammps.h -// & enables them to be accessed directly in any class, e.g. error->all() +// & enables them to be accessed directly in any class, e.g. atom->x #ifndef LMP_POINTERS_H #define LMP_POINTERS_H