int *nb;
} t_nnb;
-void cp_index(int nn, int from[], int to[])
-{
- int i;
-
- for (i = 0; (i < nn); i++)
- {
- to[i] = from[i];
- }
-}
-
-void mc_optimize(FILE *log, t_mat *m, real *time,
- int maxiter, int nrandom,
- int seed, real kT,
- const char *conv, gmx_output_env_t *oenv)
+static void mc_optimize(FILE *log, t_mat *m, real *time,
+ int maxiter, int nrandom,
+ int seed, real kT,
+ const char *conv, gmx_output_env_t *oenv)
{
FILE *fp = nullptr;
real ecur, enext, emin, prob, enorm;
return b.nr < a.nr;
}
-void gather(t_mat *m, real cutoff, t_clusters *clust)
+static void gather(t_mat *m, real cutoff, t_clusters *clust)
{
t_clustid *c;
t_dist *d;
sfree(d);
}
-gmx_bool jp_same(int **nnb, int i, int j, int P)
+static gmx_bool jp_same(int **nnb, int i, int j, int P)
{
gmx_bool bIn;
int k, ii, jj, pp;
clust->ncl = k-1;
}
-rvec **read_whole_trj(const char *fn, int isize, int index[], int skip,
- int *nframe, real **time, const gmx_output_env_t *oenv, gmx_bool bPBC, gmx_rmpbc_t gpbc)
+static rvec **read_whole_trj(const char *fn, int isize, int index[], int skip,
+ int *nframe, real **time, const gmx_output_env_t *oenv, gmx_bool bPBC, gmx_rmpbc_t gpbc)
{
rvec **xx, *x;
matrix box;
};
FILE *fp, *log;
- int nf, i, i1, i2, j;
+ int nf = 0, i, i1, i2, j;
gmx_int64_t nrms = 0;
matrix box;