Fix whitespace
authorRoland Schulz <roland@utk.edu>
Wed, 16 Apr 2014 06:45:52 +0000 (02:45 -0400)
committerRoland Schulz <roland@rschulz.eu>
Wed, 16 Apr 2014 06:47:51 +0000 (08:47 +0200)
Change-Id: Ib5cba2818ae0ae5cbf40634fc85a20ca196e70d9

src/gromacs/gmxlib/nonbonded/nonbonded.c
src/gromacs/mdlib/domdec.c

index 3c0880c8c3547743675ce5f6675871051ed6adc4..95cc2d57202414b51988acd462b220e1205bcb30 100644 (file)
@@ -289,7 +289,7 @@ gmx_nonbonded_set_kernel_pointers(FILE *log, t_nblist *nl)
          * will disable water optimization in NS. If it is a particle kernel, set
          * the pointer to the generic NB kernel.
          */
-        if (nl->kernelptr_vf == NULL && !gmx_strcasecmp_min(geom,"Particle-Particle"))
+        if (nl->kernelptr_vf == NULL && !gmx_strcasecmp_min(geom, "Particle-Particle"))
         {
             nl->kernelptr_vf       = (void *) gmx_nb_generic_kernel;
             nl->kernelptr_f        = (void *) gmx_nb_generic_kernel;
@@ -414,7 +414,7 @@ void do_nonbonded(t_forcerec *fr,
                         continue;
                     }
                     /* Neighborlists whose kernelptr==NULL will always be empty */
-                    if(kernelptr != NULL)
+                    if (kernelptr != NULL)
                     {
                         (*kernelptr)(&(nlist[i]), x, f, fr, mdatoms, &kernel_data, nrnb);
                     }
index 185e9c3ab1bdab605c97e7e426714f37fee16059..f83d241e09742d5bea2935661e6b5ffe0d3aaf79 100644 (file)
@@ -3080,7 +3080,9 @@ static void check_box_size(gmx_domdec_t *dd, gmx_ddbox_t *ddbox)
     }
 }
 
-enum { setcellsizeslbLOCAL, setcellsizeslbMASTER, setcellsizeslbPULSE_ONLY };
+enum {
+    setcellsizeslbLOCAL, setcellsizeslbMASTER, setcellsizeslbPULSE_ONLY
+};
 
 /* Set the domain boundaries. Use for static (or no) load balancing,
  * and also for the starting state for dynamic load balancing.
@@ -3175,7 +3177,7 @@ static void set_dd_cell_sizes_slb(gmx_domdec_t *dd, gmx_ddbox_t *ddbox,
             char error_string[STRLEN];
 
             sprintf(error_string,
-                     "The box size in direction %c (%f) times the triclinic skew factor (%f) is too small for a cut-off of %f with %d domain decomposition cells, use 1 or more than %d %s or increase the box size in this direction",
+                    "The box size in direction %c (%f) times the triclinic skew factor (%f) is too small for a cut-off of %f with %d domain decomposition cells, use 1 or more than %d %s or increase the box size in this direction",
                     dim2char(d), ddbox->box_size[d], ddbox->skew_fac[d],
                     comm->cutoff,
                     dd->nc[d], dd->nc[d],