small corrections in the DIFFRACTION package, mostly cosmetic

This commit is contained in:
Axel Kohlmeyer
2024-09-02 06:26:27 -04:00
parent 1b5413189d
commit 7c80b00f23
3 changed files with 15 additions and 14 deletions

View File

@ -401,7 +401,7 @@ void ComputeSAED::compute_vector()
// Setting up OMP // Setting up OMP
#if defined(_OPENMP) #if defined(_OPENMP)
if (me == 0 && echo) utils::logmesg(lmp," using {}OMP threads\n",comm->nthreads); if (me == 0 && echo) utils::logmesg(lmp," using {} OMP thread(s)\n",comm->nthreads);
#endif #endif
if (me == 0 && echo) utils::logmesg(lmp,"\n"); if (me == 0 && echo) utils::logmesg(lmp,"\n");

View File

@ -332,7 +332,7 @@ void ComputeXRD::compute_array()
// Setting up OMP // Setting up OMP
#if defined(_OPENMP) #if defined(_OPENMP)
if ((me == 0) && echo) utils::logmesg(lmp," using {} OMP threads\n",comm->nthreads); if ((me == 0) && echo) utils::logmesg(lmp," using {} OMP thread(s)\n",comm->nthreads);
#endif #endif
if ((me == 0) && echo) { if ((me == 0) && echo) {

View File

@ -114,6 +114,7 @@ FixSAEDVTK::FixSAEDVTK(LAMMPS *lmp, int narg, char **arg) :
memory->create(vector_total,nrows,"saed/vtk:vector_total"); memory->create(vector_total,nrows,"saed/vtk:vector_total");
vector_flag = 1; vector_flag = 1;
extvector = 0;
size_vector = nrows; size_vector = nrows;
if (nOutput == 0) { if (nOutput == 0) {