Code beautification with uncrustify
[alexxy/gromacs.git] / src / gromacs / selection / sm_position.cpp
index 2ec575cafac65086216b12a6d946740f51483684..070ed80d340c98b62f187be6eb22fc4771bdb7d2 100644 (file)
@@ -55,15 +55,15 @@ typedef struct
     /** Position calculation collection to use. */
     gmx::PositionCalculationCollection *pcc;
     /** Index group for which the center should be evaluated. */
-    gmx_ana_index_t    g;
+    gmx_ana_index_t                     g;
     /** Position evaluation data structure. */
-    gmx_ana_poscalc_t *pc;
+    gmx_ana_poscalc_t                  *pc;
     /** true if periodic boundary conditions should be used. */
-    bool               bPBC;
+    bool                                bPBC;
     /** Type of positions to calculate. */
-    char              *type;
+    char                               *type;
     /** Flags for the position calculation. */
-    int                flags;
+    int                                 flags;
 } t_methoddata_pos;
 
 /** Allocates data for position evaluation selection methods. */
@@ -112,9 +112,9 @@ gmx_ana_selmethod_t sm_keyword_pos = {
     &init_kwpos,
     &init_output_pos,
     &free_data_pos,
-     NULL,
+    NULL,
     &evaluate_pos,
-     NULL,
+    NULL,
     {NULL, 0, NULL},
 };
 
@@ -127,9 +127,9 @@ gmx_ana_selmethod_t sm_cog = {
     &init_cog,
     &init_output_pos,
     &free_data_pos,
-     NULL,
+    NULL,
     &evaluate_pos,
-     NULL,
+    NULL,
     {"cog of ATOM_EXPR [pbc]", 0, NULL},
 };
 
@@ -142,9 +142,9 @@ gmx_ana_selmethod_t sm_com = {
     &init_com,
     &init_output_pos,
     &free_data_pos,
-     NULL,
+    NULL,
     &evaluate_pos,
-     NULL,
+    NULL,
     {"com of ATOM_EXPR [pbc]", 0, NULL},
 };
 
@@ -282,7 +282,7 @@ init_cog(t_topology *top, int npar, gmx_ana_selparam_t *param, void *data)
     t_methoddata_pos *d = (t_methoddata_pos *)data;
 
     d->flags = (param[0].flags & SPAR_DYNAMIC) ? POS_DYNAMIC : 0;
-    d->pc = d->pcc->createCalculation(d->bPBC ? POS_ALL_PBC : POS_ALL, d->flags);
+    d->pc    = d->pcc->createCalculation(d->bPBC ? POS_ALL_PBC : POS_ALL, d->flags);
     gmx_ana_poscalc_set_maxindex(d->pc, &d->g);
 }
 
@@ -300,7 +300,7 @@ init_com(t_topology *top, int npar, gmx_ana_selparam_t *param, void *data)
 
     d->flags  = (param[0].flags & SPAR_DYNAMIC) ? POS_DYNAMIC : 0;
     d->flags |= POS_MASS;
-    d->pc = d->pcc->createCalculation(d->bPBC ? POS_ALL_PBC : POS_ALL, d->flags);
+    d->pc     = d->pcc->createCalculation(d->bPBC ? POS_ALL_PBC : POS_ALL, d->flags);
     gmx_ana_poscalc_set_maxindex(d->pc, &d->g);
 }