Refactor t_param to InteractionType
[alexxy/gromacs.git] / src / gromacs / gmxpreprocess / add_par.h
index de35358e4b371416ec9fd1404af3b2c4787aa20a..afc517c1bea8961371fe4e1a6c19c831c0e86d11 100644 (file)
 #ifndef GMX_GMXPREPROCESS_ADD_PAR_H
 #define GMX_GMXPREPROCESS_ADD_PAR_H
 
+#include "gromacs/utility/arrayref.h"
 #include "gromacs/utility/real.h"
 
 struct InteractionTypeParameters;
 struct PreprocessResidue;
 
-void add_param(InteractionTypeParameters *ps, int ai, int aj, const real *c, const char *s);
+void add_param(InteractionTypeParameters *ps,
+               int                        ai,
+               int                        aj,
+               gmx::ArrayRef<const real>  c,
+               const char                *s);
 
 void add_imp_param(InteractionTypeParameters *ps, int ai, int aj, int ak, int al,
                    real c0, real c1, const char *s);