#include "mdrun.h"
#include "update.h"
#include "physics.h"
-#include "nrjac.h"
#include "mtop_util.h"
#include "gromacs/essentialdynamics/edsam.h"
#include "gromacs/fileio/gmxfio.h"
#include "xvgr.h"
#include "gromacs/mdlib/groupcoord.h"
+#include "gromacs/linearalgebra/nrjac.h"
/* We use the same defines as in mvdata.c here */
#define block_bc(cr, d) gmx_bcast( sizeof(d), &(d), (cr))
*
* Copyright (c) 1991-2000, University of Groningen, The Netherlands.
* Copyright (c) 2001-2004, The GROMACS development team.
- * Copyright (c) 2013, by the GROMACS development team, led by
+ * Copyright (c) 2013,2014, by the GROMACS development team, led by
* Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
* and including many others, as listed in the AUTHORS file in the
* top-level source directory and at http://www.gromacs.org.
#include "fitahx.h"
#include "vec.h"
-#include "do_fit.h"
#include "smalloc.h"
+#include "gromacs/math/do_fit.h"
+
static void my_calc_xcm(int nbb, atom_id bbind[], rvec x[], rvec xcm)
{
int i, m, ai;
#include "gromacs/fileio/matio.h"
#include "mshift.h"
#include "xvgr.h"
-#include "do_fit.h"
#include "rmpbc.h"
#include "txtdump.h"
#include "eigio.h"
#include "physics.h"
#include "gmx_ana.h"
+#include "gromacs/math/do_fit.h"
+
static void calc_entropy_qh(FILE *fp, int n, real eigval[], real temp, int nskip)
{
int i;
#include "gromacs/fileio/futil.h"
#include "gromacs/fileio/matio.h"
#include "cmat.h"
-#include "do_fit.h"
#include "gromacs/fileio/trnio.h"
#include "viewit.h"
#include "gmx_ana.h"
#include "gromacs/linearalgebra/eigensolver.h"
+#include "gromacs/math/do_fit.h"
/* print to two file pointers at once (i.e. stderr and log) */
static gmx_inline
#include "gromacs/fileio/confio.h"
#include "gromacs/fileio/pdbio.h"
#include "txtdump.h"
-#include "do_fit.h"
#include "viewit.h"
#include "rmpbc.h"
#include "gmx_ana.h"
+#include "gromacs/math/do_fit.h"
void calc_rm_cm(int isize, atom_id index[], t_atoms *atoms, rvec x[], rvec xcm)
{
#include "gromacs/fileio/trnio.h"
#include "mshift.h"
#include "xvgr.h"
-#include "do_fit.h"
#include "rmpbc.h"
#include "txtdump.h"
#include "gromacs/fileio/matio.h"
#include "gromacs/fileio/trxio.h"
#include "gromacs/linearalgebra/eigensolver.h"
+#include "gromacs/math/do_fit.h"
int gmx_covar(int argc, char *argv[])
{
#include "physics.h"
#include "calcmu.h"
#include "gromacs/fileio/enxio.h"
-#include "nrjac.h"
#include "gromacs/fileio/matio.h"
#include "gmx_ana.h"
#include "copyrite.h"
#include "gromacs/fileio/trxio.h"
+#include "gromacs/linearalgebra/nrjac.h"
#include "gromacs/utility/exceptions.h"
#include "gromacs/utility/programcontext.h"
#include "mshift.h"
#include "xvgr.h"
#include "vec.h"
-#include "do_fit.h"
#include "gromacs/fileio/confio.h"
#include "smalloc.h"
#include "nrnb.h"
#include "mtop_util.h"
#include "gmx_ana.h"
+#include "gromacs/math/do_fit.h"
typedef struct {
int n;
*
* Copyright (c) 1991-2000, University of Groningen, The Netherlands.
* Copyright (c) 2001-2004, The GROMACS development team.
- * Copyright (c) 2013, by the GROMACS development team, led by
+ * Copyright (c) 2013,2014, by the GROMACS development team, led by
* Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
* and including many others, as listed in the AUTHORS file in the
* top-level source directory and at http://www.gromacs.org.
#include "gromacs/fileio/tpxio.h"
#include "gromacs/fileio/trxio.h"
#include "princ.h"
-#include "do_fit.h"
#include "rmpbc.h"
#include "gmx_ana.h"
+#include "gromacs/math/do_fit.h"
int gmx_filter(int argc, char *argv[])
{
#include "gmx_fatal.h"
#include "gstat.h"
#include "pbc.h"
-#include "do_fit.h"
#include "gmx_ana.h"
#include "gromacs/fileio/futil.h"
#include "gromacs/fileio/trxio.h"
+#include "gromacs/math/do_fit.h"
int gmx_helixorient(int argc, char *argv[])
{
#include "gromacs/fileio/matio.h"
#include "mshift.h"
#include "xvgr.h"
-#include "do_fit.h"
#include "rmpbc.h"
#include "txtdump.h"
#include "eigio.h"
#include "gromacs/fileio/confio.h"
#include "xvgr.h"
#include "index.h"
-#include "do_fit.h"
#include "gmx_ana.h"
#include "gmx_fatal.h"
#include "gromacs/fileio/trxio.h"
+#include "gromacs/math/do_fit.h"
static real dointerp(int n, rvec x1[], rvec x2[], rvec xx[],
int I, int N, real first, real last)
#include "rmpbc.h"
#include "gromacs/fileio/tpxio.h"
#include "gromacs/fileio/trxio.h"
-#include "nrjac.h"
#include "gmx_ana.h"
+#include "gromacs/linearalgebra/nrjac.h"
static void gyro_eigen(double **gyr, double *eig, double **eigv, int *ord)
{
#include "gromacs/fileio/futil.h"
#include "princ.h"
#include "rmpbc.h"
-#include "do_fit.h"
#include "gromacs/fileio/matio.h"
#include "gromacs/fileio/tpxio.h"
#include "gromacs/fileio/trxio.h"
#include "viewit.h"
#include "gmx_ana.h"
+#include "gromacs/math/do_fit.h"
static void norm_princ(t_atoms *atoms, int isize, atom_id *index, int natoms,
rvec *x)
#include "pbc.h"
#include "gmx_fatal.h"
#include "gromacs/fileio/futil.h"
-#include "do_fit.h"
#include "princ.h"
#include "rmpbc.h"
#include "gromacs/fileio/confio.h"
#include "gmx_ana.h"
#include "gromacs/linearalgebra/eigensolver.h"
+#include "gromacs/math/do_fit.h"
static real find_pdb_bfac(t_atoms *atoms, t_resinfo *ri, char *atomnm)
{
#include "rmpbc.h"
#include "gromacs/fileio/tpxio.h"
#include "gromacs/fileio/trxio.h"
-#include "do_fit.h"
#include "gmx_ana.h"
+#include "gromacs/math/do_fit.h"
static void get_refx(output_env_t oenv, const char *trxfn, int nfitdim, int skip,
int gnx, int *index,
#include "gromacs/fileio/trxio.h"
#include "rmpbc.h"
#include "physics.h"
-#include "nrjac.h"
#include "gromacs/fileio/confio.h"
#include "gmx_ana.h"
+#include "gromacs/linearalgebra/nrjac.h"
static void low_print_data(FILE *fp, real time, rvec x[], int n, atom_id *index,
gmx_bool bDim[], const char *sffmt)
#include "index.h"
#include "vec.h"
#include "gromacs/fileio/xtcio.h"
-#include "do_fit.h"
#include "rmpbc.h"
#include "pbc.h"
#include "xvgr.h"
#include "index.h"
#include "vec.h"
#include "gromacs/fileio/xtcio.h"
-#include "do_fit.h"
#include "rmpbc.h"
#include "pbc.h"
#include "viewit.h"
#include "xvgr.h"
#include "gmx_ana.h"
+#include "gromacs/math/do_fit.h"
+
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
#include "typedefs.h"
#include "smalloc.h"
#include "vec.h"
-#include "nrjac.h"
#include "types/commrec.h"
#include "network.h"
#include "orires.h"
-#include "do_fit.h"
#include "main.h"
#include "copyrite.h"
#include "pbc.h"
#include "mtop_util.h"
+#include "gromacs/linearalgebra/nrjac.h"
+#include "gromacs/math/do_fit.h"
+
void init_orires(FILE *fplog, const gmx_mtop_t *mtop,
rvec xref[],
const t_inputrec *ir,
#include "typedefs.h"
#include "vec.h"
#include "smalloc.h"
-#include "nrjac.h"
#include "txtdump.h"
#include "princ.h"
+#include "gromacs/linearalgebra/nrjac.h"
+
static void m_op(matrix mat, rvec x)
{
rvec xp;
* the research papers on the package. Check out http://www.gromacs.org.
*/
/* This file is completely threadsafe - keep it that way! */
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
+#include "nrjac.h"
-#include <stdio.h>
-#include <stdlib.h>
#include <math.h>
-#include "smalloc.h"
-#include "gmx_fatal.h"
-#include "nrjac.h"
+#include "gmx_fatal.h"
+#include "smalloc.h"
static gmx_inline
void do_rotate(double **a, int i, int j, int k, int l, double tau, double s)
*
* Copyright (c) 1991-2000, University of Groningen, The Netherlands.
* Copyright (c) 2001-2004, The GROMACS development team.
- * Copyright (c) 2010, by the GROMACS development team, led by
+ * Copyright (c) 2010,2014, by the GROMACS development team, led by
* Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
* and including many others, as listed in the AUTHORS file in the
* top-level source directory and at http://www.gromacs.org.
* To help us fund GROMACS development, we humbly ask that you cite
* the research papers on the package. Check out http://www.gromacs.org.
*/
+#ifndef GMX_LINEARALGEBRA_NRJAC_H
+#define GMX_LINEARALGEBRA_NRJAC_H
-#ifndef _nrjac_h
-#define _nrjac_h
-
-#include "typedefs.h"
+#include "gromacs/legacyheaders/types/simple.h"
#ifdef __cplusplus
extern "C" {
set(MATH_PUBLIC_HEADERS
3dview.h
gmxcomplex.h
+ do_fit.h
utilities.h
)
gmx_install_headers(math ${MATH_PUBLIC_HEADERS})
* To help us fund GROMACS development, we humbly ask that you cite
* the research papers on the package. Check out http://www.gromacs.org.
*/
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
+#include "do_fit.h"
#include "gromacs/math/utilities.h"
#include "sysstuff.h"
#include "typedefs.h"
-#include "nrjac.h"
#include "vec.h"
#include "txtdump.h"
#include "smalloc.h"
-#include "do_fit.h"
-#define EPS 1.0e-09
+#include "gromacs/linearalgebra/nrjac.h"
real calc_similar_ind(gmx_bool bRho, int nind, atom_id *index, real mass[],
rvec x[], rvec xp[])
*
* Copyright (c) 1991-2000, University of Groningen, The Netherlands.
* Copyright (c) 2001-2004, The GROMACS development team.
- * Copyright (c) 2010, by the GROMACS development team, led by
+ * Copyright (c) 2010,2014, by the GROMACS development team, led by
* Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
* and including many others, as listed in the AUTHORS file in the
* top-level source directory and at http://www.gromacs.org.
* To help us fund GROMACS development, we humbly ask that you cite
* the research papers on the package. Check out http://www.gromacs.org.
*/
+#ifndef GMX_MATH_DO_FIT_H
+#define GMX_MATH_DO_FIT_H
-#ifndef _do_fit_h
-#define _do_fit_h
-
-#include "typedefs.h"
+#include "../legacyheaders/types/simple.h"
#ifdef __cplusplus
extern "C" {
}
#endif
-#endif /* _do_fit_h */
+#endif
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+
#include "domdec.h"
#include "smalloc.h"
#include "network.h"
#include "names.h"
#include "mtop_util.h"
#include "names.h"
-#include "nrjac.h"
#include "vec.h"
#include "gmx_ga2la.h"
#include "xvgr.h"
#include "gromacs/fileio/futil.h"
#include "gromacs/fileio/gmxfio.h"
#include "gromacs/fileio/trnio.h"
+#include "gromacs/linearalgebra/nrjac.h"
#include "gromacs/timing/cyclecounter.h"
#include "gromacs/timing/wallcycle.h"
#include "gromacs/utility/qsort_threadsafe.h"