Apply clang-format to source tree
[alexxy/gromacs.git] / src / gromacs / gmxpreprocess / nm2type.h
index 4107337c1a34838a3662d0035052a9fa7de89f1e..720f46e373301015386fff3b1b5258f6ba092175 100644 (file)
@@ -46,23 +46,28 @@ struct t_symtab;
 
 struct t_nm2type
 {
-    char    *elem, *type;
-    double   q, m;
-    int      nbonds;
-    char   **bond;
-    double  *blen;
+    char *  elem, *type;
+    double  q, m;
+    int     nbonds;
+    char**  bond;
+    doubleblen;
 };
 
-t_nm2type *rd_nm2type(const char *ffdir, int *nnm);
+t_nm2type* rd_nm2type(const char* ffdir, int* nnm);
 /* Read the name 2 type database. nnm is the number of entries
  * ff is the force field.
  */
 
-void dump_nm2type(FILE *fp, int nnm, t_nm2type nm2t[]);
+void dump_nm2type(FILEfp, int nnm, t_nm2type nm2t[]);
 /* Dump the database for debugging. Can be reread by the program */
 
-int nm2type(int nnm, t_nm2type nm2t[], t_symtab *tab, t_atoms *atoms,
-            PreprocessingAtomTypes *atype, int *nbonds, InteractionsOfType *bond);
+int nm2type(int                     nnm,
+            t_nm2type               nm2t[],
+            t_symtab*               tab,
+            t_atoms*                atoms,
+            PreprocessingAtomTypes* atype,
+            int*                    nbonds,
+            InteractionsOfType*     bond);
 /* Try to determine the atomtype (force field dependent) for the atoms
  * with help of the bond list
  */