From dc7bf29c0947d3594068dc2d7da51650dd2cc68c Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Fri, 16 Dec 2022 05:08:07 -0500 Subject: [PATCH] whitespace fixes --- src/dump_image.cpp | 4 ++-- src/fix_ave_grid.cpp | 4 ++-- src/image.cpp | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/dump_image.cpp b/src/dump_image.cpp index a42a412ca7..36cafc9b73 100644 --- a/src/dump_image.cpp +++ b/src/dump_image.cpp @@ -126,7 +126,7 @@ DumpImage::DumpImage(LAMMPS *lmp, int narg, char **arg) : gridflag = NO; lineflag = triflag = bodyflag = fixflag = NO; id_grid_compute = id_grid_fix = nullptr; - + if (atom->nbondtypes == 0) bondflag = NO; else { bondflag = YES; @@ -929,7 +929,7 @@ void DumpImage::create_image() if (gridflag) { // reset lighting for flat surfaces to make them brighter - + image->ambientColor[0] = image->ambientColor[1] = image->ambientColor[2] = 0.9; image->keyLightColor[0] = image->keyLightColor[1] = image->keyLightColor[2] = 0.3; image->fillLightColor[0] = image->fillLightColor[1] = image->fillLightColor[2] = 0.3; diff --git a/src/fix_ave_grid.cpp b/src/fix_ave_grid.cpp index 21b8abee78..446697229a 100644 --- a/src/fix_ave_grid.cpp +++ b/src/fix_ave_grid.cpp @@ -2053,7 +2053,7 @@ void FixAveGrid::reset_grid() delete grid_window[i]; delete [] grid_window; } - + // allocate grid instance and grid data for new decomposition allocate_grid(); @@ -2100,7 +2100,7 @@ void FixAveGrid::reset_grid() if (dimension == 2) delete grid2d_previous; else delete grid3d_previous; - + deallocate_one_grid(grid_sample_previous,nxlo_out_previous,nylo_out_previous,nzlo_out_previous); deallocate_one_grid(grid_nfreq_previous,nxlo_out_previous,nylo_out_previous,nzlo_out_previous); if (aveflag == RUNNING || aveflag == WINDOW) diff --git a/src/image.cpp b/src/image.cpp index 710c80b910..1c23939781 100644 --- a/src/image.cpp +++ b/src/image.cpp @@ -819,7 +819,7 @@ void Image::draw_triangle(double *x, double *y, double *z, double *surfaceColor) // using <= if test can leave single-pixel gaps between 2 tris // using < if test fixes it // suggested by Nathan Fabian, Nov 2022 - + MathExtra::sub3 (zlocal, xlocal, s1); MathExtra::sub3 (ylocal, xlocal, s2); MathExtra::sub3 (p, xlocal, s3);