Reorganize linear algebra code.
authorTeemu Murtola <teemu.murtola@gmail.com>
Mon, 21 May 2012 08:25:44 +0000 (11:25 +0300)
committerTeemu Murtola <teemu.murtola@gmail.com>
Tue, 29 May 2012 05:02:46 +0000 (08:02 +0300)
- Moved gmx_arpack.* and internal BLAS/LAPACK implementations to
  src/gromacs/linearalgebra/.
- Moved all routines that directly depend on these to the same dir.
  Also moved integrally related routines (sparsematrix.*, mtxio.*).
- Some reformatting of headers.
- Adjusted Doxygen settings to resolve warnings in these files.
- Adjusted #include statements to make things compile.

With this, the internal BLAS/LAPACK/ARPACK is completely hidden within
libgromacs, and these headers don't need to be installed.  Removes
dependency on F77_FUNC (and hence on config.h) from installed headers.
Also makes it possible to hide the BLAS/LAPACK/ARPACK symbols if
necessary (not done in this change), such that Gromacs compiled with the
internal versions could be linked into a program that uses external
BLAS/LAPACK without symbol conflicts.

Change-Id: I9b2b1ea9832e307a29f5c5038afe1af5504223d9

244 files changed:
Doxyfile.cmakein
src/gromacs/CMakeLists.txt
src/gromacs/gmxlib/CMakeLists.txt
src/gromacs/linearalgebra/CMakeLists.txt [new file with mode: 0644]
src/gromacs/linearalgebra/eigensolver.c [moved from src/tools/eigensolver.c with 98% similarity]
src/gromacs/linearalgebra/eigensolver.h [moved from src/tools/eigensolver.h with 94% similarity]
src/gromacs/linearalgebra/gmx_arpack.c [moved from src/gromacs/gmxlib/gmx_arpack.c with 99% similarity]
src/gromacs/linearalgebra/gmx_arpack.h [moved from src/gromacs/legacyheaders/gmx_arpack.h with 99% similarity]
src/gromacs/linearalgebra/gmx_blas.h [moved from src/gromacs/legacyheaders/gmx_blas.h with 96% similarity]
src/gromacs/linearalgebra/gmx_blas/blas_copyright [moved from src/gromacs/gmxlib/gmx_blas/blas_copyright with 100% similarity]
src/gromacs/linearalgebra/gmx_blas/dasum.c [moved from src/gromacs/gmxlib/gmx_blas/dasum.c with 97% similarity]
src/gromacs/linearalgebra/gmx_blas/daxpy.c [moved from src/gromacs/gmxlib/gmx_blas/daxpy.c with 97% similarity]
src/gromacs/linearalgebra/gmx_blas/dcopy.c [moved from src/gromacs/gmxlib/gmx_blas/dcopy.c with 97% similarity]
src/gromacs/linearalgebra/gmx_blas/ddot.c [moved from src/gromacs/gmxlib/gmx_blas/ddot.c with 97% similarity]
src/gromacs/linearalgebra/gmx_blas/dgemm.c [moved from src/gromacs/gmxlib/gmx_blas/dgemm.c with 99% similarity]
src/gromacs/linearalgebra/gmx_blas/dgemv.c [moved from src/gromacs/gmxlib/gmx_blas/dgemv.c with 98% similarity]
src/gromacs/linearalgebra/gmx_blas/dger.c [moved from src/gromacs/gmxlib/gmx_blas/dger.c with 98% similarity]
src/gromacs/linearalgebra/gmx_blas/dnrm2.c [moved from src/gromacs/gmxlib/gmx_blas/dnrm2.c with 97% similarity]
src/gromacs/linearalgebra/gmx_blas/drot.c [moved from src/gromacs/gmxlib/gmx_blas/drot.c with 96% similarity]
src/gromacs/linearalgebra/gmx_blas/dscal.c [moved from src/gromacs/gmxlib/gmx_blas/dscal.c with 97% similarity]
src/gromacs/linearalgebra/gmx_blas/dswap.c [moved from src/gromacs/gmxlib/gmx_blas/dswap.c with 97% similarity]
src/gromacs/linearalgebra/gmx_blas/dsymv.c [moved from src/gromacs/gmxlib/gmx_blas/dsymv.c with 99% similarity]
src/gromacs/linearalgebra/gmx_blas/dsyr2.c [moved from src/gromacs/gmxlib/gmx_blas/dsyr2.c with 99% similarity]
src/gromacs/linearalgebra/gmx_blas/dsyr2k.c [moved from src/gromacs/gmxlib/gmx_blas/dsyr2k.c with 99% similarity]
src/gromacs/linearalgebra/gmx_blas/dtrmm.c [moved from src/gromacs/gmxlib/gmx_blas/dtrmm.c with 99% similarity]
src/gromacs/linearalgebra/gmx_blas/dtrmv.c [moved from src/gromacs/gmxlib/gmx_blas/dtrmv.c with 99% similarity]
src/gromacs/linearalgebra/gmx_blas/dtrsm.c [moved from src/gromacs/gmxlib/gmx_blas/dtrsm.c with 99% similarity]
src/gromacs/linearalgebra/gmx_blas/idamax.c [moved from src/gromacs/gmxlib/gmx_blas/idamax.c with 96% similarity]
src/gromacs/linearalgebra/gmx_blas/isamax.c [moved from src/gromacs/gmxlib/gmx_blas/isamax.c with 96% similarity]
src/gromacs/linearalgebra/gmx_blas/sasum.c [moved from src/gromacs/gmxlib/gmx_blas/sasum.c with 97% similarity]
src/gromacs/linearalgebra/gmx_blas/saxpy.c [moved from src/gromacs/gmxlib/gmx_blas/saxpy.c with 97% similarity]
src/gromacs/linearalgebra/gmx_blas/scopy.c [moved from src/gromacs/gmxlib/gmx_blas/scopy.c with 97% similarity]
src/gromacs/linearalgebra/gmx_blas/sdot.c [moved from src/gromacs/gmxlib/gmx_blas/sdot.c with 97% similarity]
src/gromacs/linearalgebra/gmx_blas/sgemm.c [moved from src/gromacs/gmxlib/gmx_blas/sgemm.c with 99% similarity]
src/gromacs/linearalgebra/gmx_blas/sgemv.c [moved from src/gromacs/gmxlib/gmx_blas/sgemv.c with 98% similarity]
src/gromacs/linearalgebra/gmx_blas/sger.c [moved from src/gromacs/gmxlib/gmx_blas/sger.c with 98% similarity]
src/gromacs/linearalgebra/gmx_blas/snrm2.c [moved from src/gromacs/gmxlib/gmx_blas/snrm2.c with 97% similarity]
src/gromacs/linearalgebra/gmx_blas/srot.c [moved from src/gromacs/gmxlib/gmx_blas/srot.c with 97% similarity]
src/gromacs/linearalgebra/gmx_blas/sscal.c [moved from src/gromacs/gmxlib/gmx_blas/sscal.c with 97% similarity]
src/gromacs/linearalgebra/gmx_blas/sswap.c [moved from src/gromacs/gmxlib/gmx_blas/sswap.c with 97% similarity]
src/gromacs/linearalgebra/gmx_blas/ssymv.c [moved from src/gromacs/gmxlib/gmx_blas/ssymv.c with 99% similarity]
src/gromacs/linearalgebra/gmx_blas/ssyr2.c [moved from src/gromacs/gmxlib/gmx_blas/ssyr2.c with 99% similarity]
src/gromacs/linearalgebra/gmx_blas/ssyr2k.c [moved from src/gromacs/gmxlib/gmx_blas/ssyr2k.c with 99% similarity]
src/gromacs/linearalgebra/gmx_blas/strmm.c [moved from src/gromacs/gmxlib/gmx_blas/strmm.c with 99% similarity]
src/gromacs/linearalgebra/gmx_blas/strmv.c [moved from src/gromacs/gmxlib/gmx_blas/strmv.c with 99% similarity]
src/gromacs/linearalgebra/gmx_blas/strsm.c [moved from src/gromacs/gmxlib/gmx_blas/strsm.c with 99% similarity]
src/gromacs/linearalgebra/gmx_lapack.h [moved from src/gromacs/legacyheaders/gmx_lapack.h with 99% similarity]
src/gromacs/linearalgebra/gmx_lapack/dbdsdc.c [moved from src/gromacs/gmxlib/gmx_lapack/dbdsdc.c with 99% similarity]
src/gromacs/linearalgebra/gmx_lapack/dbdsqr.c [moved from src/gromacs/gmxlib/gmx_lapack/dbdsqr.c with 99% similarity]
src/gromacs/linearalgebra/gmx_lapack/dgebd2.c [moved from src/gromacs/gmxlib/gmx_lapack/dgebd2.c with 98% similarity]
src/gromacs/linearalgebra/gmx_lapack/dgebrd.c [moved from src/gromacs/gmxlib/gmx_lapack/dgebrd.c with 97% similarity]
src/gromacs/linearalgebra/gmx_lapack/dgelq2.c [moved from src/gromacs/gmxlib/gmx_lapack/dgelq2.c with 98% similarity]
src/gromacs/linearalgebra/gmx_lapack/dgelqf.c [moved from src/gromacs/gmxlib/gmx_lapack/dgelqf.c with 98% similarity]
src/gromacs/linearalgebra/gmx_lapack/dgeqr2.c [moved from src/gromacs/gmxlib/gmx_lapack/dgeqr2.c with 95% similarity]
src/gromacs/linearalgebra/gmx_lapack/dgeqrf.c [moved from src/gromacs/gmxlib/gmx_lapack/dgeqrf.c with 98% similarity]
src/gromacs/linearalgebra/gmx_lapack/dgesdd.c [moved from src/gromacs/gmxlib/gmx_lapack/dgesdd.c with 99% similarity]
src/gromacs/linearalgebra/gmx_lapack/dgetf2.c [moved from src/gromacs/gmxlib/gmx_lapack/dgetf2.c with 94% similarity]
src/gromacs/linearalgebra/gmx_lapack/dgetrf.c [moved from src/gromacs/gmxlib/gmx_lapack/dgetrf.c with 97% similarity]
src/gromacs/linearalgebra/gmx_lapack/dgetri.c [moved from src/gromacs/gmxlib/gmx_lapack/dgetri.c with 97% similarity]
src/gromacs/linearalgebra/gmx_lapack/dgetrs.c [moved from src/gromacs/gmxlib/gmx_lapack/dgetrs.c with 95% similarity]
src/gromacs/linearalgebra/gmx_lapack/dlabrd.c [moved from src/gromacs/gmxlib/gmx_lapack/dlabrd.c with 99% similarity]
src/gromacs/linearalgebra/gmx_lapack/dlacpy.c [moved from src/gromacs/gmxlib/gmx_lapack/dlacpy.c with 95% similarity]
src/gromacs/linearalgebra/gmx_lapack/dlae2.c [moved from src/gromacs/gmxlib/gmx_lapack/dlae2.c with 96% similarity]
src/gromacs/linearalgebra/gmx_lapack/dlaebz.c [moved from src/gromacs/gmxlib/gmx_lapack/dlaebz.c with 99% similarity]
src/gromacs/linearalgebra/gmx_lapack/dlaed6.c [moved from src/gromacs/gmxlib/gmx_lapack/dlaed6.c with 99% similarity]
src/gromacs/linearalgebra/gmx_lapack/dlaev2.c [moved from src/gromacs/gmxlib/gmx_lapack/dlaev2.c with 98% similarity]
src/gromacs/linearalgebra/gmx_lapack/dlagtf.c [moved from src/gromacs/gmxlib/gmx_lapack/dlagtf.c with 98% similarity]
src/gromacs/linearalgebra/gmx_lapack/dlagts.c [moved from src/gromacs/gmxlib/gmx_lapack/dlagts.c with 99% similarity]
src/gromacs/linearalgebra/gmx_lapack/dlamrg.c [moved from src/gromacs/gmxlib/gmx_lapack/dlamrg.c with 97% similarity]
src/gromacs/linearalgebra/gmx_lapack/dlange.c [moved from src/gromacs/gmxlib/gmx_lapack/dlange.c with 97% similarity]
src/gromacs/linearalgebra/gmx_lapack/dlanst.c [moved from src/gromacs/gmxlib/gmx_lapack/dlanst.c with 97% similarity]
src/gromacs/linearalgebra/gmx_lapack/dlansy.c [moved from src/gromacs/gmxlib/gmx_lapack/dlansy.c with 98% similarity]
src/gromacs/linearalgebra/gmx_lapack/dlapy2.c [moved from src/gromacs/gmxlib/gmx_lapack/dlapy2.c with 93% similarity]
src/gromacs/linearalgebra/gmx_lapack/dlar1vx.c [moved from src/gromacs/gmxlib/gmx_lapack/dlar1vx.c with 99% similarity]
src/gromacs/linearalgebra/gmx_lapack/dlarf.c [moved from src/gromacs/gmxlib/gmx_lapack/dlarf.c with 93% similarity]
src/gromacs/linearalgebra/gmx_lapack/dlarfb.c [moved from src/gromacs/gmxlib/gmx_lapack/dlarfb.c with 99% similarity]
src/gromacs/linearalgebra/gmx_lapack/dlarfg.c [moved from src/gromacs/gmxlib/gmx_lapack/dlarfg.c with 96% similarity]
src/gromacs/linearalgebra/gmx_lapack/dlarft.c [moved from src/gromacs/gmxlib/gmx_lapack/dlarft.c with 98% similarity]
src/gromacs/linearalgebra/gmx_lapack/dlarnv.c [moved from src/gromacs/gmxlib/gmx_lapack/dlarnv.c with 97% similarity]
src/gromacs/linearalgebra/gmx_lapack/dlarrbx.c [moved from src/gromacs/gmxlib/gmx_lapack/dlarrbx.c with 99% similarity]
src/gromacs/linearalgebra/gmx_lapack/dlarrex.c [moved from src/gromacs/gmxlib/gmx_lapack/dlarrex.c with 99% similarity]
src/gromacs/linearalgebra/gmx_lapack/dlarrfx.c [moved from src/gromacs/gmxlib/gmx_lapack/dlarrfx.c with 97% similarity]
src/gromacs/linearalgebra/gmx_lapack/dlarrvx.c [moved from src/gromacs/gmxlib/gmx_lapack/dlarrvx.c with 99% similarity]
src/gromacs/linearalgebra/gmx_lapack/dlartg.c [moved from src/gromacs/gmxlib/gmx_lapack/dlartg.c with 98% similarity]
src/gromacs/linearalgebra/gmx_lapack/dlaruv.c [moved from src/gromacs/gmxlib/gmx_lapack/dlaruv.c with 99% similarity]
src/gromacs/linearalgebra/gmx_lapack/dlas2.c [moved from src/gromacs/gmxlib/gmx_lapack/dlas2.c with 97% similarity]
src/gromacs/linearalgebra/gmx_lapack/dlascl.c [moved from src/gromacs/gmxlib/gmx_lapack/dlascl.c with 99% similarity]
src/gromacs/linearalgebra/gmx_lapack/dlasd0.c [moved from src/gromacs/gmxlib/gmx_lapack/dlasd0.c with 99% similarity]
src/gromacs/linearalgebra/gmx_lapack/dlasd1.c [moved from src/gromacs/gmxlib/gmx_lapack/dlasd1.c with 98% similarity]
src/gromacs/linearalgebra/gmx_lapack/dlasd2.c [moved from src/gromacs/gmxlib/gmx_lapack/dlasd2.c with 99% similarity]
src/gromacs/linearalgebra/gmx_lapack/dlasd3.c [moved from src/gromacs/gmxlib/gmx_lapack/dlasd3.c with 99% similarity]
src/gromacs/linearalgebra/gmx_lapack/dlasd4.c [moved from src/gromacs/gmxlib/gmx_lapack/dlasd4.c with 99% similarity]
src/gromacs/linearalgebra/gmx_lapack/dlasd5.c [moved from src/gromacs/gmxlib/gmx_lapack/dlasd5.c with 98% similarity]
src/gromacs/linearalgebra/gmx_lapack/dlasd6.c [moved from src/gromacs/gmxlib/gmx_lapack/dlasd6.c with 97% similarity]
src/gromacs/linearalgebra/gmx_lapack/dlasd7.c [moved from src/gromacs/gmxlib/gmx_lapack/dlasd7.c with 98% similarity]
src/gromacs/linearalgebra/gmx_lapack/dlasd8.c [moved from src/gromacs/gmxlib/gmx_lapack/dlasd8.c with 98% similarity]
src/gromacs/linearalgebra/gmx_lapack/dlasda.c [moved from src/gromacs/gmxlib/gmx_lapack/dlasda.c with 99% similarity]
src/gromacs/linearalgebra/gmx_lapack/dlasdq.c [moved from src/gromacs/gmxlib/gmx_lapack/dlasdq.c with 98% similarity]
src/gromacs/linearalgebra/gmx_lapack/dlasdt.c [moved from src/gromacs/gmxlib/gmx_lapack/dlasdt.c with 96% similarity]
src/gromacs/linearalgebra/gmx_lapack/dlaset.c [moved from src/gromacs/gmxlib/gmx_lapack/dlaset.c with 95% similarity]
src/gromacs/linearalgebra/gmx_lapack/dlasq1.c [moved from src/gromacs/gmxlib/gmx_lapack/dlasq1.c with 96% similarity]
src/gromacs/linearalgebra/gmx_lapack/dlasq2.c [moved from src/gromacs/gmxlib/gmx_lapack/dlasq2.c with 99% similarity]
src/gromacs/linearalgebra/gmx_lapack/dlasq3.c [moved from src/gromacs/gmxlib/gmx_lapack/dlasq3.c with 99% similarity]
src/gromacs/linearalgebra/gmx_lapack/dlasq4.c [moved from src/gromacs/gmxlib/gmx_lapack/dlasq4.c with 99% similarity]
src/gromacs/linearalgebra/gmx_lapack/dlasq5.c [moved from src/gromacs/gmxlib/gmx_lapack/dlasq5.c with 99% similarity]
src/gromacs/linearalgebra/gmx_lapack/dlasq6.c [moved from src/gromacs/gmxlib/gmx_lapack/dlasq6.c with 99% similarity]
src/gromacs/linearalgebra/gmx_lapack/dlasr.c [moved from src/gromacs/gmxlib/gmx_lapack/dlasr.c with 99% similarity]
src/gromacs/linearalgebra/gmx_lapack/dlasrt.c [moved from src/gromacs/gmxlib/gmx_lapack/dlasrt.c with 99% similarity]
src/gromacs/linearalgebra/gmx_lapack/dlasrt2.c [moved from src/gromacs/gmxlib/gmx_lapack/dlasrt2.c with 99% similarity]
src/gromacs/linearalgebra/gmx_lapack/dlassq.c [moved from src/gromacs/gmxlib/gmx_lapack/dlassq.c with 95% similarity]
src/gromacs/linearalgebra/gmx_lapack/dlasv2.c [moved from src/gromacs/gmxlib/gmx_lapack/dlasv2.c with 99% similarity]
src/gromacs/linearalgebra/gmx_lapack/dlaswp.c [moved from src/gromacs/gmxlib/gmx_lapack/dlaswp.c with 97% similarity]
src/gromacs/linearalgebra/gmx_lapack/dlatrd.c [moved from src/gromacs/gmxlib/gmx_lapack/dlatrd.c with 98% similarity]
src/gromacs/linearalgebra/gmx_lapack/dorg2r.c [moved from src/gromacs/gmxlib/gmx_lapack/dorg2r.c with 96% similarity]
src/gromacs/linearalgebra/gmx_lapack/dorgbr.c [moved from src/gromacs/gmxlib/gmx_lapack/dorgbr.c with 97% similarity]
src/gromacs/linearalgebra/gmx_lapack/dorgl2.c [moved from src/gromacs/gmxlib/gmx_lapack/dorgl2.c with 96% similarity]
src/gromacs/linearalgebra/gmx_lapack/dorglq.c [moved from src/gromacs/gmxlib/gmx_lapack/dorglq.c with 99% similarity]
src/gromacs/linearalgebra/gmx_lapack/dorgqr.c [moved from src/gromacs/gmxlib/gmx_lapack/dorgqr.c with 98% similarity]
src/gromacs/linearalgebra/gmx_lapack/dorm2l.c [moved from src/gromacs/gmxlib/gmx_lapack/dorm2l.c with 98% similarity]
src/gromacs/linearalgebra/gmx_lapack/dorm2r.c [moved from src/gromacs/gmxlib/gmx_lapack/dorm2r.c with 98% similarity]
src/gromacs/linearalgebra/gmx_lapack/dormbr.c [moved from src/gromacs/gmxlib/gmx_lapack/dormbr.c with 98% similarity]
src/gromacs/linearalgebra/gmx_lapack/dorml2.c [moved from src/gromacs/gmxlib/gmx_lapack/dorml2.c with 97% similarity]
src/gromacs/linearalgebra/gmx_lapack/dormlq.c [moved from src/gromacs/gmxlib/gmx_lapack/dormlq.c with 98% similarity]
src/gromacs/linearalgebra/gmx_lapack/dormql.c [moved from src/gromacs/gmxlib/gmx_lapack/dormql.c with 98% similarity]
src/gromacs/linearalgebra/gmx_lapack/dormqr.c [moved from src/gromacs/gmxlib/gmx_lapack/dormqr.c with 98% similarity]
src/gromacs/linearalgebra/gmx_lapack/dormtr.c [moved from src/gromacs/gmxlib/gmx_lapack/dormtr.c with 98% similarity]
src/gromacs/linearalgebra/gmx_lapack/dstebz.c [moved from src/gromacs/gmxlib/gmx_lapack/dstebz.c with 99% similarity]
src/gromacs/linearalgebra/gmx_lapack/dstegr.c [moved from src/gromacs/gmxlib/gmx_lapack/dstegr.c with 98% similarity]
src/gromacs/linearalgebra/gmx_lapack/dstein.c [moved from src/gromacs/gmxlib/gmx_lapack/dstein.c with 98% similarity]
src/gromacs/linearalgebra/gmx_lapack/dsteqr.c [moved from src/gromacs/gmxlib/gmx_lapack/dsteqr.c with 99% similarity]
src/gromacs/linearalgebra/gmx_lapack/dsterf.c [moved from src/gromacs/gmxlib/gmx_lapack/dsterf.c with 99% similarity]
src/gromacs/linearalgebra/gmx_lapack/dstevr.c [moved from src/gromacs/gmxlib/gmx_lapack/dstevr.c with 97% similarity]
src/gromacs/linearalgebra/gmx_lapack/dsyevr.c [moved from src/gromacs/gmxlib/gmx_lapack/dsyevr.c with 98% similarity]
src/gromacs/linearalgebra/gmx_lapack/dsytd2.c [moved from src/gromacs/gmxlib/gmx_lapack/dsytd2.c with 97% similarity]
src/gromacs/linearalgebra/gmx_lapack/dsytrd.c [moved from src/gromacs/gmxlib/gmx_lapack/dsytrd.c with 98% similarity]
src/gromacs/linearalgebra/gmx_lapack/dtrti2.c [moved from src/gromacs/gmxlib/gmx_lapack/dtrti2.c with 96% similarity]
src/gromacs/linearalgebra/gmx_lapack/dtrtri.c [moved from src/gromacs/gmxlib/gmx_lapack/dtrtri.c with 97% similarity]
src/gromacs/linearalgebra/gmx_lapack/ilasrt2.c [moved from src/gromacs/gmxlib/gmx_lapack/ilasrt2.c with 99% similarity]
src/gromacs/linearalgebra/gmx_lapack/lapack_copyright [moved from src/gromacs/gmxlib/gmx_lapack/lapack_copyright with 100% similarity]
src/gromacs/linearalgebra/gmx_lapack/lapack_limits.h [moved from src/gromacs/gmxlib/gmx_lapack/lapack_limits.h with 100% similarity]
src/gromacs/linearalgebra/gmx_lapack/sbdsdc.c [moved from src/gromacs/gmxlib/gmx_lapack/sbdsdc.c with 99% similarity]
src/gromacs/linearalgebra/gmx_lapack/sbdsqr.c [moved from src/gromacs/gmxlib/gmx_lapack/sbdsqr.c with 99% similarity]
src/gromacs/linearalgebra/gmx_lapack/sgebd2.c [moved from src/gromacs/gmxlib/gmx_lapack/sgebd2.c with 98% similarity]
src/gromacs/linearalgebra/gmx_lapack/sgebrd.c [moved from src/gromacs/gmxlib/gmx_lapack/sgebrd.c with 97% similarity]
src/gromacs/linearalgebra/gmx_lapack/sgelq2.c [moved from src/gromacs/gmxlib/gmx_lapack/sgelq2.c with 97% similarity]
src/gromacs/linearalgebra/gmx_lapack/sgelqf.c [moved from src/gromacs/gmxlib/gmx_lapack/sgelqf.c with 98% similarity]
src/gromacs/linearalgebra/gmx_lapack/sgeqr2.c [moved from src/gromacs/gmxlib/gmx_lapack/sgeqr2.c with 95% similarity]
src/gromacs/linearalgebra/gmx_lapack/sgeqrf.c [moved from src/gromacs/gmxlib/gmx_lapack/sgeqrf.c with 98% similarity]
src/gromacs/linearalgebra/gmx_lapack/sgesdd.c [moved from src/gromacs/gmxlib/gmx_lapack/sgesdd.c with 99% similarity]
src/gromacs/linearalgebra/gmx_lapack/sgetf2.c [moved from src/gromacs/gmxlib/gmx_lapack/sgetf2.c with 94% similarity]
src/gromacs/linearalgebra/gmx_lapack/sgetrf.c [moved from src/gromacs/gmxlib/gmx_lapack/sgetrf.c with 97% similarity]
src/gromacs/linearalgebra/gmx_lapack/sgetri.c [moved from src/gromacs/gmxlib/gmx_lapack/sgetri.c with 97% similarity]
src/gromacs/linearalgebra/gmx_lapack/sgetrs.c [moved from src/gromacs/gmxlib/gmx_lapack/sgetrs.c with 95% similarity]
src/gromacs/linearalgebra/gmx_lapack/slabrd.c [moved from src/gromacs/gmxlib/gmx_lapack/slabrd.c with 99% similarity]
src/gromacs/linearalgebra/gmx_lapack/slacpy.c [moved from src/gromacs/gmxlib/gmx_lapack/slacpy.c with 95% similarity]
src/gromacs/linearalgebra/gmx_lapack/slae2.c [moved from src/gromacs/gmxlib/gmx_lapack/slae2.c with 96% similarity]
src/gromacs/linearalgebra/gmx_lapack/slaebz.c [moved from src/gromacs/gmxlib/gmx_lapack/slaebz.c with 99% similarity]
src/gromacs/linearalgebra/gmx_lapack/slaed6.c [moved from src/gromacs/gmxlib/gmx_lapack/slaed6.c with 99% similarity]
src/gromacs/linearalgebra/gmx_lapack/slaev2.c [moved from src/gromacs/gmxlib/gmx_lapack/slaev2.c with 98% similarity]
src/gromacs/linearalgebra/gmx_lapack/slagtf.c [moved from src/gromacs/gmxlib/gmx_lapack/slagtf.c with 98% similarity]
src/gromacs/linearalgebra/gmx_lapack/slagts.c [moved from src/gromacs/gmxlib/gmx_lapack/slagts.c with 99% similarity]
src/gromacs/linearalgebra/gmx_lapack/slamrg.c [moved from src/gromacs/gmxlib/gmx_lapack/slamrg.c with 97% similarity]
src/gromacs/linearalgebra/gmx_lapack/slange.c [moved from src/gromacs/gmxlib/gmx_lapack/slange.c with 97% similarity]
src/gromacs/linearalgebra/gmx_lapack/slanst.c [moved from src/gromacs/gmxlib/gmx_lapack/slanst.c with 97% similarity]
src/gromacs/linearalgebra/gmx_lapack/slansy.c [moved from src/gromacs/gmxlib/gmx_lapack/slansy.c with 98% similarity]
src/gromacs/linearalgebra/gmx_lapack/slapy2.c [moved from src/gromacs/gmxlib/gmx_lapack/slapy2.c with 93% similarity]
src/gromacs/linearalgebra/gmx_lapack/slar1vx.c [moved from src/gromacs/gmxlib/gmx_lapack/slar1vx.c with 99% similarity]
src/gromacs/linearalgebra/gmx_lapack/slarf.c [moved from src/gromacs/gmxlib/gmx_lapack/slarf.c with 93% similarity]
src/gromacs/linearalgebra/gmx_lapack/slarfb.c [moved from src/gromacs/gmxlib/gmx_lapack/slarfb.c with 99% similarity]
src/gromacs/linearalgebra/gmx_lapack/slarfg.c [moved from src/gromacs/gmxlib/gmx_lapack/slarfg.c with 96% similarity]
src/gromacs/linearalgebra/gmx_lapack/slarft.c [moved from src/gromacs/gmxlib/gmx_lapack/slarft.c with 98% similarity]
src/gromacs/linearalgebra/gmx_lapack/slarnv.c [moved from src/gromacs/gmxlib/gmx_lapack/slarnv.c with 97% similarity]
src/gromacs/linearalgebra/gmx_lapack/slarrbx.c [moved from src/gromacs/gmxlib/gmx_lapack/slarrbx.c with 99% similarity]
src/gromacs/linearalgebra/gmx_lapack/slarrex.c [moved from src/gromacs/gmxlib/gmx_lapack/slarrex.c with 99% similarity]
src/gromacs/linearalgebra/gmx_lapack/slarrfx.c [moved from src/gromacs/gmxlib/gmx_lapack/slarrfx.c with 97% similarity]
src/gromacs/linearalgebra/gmx_lapack/slarrvx.c [moved from src/gromacs/gmxlib/gmx_lapack/slarrvx.c with 99% similarity]
src/gromacs/linearalgebra/gmx_lapack/slartg.c [moved from src/gromacs/gmxlib/gmx_lapack/slartg.c with 98% similarity]
src/gromacs/linearalgebra/gmx_lapack/slaruv.c [moved from src/gromacs/gmxlib/gmx_lapack/slaruv.c with 99% similarity]
src/gromacs/linearalgebra/gmx_lapack/slas2.c [moved from src/gromacs/gmxlib/gmx_lapack/slas2.c with 97% similarity]
src/gromacs/linearalgebra/gmx_lapack/slascl.c [moved from src/gromacs/gmxlib/gmx_lapack/slascl.c with 99% similarity]
src/gromacs/linearalgebra/gmx_lapack/slasd0.c [moved from src/gromacs/gmxlib/gmx_lapack/slasd0.c with 99% similarity]
src/gromacs/linearalgebra/gmx_lapack/slasd1.c [moved from src/gromacs/gmxlib/gmx_lapack/slasd1.c with 98% similarity]
src/gromacs/linearalgebra/gmx_lapack/slasd2.c [moved from src/gromacs/gmxlib/gmx_lapack/slasd2.c with 99% similarity]
src/gromacs/linearalgebra/gmx_lapack/slasd3.c [moved from src/gromacs/gmxlib/gmx_lapack/slasd3.c with 99% similarity]
src/gromacs/linearalgebra/gmx_lapack/slasd4.c [moved from src/gromacs/gmxlib/gmx_lapack/slasd4.c with 99% similarity]
src/gromacs/linearalgebra/gmx_lapack/slasd5.c [moved from src/gromacs/gmxlib/gmx_lapack/slasd5.c with 98% similarity]
src/gromacs/linearalgebra/gmx_lapack/slasd6.c [moved from src/gromacs/gmxlib/gmx_lapack/slasd6.c with 97% similarity]
src/gromacs/linearalgebra/gmx_lapack/slasd7.c [moved from src/gromacs/gmxlib/gmx_lapack/slasd7.c with 98% similarity]
src/gromacs/linearalgebra/gmx_lapack/slasd8.c [moved from src/gromacs/gmxlib/gmx_lapack/slasd8.c with 98% similarity]
src/gromacs/linearalgebra/gmx_lapack/slasda.c [moved from src/gromacs/gmxlib/gmx_lapack/slasda.c with 99% similarity]
src/gromacs/linearalgebra/gmx_lapack/slasdq.c [moved from src/gromacs/gmxlib/gmx_lapack/slasdq.c with 98% similarity]
src/gromacs/linearalgebra/gmx_lapack/slasdt.c [moved from src/gromacs/gmxlib/gmx_lapack/slasdt.c with 96% similarity]
src/gromacs/linearalgebra/gmx_lapack/slaset.c [moved from src/gromacs/gmxlib/gmx_lapack/slaset.c with 95% similarity]
src/gromacs/linearalgebra/gmx_lapack/slasq1.c [moved from src/gromacs/gmxlib/gmx_lapack/slasq1.c with 96% similarity]
src/gromacs/linearalgebra/gmx_lapack/slasq2.c [moved from src/gromacs/gmxlib/gmx_lapack/slasq2.c with 99% similarity]
src/gromacs/linearalgebra/gmx_lapack/slasq3.c [moved from src/gromacs/gmxlib/gmx_lapack/slasq3.c with 99% similarity]
src/gromacs/linearalgebra/gmx_lapack/slasq4.c [moved from src/gromacs/gmxlib/gmx_lapack/slasq4.c with 99% similarity]
src/gromacs/linearalgebra/gmx_lapack/slasq5.c [moved from src/gromacs/gmxlib/gmx_lapack/slasq5.c with 99% similarity]
src/gromacs/linearalgebra/gmx_lapack/slasq6.c [moved from src/gromacs/gmxlib/gmx_lapack/slasq6.c with 99% similarity]
src/gromacs/linearalgebra/gmx_lapack/slasr.c [moved from src/gromacs/gmxlib/gmx_lapack/slasr.c with 99% similarity]
src/gromacs/linearalgebra/gmx_lapack/slasrt.c [moved from src/gromacs/gmxlib/gmx_lapack/slasrt.c with 99% similarity]
src/gromacs/linearalgebra/gmx_lapack/slasrt2.c [moved from src/gromacs/gmxlib/gmx_lapack/slasrt2.c with 99% similarity]
src/gromacs/linearalgebra/gmx_lapack/slassq.c [moved from src/gromacs/gmxlib/gmx_lapack/slassq.c with 95% similarity]
src/gromacs/linearalgebra/gmx_lapack/slasv2.c [moved from src/gromacs/gmxlib/gmx_lapack/slasv2.c with 99% similarity]
src/gromacs/linearalgebra/gmx_lapack/slaswp.c [moved from src/gromacs/gmxlib/gmx_lapack/slaswp.c with 97% similarity]
src/gromacs/linearalgebra/gmx_lapack/slatrd.c [moved from src/gromacs/gmxlib/gmx_lapack/slatrd.c with 98% similarity]
src/gromacs/linearalgebra/gmx_lapack/sorg2r.c [moved from src/gromacs/gmxlib/gmx_lapack/sorg2r.c with 96% similarity]
src/gromacs/linearalgebra/gmx_lapack/sorgbr.c [moved from src/gromacs/gmxlib/gmx_lapack/sorgbr.c with 97% similarity]
src/gromacs/linearalgebra/gmx_lapack/sorgl2.c [moved from src/gromacs/gmxlib/gmx_lapack/sorgl2.c with 96% similarity]
src/gromacs/linearalgebra/gmx_lapack/sorglq.c [moved from src/gromacs/gmxlib/gmx_lapack/sorglq.c with 99% similarity]
src/gromacs/linearalgebra/gmx_lapack/sorgqr.c [moved from src/gromacs/gmxlib/gmx_lapack/sorgqr.c with 98% similarity]
src/gromacs/linearalgebra/gmx_lapack/sorm2l.c [moved from src/gromacs/gmxlib/gmx_lapack/sorm2l.c with 98% similarity]
src/gromacs/linearalgebra/gmx_lapack/sorm2r.c [moved from src/gromacs/gmxlib/gmx_lapack/sorm2r.c with 98% similarity]
src/gromacs/linearalgebra/gmx_lapack/sormbr.c [moved from src/gromacs/gmxlib/gmx_lapack/sormbr.c with 98% similarity]
src/gromacs/linearalgebra/gmx_lapack/sorml2.c [moved from src/gromacs/gmxlib/gmx_lapack/sorml2.c with 97% similarity]
src/gromacs/linearalgebra/gmx_lapack/sormlq.c [moved from src/gromacs/gmxlib/gmx_lapack/sormlq.c with 98% similarity]
src/gromacs/linearalgebra/gmx_lapack/sormql.c [moved from src/gromacs/gmxlib/gmx_lapack/sormql.c with 98% similarity]
src/gromacs/linearalgebra/gmx_lapack/sormqr.c [moved from src/gromacs/gmxlib/gmx_lapack/sormqr.c with 98% similarity]
src/gromacs/linearalgebra/gmx_lapack/sormtr.c [moved from src/gromacs/gmxlib/gmx_lapack/sormtr.c with 98% similarity]
src/gromacs/linearalgebra/gmx_lapack/sstebz.c [moved from src/gromacs/gmxlib/gmx_lapack/sstebz.c with 99% similarity]
src/gromacs/linearalgebra/gmx_lapack/sstegr.c [moved from src/gromacs/gmxlib/gmx_lapack/sstegr.c with 98% similarity]
src/gromacs/linearalgebra/gmx_lapack/sstein.c [moved from src/gromacs/gmxlib/gmx_lapack/sstein.c with 98% similarity]
src/gromacs/linearalgebra/gmx_lapack/ssteqr.c [moved from src/gromacs/gmxlib/gmx_lapack/ssteqr.c with 99% similarity]
src/gromacs/linearalgebra/gmx_lapack/ssterf.c [moved from src/gromacs/gmxlib/gmx_lapack/ssterf.c with 99% similarity]
src/gromacs/linearalgebra/gmx_lapack/sstevr.c [moved from src/gromacs/gmxlib/gmx_lapack/sstevr.c with 98% similarity]
src/gromacs/linearalgebra/gmx_lapack/ssyevr.c [moved from src/gromacs/gmxlib/gmx_lapack/ssyevr.c with 98% similarity]
src/gromacs/linearalgebra/gmx_lapack/ssytd2.c [moved from src/gromacs/gmxlib/gmx_lapack/ssytd2.c with 97% similarity]
src/gromacs/linearalgebra/gmx_lapack/ssytrd.c [moved from src/gromacs/gmxlib/gmx_lapack/ssytrd.c with 98% similarity]
src/gromacs/linearalgebra/gmx_lapack/strti2.c [moved from src/gromacs/gmxlib/gmx_lapack/strti2.c with 96% similarity]
src/gromacs/linearalgebra/gmx_lapack/strtri.c [moved from src/gromacs/gmxlib/gmx_lapack/strtri.c with 97% similarity]
src/gromacs/linearalgebra/matrix.c [moved from src/gromacs/gmxlib/gmx_matrix.c with 96% similarity]
src/gromacs/linearalgebra/matrix.h [moved from src/gromacs/legacyheaders/gmx_matrix.h with 94% similarity]
src/gromacs/linearalgebra/mtxio.c [moved from src/gromacs/gmxlib/mtxio.c with 96% similarity]
src/gromacs/linearalgebra/mtxio.h [moved from src/gromacs/legacyheaders/mtxio.h with 96% similarity]
src/gromacs/linearalgebra/sparsematrix.c [moved from src/gromacs/gmxlib/sparsematrix.c with 99% similarity]
src/gromacs/linearalgebra/sparsematrix.h [moved from src/gromacs/legacyheaders/sparsematrix.h with 92% similarity]
src/gromacs/mdlib/minimize.c
src/programs/gmxdump/gmxdump.c
src/tools/CMakeLists.txt
src/tools/gmx_analyze.c
src/tools/gmx_cluster.c
src/tools/gmx_covar.c
src/tools/gmx_nmeig.c
src/tools/gmx_rmsf.c

index a4f859dada87f3719cadd0969d4b66cc1ba0be9e..c9135434af6586ff3f008ee8e4518f83a8fd58aa 100644 (file)
@@ -16,6 +16,10 @@ INCLUDE_PATH           = @CMAKE_SOURCE_DIR@/src \
 HAVE_DOT               = @DOXYGEN_DOT_FOUND@
 DOT_PATH               = @DOXYGEN_DOT_PATH@
 
+MACRO_EXPANSION        = YES
+EXPAND_ONLY_PREDEF     = YES
+PREDEFINED             = F77_FUNC(name,NAME)=name
+
 ENABLED_SECTIONS       = libapi internal
 INTERNAL_DOCS          = YES
 HIDE_UNDOC_CLASSES     = YES
index 8c5062e761ad3ddefdb8c909ffbd39d2885409b6..76eb5eafd4e0b3fe0339730587e5fa104b1b8464 100644 (file)
@@ -6,6 +6,7 @@ add_subdirectory(mdlib)
 add_subdirectory(gmxpreprocess)
 add_subdirectory(analysisdata)
 add_subdirectory(commandline)
+add_subdirectory(linearalgebra)
 add_subdirectory(options)
 add_subdirectory(selection)
 add_subdirectory(trajectoryanalysis)
index 92cc5abdd31b1f63981f48d745fb2c18677e0615..e0ba1459618686b5c2b4d98fd1f235c7bb990f8f 100644 (file)
@@ -50,14 +50,6 @@ if(GMX_PPC_ALTIVEC)
   file(GLOB GMX_PPC_ALTIVEC_SRC nonbonded/nb_kernel_ppc_altivec/*.c)
 endif(GMX_PPC_ALTIVEC)
 
-if(NOT GMX_EXTERNAL_BLAS)
-  file(GLOB BLAS_SOURCES gmx_blas/*.c)
-endif(NOT GMX_EXTERNAL_BLAS)
-
-if(NOT GMX_EXTERNAL_LAPACK)
-  file(GLOB LAPACK_SOURCES gmx_lapack/*.c)
-endif(NOT GMX_EXTERNAL_LAPACK)
-
 # This would be the standard way to include thread_mpi, but we want libgmx
 # to link the functions directly
 #if(GMX_THREAD_MPI)
@@ -80,7 +72,7 @@ endif()
 file(GLOB THREAD_MPI_SOURCES ${THREAD_MPI_SRC})
 
 set(GMX_SSEKERNEL_ASM_SRC ${GMX_SSEKERNEL_ASM_SRC} PARENT_SCOPE)
-set(GMXLIB_SOURCES ${GMXLIB_SOURCES} ${BLAS_SOURCES} ${LAPACK_SOURCES}
+set(GMXLIB_SOURCES ${GMXLIB_SOURCES}
     ${GMX_SSEKERNEL_C_SRC} ${FORTRAN_SOURCES}
     ${GMX_BLUEGENE_C_SRC} ${GMX_PPC_ALTIVEC_SRC} ${THREAD_MPI_SOURCES}
     PARENT_SCOPE)
diff --git a/src/gromacs/linearalgebra/CMakeLists.txt b/src/gromacs/linearalgebra/CMakeLists.txt
new file mode 100644 (file)
index 0000000..d1e4c23
--- /dev/null
@@ -0,0 +1,24 @@
+file(GLOB LINEARALGEBRA_SOURCES *.c)
+
+if (NOT GMX_EXTERNAL_BLAS)
+    file(GLOB BLAS_SOURCES gmx_blas/*.c)
+endif (NOT GMX_EXTERNAL_BLAS)
+
+if (NOT GMX_EXTERNAL_LAPACK)
+    file(GLOB LAPACK_SOURCES gmx_lapack/*.c)
+endif (NOT GMX_EXTERNAL_LAPACK)
+
+set(LINEARALGEBRA_SOURCES
+    ${LINEARALGEBRA_SOURCES} ${BLAS_SOURCES} ${LAPACK_SOURCES})
+
+set(LIBGROMACS_SOURCES
+    ${LIBGROMACS_SOURCES} ${LINEARALGEBRA_SOURCES} PARENT_SCOPE)
+
+set(LINEARALGEBRA_PUBLIC_HEADERS
+    eigensolver.h
+    matrix.h
+    mtxio.h
+    sparsematrix.h)
+install(FILES ${LINEARALGEBRA_PUBLIC_HEADERS}
+        DESTINATION ${INCL_INSTALL_DIR}/gromacs/linearalgebra
+        COMPONENT development)
similarity index 98%
rename from src/tools/eigensolver.c
rename to src/gromacs/linearalgebra/eigensolver.c
index 0708a507240e9dd1326f8ac4ecada11fd011466f..932a732377b50a25cce47dedd6798b047e094dd9 100644 (file)
  * And Hey:
  * Green Red Orange Magenta Azure Cyan Skyblue
  */
-
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
-
-#include "types/simple.h"
-#include "smalloc.h"
-#include "gmx_fatal.h"
-
-#include "sparsematrix.h"
 #include "eigensolver.h"
 
-#ifndef F77_FUNC
-#define F77_FUNC(name,NAME) name ## _
-#endif
+#include "gromacs/legacyheaders/types/simple.h"
+#include "gromacs/legacyheaders/gmx_fatal.h"
+#include "gromacs/legacyheaders/smalloc.h"
+
+#include "gromacs/linearalgebra/sparsematrix.h"
 
 #include "gmx_lapack.h"
 #include "gmx_arpack.h"
similarity index 94%
rename from src/tools/eigensolver.h
rename to src/gromacs/linearalgebra/eigensolver.h
index 100efbfa2d834463f29c2e8e69046d53e3bf6b39..821b0907e2ca754d0473676613bc6fa54d6694fe 100644 (file)
  * And Hey:
  * Green Red Orange Magenta Azure Cyan Skyblue
  */
+#ifndef GMX_LINEARALGEBRA_EIGENSOLVER_H
+#define GMX_LINEARALGEBRA_EIGENSOLVER_H
 
-#ifndef _EIGENSOLVER_H
-#define _EIGENSOLVER_H
+#include "../legacyheaders/types/simple.h"
 
-#include "types/simple.h"
 #include "sparsematrix.h"
 
+#ifdef __cplusplus
+extern "C" {
+#endif
 
 /** Calculate eigenvalues/vectors a matrix stored in linear memory (not sparse).
  *
@@ -87,5 +90,8 @@ sparse_eigensolver(gmx_sparsematrix_t *    A,
                    real *                  eigenvectors,
                    int                     maxiter);
 
+#ifdef __cplusplus
+}
+#endif
 
 #endif
similarity index 99%
rename from src/gromacs/gmxlib/gmx_arpack.c
rename to src/gromacs/linearalgebra/gmx_arpack.c
index 3a4e4491195c0c61c3171fca8160e295f880acbd..0a8c68b678ac53b117b74a7a58f2dee4e2b4964e 100644 (file)
  *    Rice University           
  *    Houston, Texas            
  */
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
-
 #include <math.h>
 #include <string.h>
 
-#include "types/simple.h"
-#include "gmx_lapack.h"
-#include "gmx_blas.h"
-#include "gmx_arpack.h"
-
-
-/* Default Fortran name mangling */
-#ifndef F77_FUNC
-#define F77_FUNC(name,NAME) name ## _
-#endif
-
+#include "gromacs/legacyheaders/types/simple.h"
 
+#include "gmx_arpack.h"
+#include "gmx_blas.h"
+#include "gmx_lapack.h"
 
 static void 
 F77_FUNC(dstqrb,DSTQRB)(int *      n, 
similarity index 99%
rename from src/gromacs/legacyheaders/gmx_arpack.h
rename to src/gromacs/linearalgebra/gmx_arpack.h
index cd5ab75a504fae4f4e82d21095ab4112b04106d8..5b5fff88e7e54f559f5d5ca7847fc41f96db0346 100644 (file)
  *    Rice University           
  *    Houston, Texas            
  */
-
-#ifndef _GMX_ARPACK_H
-#define _GMX_ARPACK_H
-
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/*! \file
- * \brief Selected routines from ARPACK
+/*! \internal \file
+ * \brief
+ * Selected routines from ARPACK
  *
  * This file contains a subset of ARPACK functions to perform
  * diagonalization and SVD for sparse matrices in Gromacs.
@@ -50,11 +42,19 @@ extern "C" {
  * from ARPACK. The code is essentially the same, but the routines
  * have been made thread-safe by using extra workspace arrays.
  */
+#ifndef GMX_ARPACK_H
+#define GMX_ARPACK_H
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #ifndef F77_FUNC
 #define F77_FUNC(name,NAME) name ## _
 #endif
 
+#ifdef __cplusplus
+extern "C" {
+#endif
 
 /*! \brief Implicitly Restarted Arnoldi Iteration, double precision.
  *
similarity index 96%
rename from src/gromacs/legacyheaders/gmx_blas.h
rename to src/gromacs/linearalgebra/gmx_blas.h
index 8bd6b42cfb4aec19eb8b5b302ebceba745c20a76..1fd99456dd7cffe6865eafd9d4f149b42a627e66 100644 (file)
  * And Hey:
  * Gallium Rubidium Oxygen Manganese Argon Carbon Silicon
  */
-
-#ifndef _GMX_BLAS_H_
-#define _GMX_BLAS_H_
-
-#include "types/simple.h"
-
-/* Suppress Cygwin compiler warnings from using newlib version of
- * ctype.h */
-#ifdef GMX_CYGWIN
-#undef toupper
-#endif
-
-
-/** @file
- *
- *  @brief Header definitions for the standard BLAS library.
+/*! \internal \file
+ * \brief
+ * Header definitions for the standard BLAS library.
  *
  * This is the subset of BLAS routines used for the
  * linear algebra operations in Gromacs. 
  * at http://www.netlib.org/blas , so there is no point in repeating
  * it here.
  */
+#ifndef GMX_BLAS_H
+#define GMX_BLAS_H
+
+/*! \cond */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+#ifndef F77_FUNC
+#define F77_FUNC(name,NAME) name ## _
+#endif
+#include "gromacs/utility/gmx_header_config.h"
+
+/* Suppress Cygwin compiler warnings from using newlib version of
+ * ctype.h */
+#ifdef GMX_CYGWIN
+#undef toupper
+#endif
 
 #ifdef __cplusplus
 extern "C" {
@@ -70,11 +75,6 @@ extern "C" {
 }
 #endif
 
-#ifndef F77_FUNC
-#define F77_FUNC(name,NAME) name ## _
-#endif
-
-
 /* Double precision versions */
 double
 F77_FUNC(dasum,DASUM)(int *n, double *dx, int *incx);
@@ -214,6 +214,6 @@ F77_FUNC(isamax,ISAMAX)(int *n, float *dx, int *incx);
 }
 #endif
 
+/*! \endcond */
 
-
-#endif /* _BLAS_H_ */
+#endif /* GMX_BLAS_H */
similarity index 97%
rename from src/gromacs/gmxlib/gmx_blas/dasum.c
rename to src/gromacs/linearalgebra/gmx_blas/dasum.c
index f8d14372382a621f4d65c2be3607ed3a3d81a83e..dd1f713e91fddd2d765ece6ff674d08569f2fe58 100644 (file)
@@ -1,5 +1,5 @@
 #include <math.h>
-#include "gmx_blas.h"
+#include "../gmx_blas.h"
 
 double
 F77_FUNC(dasum,DASUM)(int *n__, 
similarity index 97%
rename from src/gromacs/gmxlib/gmx_blas/daxpy.c
rename to src/gromacs/linearalgebra/gmx_blas/daxpy.c
index 74f227e0f99b6709ffec5b624177de379c4f60e9..61564862476d30e6dc77c3b8c663c2329cd8adfd 100644 (file)
@@ -1,4 +1,4 @@
-#include "gmx_blas.h"
+#include "../gmx_blas.h"
 
 
 void
similarity index 97%
rename from src/gromacs/gmxlib/gmx_blas/dcopy.c
rename to src/gromacs/linearalgebra/gmx_blas/dcopy.c
index 784a6e0f4e8362d6f6bc563f47d4f1c4f6ef003d..9e843423b1f5a90dcc39bfa4d4338363829c6e03 100644 (file)
@@ -1,4 +1,4 @@
-#include "gmx_blas.h"
+#include "../gmx_blas.h"
 
 void
 F77_FUNC(dcopy,DCOPY)(int *n__,
similarity index 97%
rename from src/gromacs/gmxlib/gmx_blas/ddot.c
rename to src/gromacs/linearalgebra/gmx_blas/ddot.c
index b6eb3d1059eb144579b4e07317a9a7c8eb137f85..5e9787c53dd7b3f46692e2b485135f7260f09ea7 100644 (file)
@@ -1,4 +1,4 @@
-#include "gmx_blas.h"
+#include "../gmx_blas.h"
 
 double
 F77_FUNC(ddot,DDOT)(int *n_arg,
similarity index 99%
rename from src/gromacs/gmxlib/gmx_blas/dgemm.c
rename to src/gromacs/linearalgebra/gmx_blas/dgemm.c
index a7817062d379ebfef5d21ae26e67d5250887d105..ee0a4dc56077bb688a1c6c653e3f92d99e715906 100644 (file)
@@ -3,7 +3,7 @@
 
 #include <types/simple.h>
 
-#include "gmx_blas.h"
+#include "../gmx_blas.h"
 
 void
 F77_FUNC(dgemm,DGEMM)(const char *transa,
similarity index 98%
rename from src/gromacs/gmxlib/gmx_blas/dgemv.c
rename to src/gromacs/linearalgebra/gmx_blas/dgemv.c
index 6411b7a72ccb872248972b6b91b9d43ef9f040c0..e7711fe7274ee74354473f796b50190b182fd96e 100644 (file)
@@ -3,7 +3,7 @@
 
 #include <types/simple.h>
 
-#include "gmx_blas.h"
+#include "../gmx_blas.h"
 
 void
 F77_FUNC(dgemv,DGEMV)(const char *trans, 
similarity index 98%
rename from src/gromacs/gmxlib/gmx_blas/dger.c
rename to src/gromacs/linearalgebra/gmx_blas/dger.c
index 3a99137a4c15331557568caa22ca287e4bd0f55e..8c75ce202559c4100961e58c84b0055533bf5a75 100644 (file)
@@ -2,7 +2,7 @@
 
 #include <types/simple.h>
 
-#include "gmx_blas.h"
+#include "../gmx_blas.h"
 
 void
 F77_FUNC(dger,DGER)(int *m__,
similarity index 97%
rename from src/gromacs/gmxlib/gmx_blas/dnrm2.c
rename to src/gromacs/linearalgebra/gmx_blas/dnrm2.c
index bae495b53ff9f80ebe0e26f93a21fe6a67546f8a..884d681f4c7d5dd52725b6d4572363eef476ea0b 100644 (file)
@@ -1,7 +1,7 @@
 #include <math.h>
 
 #include <types/simple.h>
-#include "gmx_blas.h"
+#include "../gmx_blas.h"
 
 double
 F77_FUNC(dnrm2,DNRM2)(int  *     n__,
similarity index 96%
rename from src/gromacs/gmxlib/gmx_blas/drot.c
rename to src/gromacs/linearalgebra/gmx_blas/drot.c
index 0fc86a427c6ee40bf6e13e97e91350c9c9cf102a..2e926cdbdbc28bdb42f2159d4a3abbdd7a71d92b 100644 (file)
@@ -1,4 +1,4 @@
-#include "gmx_blas.h"
+#include "../gmx_blas.h"
 
 void
 F77_FUNC(drot,DROT)(int *n__,
similarity index 97%
rename from src/gromacs/gmxlib/gmx_blas/dscal.c
rename to src/gromacs/linearalgebra/gmx_blas/dscal.c
index d909c714b8eebe16123d1f4275725f5a8d767b51..2af19dbfda7224c340c4492556c054f00592690f 100644 (file)
@@ -1,4 +1,4 @@
-#include "gmx_blas.h"
+#include "../gmx_blas.h"
 
 void 
 F77_FUNC(dscal,DSCAL)(int  *    n__,
similarity index 97%
rename from src/gromacs/gmxlib/gmx_blas/dswap.c
rename to src/gromacs/linearalgebra/gmx_blas/dswap.c
index c368d68158342c7d1604d3155a11ed9c62c015fe..ed795ce434ba3f33c298f270d2ff0fc28520aa28 100644 (file)
@@ -1,4 +1,4 @@
-#include "gmx_blas.h"
+#include "../gmx_blas.h"
 
 void
 F77_FUNC(dswap,DSWAP)(int *n__,
similarity index 99%
rename from src/gromacs/gmxlib/gmx_blas/dsymv.c
rename to src/gromacs/linearalgebra/gmx_blas/dsymv.c
index dc61674baf0afed916be6f05317597a8d68f1aba..1cb187d454040ca9f8f62f089c44c7d2a1f5c072 100644 (file)
@@ -2,7 +2,7 @@
 #include <math.h>
 
 #include <types/simple.h>
-#include "gmx_blas.h"
+#include "../gmx_blas.h"
 
 void
 F77_FUNC(dsymv,DSYMV)(const char *uplo,
similarity index 99%
rename from src/gromacs/gmxlib/gmx_blas/dsyr2.c
rename to src/gromacs/linearalgebra/gmx_blas/dsyr2.c
index a1958ee633b63e6175ba4936f01dac0a6d8f872c..c6c5595f50e086cbd44dee5b43b45d7ecac4954f 100644 (file)
@@ -3,7 +3,7 @@
 
 #include <types/simple.h>
 
-#include "gmx_blas.h"
+#include "../gmx_blas.h"
 
 void
 F77_FUNC(dsyr2,DSYR2)(const char *    uplo,
similarity index 99%
rename from src/gromacs/gmxlib/gmx_blas/dsyr2k.c
rename to src/gromacs/linearalgebra/gmx_blas/dsyr2k.c
index 729744e587b317da2161f10316abe61f0e1d5a1b..522183ea6a09d300fea0e3b037c467b6f81dc9eb 100644 (file)
@@ -3,7 +3,7 @@
 
 
 #include <types/simple.h>
-#include "gmx_blas.h"
+#include "../gmx_blas.h"
 
 void
 F77_FUNC(dsyr2k,DSYR2K)(const char *uplo, 
similarity index 99%
rename from src/gromacs/gmxlib/gmx_blas/dtrmm.c
rename to src/gromacs/linearalgebra/gmx_blas/dtrmm.c
index c5698f77cfd3b344cb327ba95e265936f541e5a3..33096703501af63da0be55e3353dd33e4ecf0d81 100644 (file)
@@ -2,7 +2,7 @@
 
 #include <types/simple.h>
 
-#include "gmx_blas.h"
+#include "../gmx_blas.h"
 
 void 
 F77_FUNC(dtrmm,DTRMM)(const char *side, 
similarity index 99%
rename from src/gromacs/gmxlib/gmx_blas/dtrmv.c
rename to src/gromacs/linearalgebra/gmx_blas/dtrmv.c
index 5462cff03b0a47a90dbd1cb0475a46318c726a86..9b20bd2ca04785e9404bb74854fb8d14a790d030 100644 (file)
@@ -1,7 +1,7 @@
 #include <math.h>
 
 #include <types/simple.h>
-#include "gmx_blas.h"
+#include "../gmx_blas.h"
 
 void 
 F77_FUNC(dtrmv,DTRMV)(const char *uplo, 
similarity index 99%
rename from src/gromacs/gmxlib/gmx_blas/dtrsm.c
rename to src/gromacs/linearalgebra/gmx_blas/dtrsm.c
index 44e45a1429ad4177df4567a20af35bbe84092998..2c2f2faf929adde725d3f8c356ee7cbecd21442f 100644 (file)
@@ -2,7 +2,7 @@
 #include <math.h>
 
 #include <types/simple.h>
-#include "gmx_blas.h"
+#include "../gmx_blas.h"
 
 void
 F77_FUNC(dtrsm,DTRSM)(const char * side,
similarity index 96%
rename from src/gromacs/gmxlib/gmx_blas/idamax.c
rename to src/gromacs/linearalgebra/gmx_blas/idamax.c
index a68b6a47b6aafe4e1c301ed2122ec785ca084d5d..f4df699f6a94d741338c9edfa6f83afc6597642d 100644 (file)
@@ -1,5 +1,5 @@
 #include <math.h>
-#include "gmx_blas.h"
+#include "../gmx_blas.h"
 
 int
 F77_FUNC(idamax,IDAMAX)(int *n__,
similarity index 96%
rename from src/gromacs/gmxlib/gmx_blas/isamax.c
rename to src/gromacs/linearalgebra/gmx_blas/isamax.c
index 9f60db479cfefb64876498e803a53878c87c9cb5..2f12ead63f880acf8da7f920a314751267878817 100644 (file)
@@ -1,5 +1,5 @@
 #include <math.h>
-#include "gmx_blas.h"
+#include "../gmx_blas.h"
 
 int
 F77_FUNC(isamax,ISAMAX)(int *n__,
similarity index 97%
rename from src/gromacs/gmxlib/gmx_blas/sasum.c
rename to src/gromacs/linearalgebra/gmx_blas/sasum.c
index ca91701146ff37aa2a28315183e66e6c5bfc998e..c622c42af2b8a6e5651266f0b21a285e3a811c31 100644 (file)
@@ -1,5 +1,5 @@
 #include <math.h>
-#include "gmx_blas.h"
+#include "../gmx_blas.h"
 
 float
 F77_FUNC(sasum,SASUM)(int *n__, 
similarity index 97%
rename from src/gromacs/gmxlib/gmx_blas/saxpy.c
rename to src/gromacs/linearalgebra/gmx_blas/saxpy.c
index 71ea8a2b34b11d23bd318652a3b999a9cf3aa23e..855b6a286428fb55004440a632b0206de19c05b9 100644 (file)
@@ -1,4 +1,4 @@
-#include "gmx_blas.h"
+#include "../gmx_blas.h"
 
 
 void
similarity index 97%
rename from src/gromacs/gmxlib/gmx_blas/scopy.c
rename to src/gromacs/linearalgebra/gmx_blas/scopy.c
index dc76b254946beddebfb33d135aed83ea7eed1818..00264fe3cc115cd332a48a5e7cf6e385e0894ba3 100644 (file)
@@ -1,4 +1,4 @@
-#include "gmx_blas.h"
+#include "../gmx_blas.h"
 
 void
 F77_FUNC(scopy,SCOPY)(int *n__,
similarity index 97%
rename from src/gromacs/gmxlib/gmx_blas/sdot.c
rename to src/gromacs/linearalgebra/gmx_blas/sdot.c
index 5c5e1a1c452a73778df4113d2936d85ca200da1c..3fad0d47d4814b30f283cf6d268d3d78ec1cc022 100644 (file)
@@ -1,4 +1,4 @@
-#include "gmx_blas.h"
+#include "../gmx_blas.h"
 
 
 float
similarity index 99%
rename from src/gromacs/gmxlib/gmx_blas/sgemm.c
rename to src/gromacs/linearalgebra/gmx_blas/sgemm.c
index efec1d967b6fd4c90225bc7741033a018e8e0573..46839cfb3dba637ea140f297bf16c93be4e4da51 100644 (file)
@@ -2,7 +2,7 @@
 #include <math.h>
 
 #include <types/simple.h>
-#include "gmx_blas.h"
+#include "../gmx_blas.h"
 
 void
 F77_FUNC(sgemm,SGEMM)(const char *transa,
similarity index 98%
rename from src/gromacs/gmxlib/gmx_blas/sgemv.c
rename to src/gromacs/linearalgebra/gmx_blas/sgemv.c
index 71c2fe2ae636df77d60b6bee6600a35f789fb96d..e1c2a760698da7bcedb5107d9d92192ecbba7b5d 100644 (file)
@@ -2,7 +2,7 @@
 #include <math.h>
 
 #include <types/simple.h>
-#include "gmx_blas.h"
+#include "../gmx_blas.h"
 
 void
 F77_FUNC(sgemv,SGEMV)(const char *trans, 
similarity index 98%
rename from src/gromacs/gmxlib/gmx_blas/sger.c
rename to src/gromacs/linearalgebra/gmx_blas/sger.c
index dafa8bb9c02556f6534b4d549712375b39e8d10d..8be02f3515f6f4f5cb4d00c4443cdfc61424eec0 100644 (file)
@@ -1,7 +1,7 @@
 #include <math.h>
 
 #include <types/simple.h>
-#include "gmx_blas.h"
+#include "../gmx_blas.h"
 
 void
 F77_FUNC(sger,SGER)(int *m__,
similarity index 97%
rename from src/gromacs/gmxlib/gmx_blas/snrm2.c
rename to src/gromacs/linearalgebra/gmx_blas/snrm2.c
index db2ef2d076785a8d53db0bcfe3608ea78ea109f1..a1dcec478a2e5244023bfd2fbccf49094a8cde85 100644 (file)
@@ -2,7 +2,7 @@
 
 
 #include <types/simple.h>
-#include "gmx_blas.h"
+#include "../gmx_blas.h"
 
 float
 F77_FUNC(snrm2,SNRM2)(int  *     n__,
similarity index 97%
rename from src/gromacs/gmxlib/gmx_blas/srot.c
rename to src/gromacs/linearalgebra/gmx_blas/srot.c
index ae173420ba622a73a22253c689601fa3f342a96f..054b802ade3340160bdf421d2eb68c4837fc469f 100644 (file)
@@ -1,4 +1,4 @@
-#include "gmx_blas.h"
+#include "../gmx_blas.h"
 
 void
 F77_FUNC(srot,SROT)(int *n__,
similarity index 97%
rename from src/gromacs/gmxlib/gmx_blas/sscal.c
rename to src/gromacs/linearalgebra/gmx_blas/sscal.c
index 6c85a0114cfdd25967925ecfa416aaf86bfc09ba..b3db607215ca85edf92005048338318abeaa20bb 100644 (file)
@@ -1,4 +1,4 @@
-#include "gmx_blas.h"
+#include "../gmx_blas.h"
 
 void 
 F77_FUNC(sscal,SSCAL)(int  *n__,
similarity index 97%
rename from src/gromacs/gmxlib/gmx_blas/sswap.c
rename to src/gromacs/linearalgebra/gmx_blas/sswap.c
index af5e21ef7cbfb7e88bfb402a5a65393f8409ec8f..9d53ae0d7a8a4283abf30b7e84431dd2520e6dd6 100644 (file)
@@ -1,4 +1,4 @@
-#include "gmx_blas.h"
+#include "../gmx_blas.h"
 
 void
 F77_FUNC(sswap,SSWAP)(int *n__,
similarity index 99%
rename from src/gromacs/gmxlib/gmx_blas/ssymv.c
rename to src/gromacs/linearalgebra/gmx_blas/ssymv.c
index c69fa433b852b2b39c2e4ce34fa58bfce1cf0dc0..09bedd9633d530c5294186fc9de275e6e3967775 100644 (file)
@@ -2,7 +2,7 @@
 #include <ctype.h>
 
 #include <types/simple.h>
-#include "gmx_blas.h"
+#include "../gmx_blas.h"
 
 void
 F77_FUNC(ssymv,SSYMV)(const char *uplo,
similarity index 99%
rename from src/gromacs/gmxlib/gmx_blas/ssyr2.c
rename to src/gromacs/linearalgebra/gmx_blas/ssyr2.c
index 34db6bce4cec028a33ad4444b3b7e220c2e37d90..24fa37ded2b9b77c57193809f26bcd9f2c46559a 100644 (file)
@@ -2,7 +2,7 @@
 #include <math.h>
 
 #include <types/simple.h>
-#include "gmx_blas.h"
+#include "../gmx_blas.h"
 
 void
 F77_FUNC(ssyr2,SSYR2)(const char *    uplo,
similarity index 99%
rename from src/gromacs/gmxlib/gmx_blas/ssyr2k.c
rename to src/gromacs/linearalgebra/gmx_blas/ssyr2k.c
index a707f6b547703e9112e593adb1bbf26a60d0ef24..7220272ce9629bcc1a2db6900db0cb65a5cfd797 100644 (file)
@@ -2,7 +2,7 @@
 #include <math.h>
 
 #include <types/simple.h>
-#include "gmx_blas.h"
+#include "../gmx_blas.h"
 
 void
 F77_FUNC(ssyr2k,SSYR2K)(const char *uplo, 
similarity index 99%
rename from src/gromacs/gmxlib/gmx_blas/strmm.c
rename to src/gromacs/linearalgebra/gmx_blas/strmm.c
index c0469a06a7ab84304a9d5f59273baa2d3d2910f2..bffd6d9d3c5548a570f467842d830dea03ddb8bb 100644 (file)
@@ -1,7 +1,7 @@
 #include <math.h>
 
 #include <types/simple.h>
-#include "gmx_blas.h"
+#include "../gmx_blas.h"
 
 void 
 F77_FUNC(strmm,STRMM)(const char *side, 
similarity index 99%
rename from src/gromacs/gmxlib/gmx_blas/strmv.c
rename to src/gromacs/linearalgebra/gmx_blas/strmv.c
index 9418b8d1e1900b9d7513a366231826d6a3a2b208..4646fbf358eebe0886b6a91051f67cf8b3e898be 100644 (file)
@@ -1,7 +1,7 @@
 #include <math.h>
 
 #include <types/simple.h>
-#include "gmx_blas.h"
+#include "../gmx_blas.h"
 
 void 
 F77_FUNC(strmv,STRMV)(const char *uplo, 
similarity index 99%
rename from src/gromacs/gmxlib/gmx_blas/strsm.c
rename to src/gromacs/linearalgebra/gmx_blas/strsm.c
index 9e01a6724c7741eb47f3c562daefa36be2188fb6..9de5716d4995f9ff8ab4641fcaf308072a8a6f81 100644 (file)
@@ -2,7 +2,7 @@
 #include <math.h>
 
 #include <types/simple.h>
-#include "gmx_blas.h"
+#include "../gmx_blas.h"
 
 void
 F77_FUNC(strsm,STRSM)(const char * side,
similarity index 99%
rename from src/gromacs/legacyheaders/gmx_lapack.h
rename to src/gromacs/linearalgebra/gmx_lapack.h
index 6ce5138c524f307119ddd2682d507e1948eb6bd1..d1a34cb98d7638d33d9d5a8ae181b1cc419acc50 100644 (file)
  * And Hey:
  * Gallium Rubidium Oxygen Manganese Argon Carbon Silicon
  */
-
-#ifndef _GMX_LAPACK_H_
-#define _GMX_LAPACK_H_
-
-
-/** @file
- *
- *  @brief Header definitions for the standard LAPACK library.
+/*! \internal \file
+ * \brief
+ * Header definitions for the standard LAPACK library.
  *
  * This is the subset of LAPACK routines used for the
  * linear algebra operations in Gromacs. Most of the execution time
  * at http://www.netlib.org/lapack , so there is no point in repeating
  * it here.
  */
+#ifndef GMX_LAPACK_H
+#define GMX_LAPACK_H
 
+/*! \cond */
 
-
-#ifdef __cplusplus
-extern "C" {
+#ifdef HAVE_CONFIG_H
+#include "config.h"
 #endif
-#if 0
-}
+#ifndef F77_FUNC
+#define F77_FUNC(name,NAME) name ## _
 #endif
-
-#include "types/simple.h"
+#include "gromacs/utility/gmx_header_config.h"
 
 /* Suppress Cygwin compiler warnings from using newlib version of
  * ctype.h */
@@ -78,11 +74,12 @@ extern "C" {
 #undef toupper
 #endif
 
-#ifndef F77_FUNC
-#define F77_FUNC(name,NAME) name ## _
+#ifdef __cplusplus
+extern "C" {
+#endif
+#if 0
+}
 #endif
-
-
 
 /* Double precision */
 
@@ -867,6 +864,6 @@ F77_FUNC(sgeqrf,SGEQRF)(int *m, int *n, float *a, int *lda, float *tau,
 }
 #endif
 
+/*! \endcond */
 
-
-#endif /* _LAPACK_H_ */
+#endif /* GMX_LAPACK_H */
similarity index 99%
rename from src/gromacs/gmxlib/gmx_lapack/dbdsdc.c
rename to src/gromacs/linearalgebra/gmx_lapack/dbdsdc.c
index 0687dba80da774bf8d36c5368ac9b311eae8f24d..63c918617a00bb2ee244468c74c18e565d7d2445 100644 (file)
@@ -1,7 +1,7 @@
 #include <ctype.h>
 #include <math.h>
-#include "gmx_blas.h"
-#include "gmx_lapack.h"
+#include "../gmx_blas.h"
+#include "../gmx_lapack.h"
 #include "lapack_limits.h"
 
 #include <types/simple.h>
similarity index 99%
rename from src/gromacs/gmxlib/gmx_lapack/dbdsqr.c
rename to src/gromacs/linearalgebra/gmx_lapack/dbdsqr.c
index de6ddfd318ec347e6d68415f7374753b57606d67..0c959d3acc85b607f04d1c3faa751ebce48a6e87 100644 (file)
@@ -1,8 +1,8 @@
 #include <ctype.h>
 #include <math.h>
 
-#include "gmx_blas.h"
-#include "gmx_lapack.h"
+#include "../gmx_blas.h"
+#include "../gmx_lapack.h"
 
 #include <types/simple.h>
 
similarity index 98%
rename from src/gromacs/gmxlib/gmx_lapack/dgebd2.c
rename to src/gromacs/linearalgebra/gmx_lapack/dgebd2.c
index 7f9722cce81716d5ee4c42f2d98636708311c944..24e84afb1c4f1e4e1c03be8834a3cfdbf7af55eb 100644 (file)
@@ -1,4 +1,4 @@
-#include "gmx_lapack.h"
+#include "../gmx_lapack.h"
 
 void
 F77_FUNC(dgebd2,DGEBD2)(int *m,
similarity index 97%
rename from src/gromacs/gmxlib/gmx_lapack/dgebrd.c
rename to src/gromacs/linearalgebra/gmx_lapack/dgebrd.c
index 010bf68638bcce8f602e47ddddca16595f97b452..e331ec8b59feec37130e42e98b9a17021a47f2eb 100644 (file)
@@ -1,5 +1,5 @@
-#include "gmx_lapack.h"
-#include "gmx_blas.h"
+#include "../gmx_lapack.h"
+#include "../gmx_blas.h"
 #include "lapack_limits.h"
 
 
similarity index 98%
rename from src/gromacs/gmxlib/gmx_lapack/dgelq2.c
rename to src/gromacs/linearalgebra/gmx_lapack/dgelq2.c
index 6c2c6a7e2747a8d8ad261a323b5b04a2207fdc32..1ab42ba5cd8567483fd00ad8ffe76d9687f1d15a 100644 (file)
@@ -1,4 +1,4 @@
-#include "gmx_lapack.h"
+#include "../gmx_lapack.h"
 
 void 
 F77_FUNC(dgelq2,DGELQ2)(int *m, 
similarity index 98%
rename from src/gromacs/gmxlib/gmx_lapack/dgelqf.c
rename to src/gromacs/linearalgebra/gmx_lapack/dgelqf.c
index 2efb867d33ca93867553d0a61a0d774bf23fdc50..f6742f6c9a968989ebddc51490f51d9edcb3b884 100644 (file)
@@ -1,5 +1,5 @@
 #include <math.h>
-#include "gmx_lapack.h"
+#include "../gmx_lapack.h"
 #include "lapack_limits.h"
 
 
similarity index 95%
rename from src/gromacs/gmxlib/gmx_lapack/dgeqr2.c
rename to src/gromacs/linearalgebra/gmx_lapack/dgeqr2.c
index 84adb4d4e9d09bd4d283e0b6322b351acf100640..136686f24b64fc4b85dde40ea6223217f3b605ab 100644 (file)
@@ -1,4 +1,4 @@
-#include "gmx_lapack.h"
+#include "../gmx_lapack.h"
 
 
 void
similarity index 98%
rename from src/gromacs/gmxlib/gmx_lapack/dgeqrf.c
rename to src/gromacs/linearalgebra/gmx_lapack/dgeqrf.c
index b47b75e02a14f52d7fcaed0c8897267158a0491e..94b1d2e9005b0dde7efdadb7493ae625d15e1190 100644 (file)
@@ -1,4 +1,4 @@
-#include "gmx_lapack.h"
+#include "../gmx_lapack.h"
 #include "lapack_limits.h"
 
 void 
similarity index 99%
rename from src/gromacs/gmxlib/gmx_lapack/dgesdd.c
rename to src/gromacs/linearalgebra/gmx_lapack/dgesdd.c
index 6a52fbc688320fe19607d29e1ac04b241e216d41..385e751c8b94ca630e3e2a9139fac18d7069068c 100644 (file)
@@ -1,8 +1,8 @@
 #include <math.h>
 #include <types/simple.h>
 
-#include "gmx_blas.h"
-#include "gmx_lapack.h"
+#include "../gmx_blas.h"
+#include "../gmx_lapack.h"
 #include "lapack_limits.h"
 
 
similarity index 94%
rename from src/gromacs/gmxlib/gmx_lapack/dgetf2.c
rename to src/gromacs/linearalgebra/gmx_lapack/dgetf2.c
index e6cfde88773b5da4ddaed818a744cce129775a1a..0f18d00303e4fa41a9f1e3cd70ebf182d39aa01a 100644 (file)
@@ -1,8 +1,8 @@
 #include <math.h>
 #include <types/simple.h>
 
-#include "gmx_blas.h"
-#include "gmx_lapack.h"
+#include "../gmx_blas.h"
+#include "../gmx_lapack.h"
 
 
 void
similarity index 97%
rename from src/gromacs/gmxlib/gmx_lapack/dgetrf.c
rename to src/gromacs/linearalgebra/gmx_lapack/dgetrf.c
index 8119ecb91f22da6f8c4025ff20d311373274d424..2dda35bf4b3dd923cd2cf732c9f694827fc393c4 100644 (file)
@@ -1,5 +1,5 @@
-#include "gmx_blas.h"
-#include "gmx_lapack.h"
+#include "../gmx_blas.h"
+#include "../gmx_lapack.h"
 #include "lapack_limits.h"
 
 void
similarity index 97%
rename from src/gromacs/gmxlib/gmx_lapack/dgetri.c
rename to src/gromacs/linearalgebra/gmx_lapack/dgetri.c
index ddccbf72556da2cf133d85bf7746c0110a49b4fb..e7e35506bc225d9e0af0a11753746327a8c0186e 100644 (file)
@@ -1,5 +1,5 @@
-#include "gmx_blas.h"
-#include "gmx_lapack.h"
+#include "../gmx_blas.h"
+#include "../gmx_lapack.h"
 #include "lapack_limits.h"
 
 void
similarity index 95%
rename from src/gromacs/gmxlib/gmx_lapack/dgetrs.c
rename to src/gromacs/linearalgebra/gmx_lapack/dgetrs.c
index 75421efe27a20835c42f77a4ac0f99067b2377be..7168cf64600e03baa788ac2cbffd1726493b1faa 100644 (file)
@@ -1,5 +1,5 @@
-#include "gmx_blas.h"
-#include "gmx_lapack.h"
+#include "../gmx_blas.h"
+#include "../gmx_lapack.h"
 
 void
 F77_FUNC(dgetrs,DGETRS)(const char *trans, 
similarity index 99%
rename from src/gromacs/gmxlib/gmx_lapack/dlabrd.c
rename to src/gromacs/linearalgebra/gmx_lapack/dlabrd.c
index 452f0ec7cac947bb89c4cd7cb330ea3eeb14d1d2..606b9d7a643f1a969c480b6c8614eb4d0a307968 100644 (file)
@@ -1,6 +1,6 @@
 #include <math.h>
-#include "gmx_blas.h"
-#include "gmx_lapack.h"
+#include "../gmx_blas.h"
+#include "../gmx_lapack.h"
 
 
 void 
similarity index 95%
rename from src/gromacs/gmxlib/gmx_lapack/dlacpy.c
rename to src/gromacs/linearalgebra/gmx_lapack/dlacpy.c
index 31e9132bb800f273e3c4aa0cc9043b79b4dd0f86..29caf32c29681518068e4b9f5a1fcd7249c50bb0 100644 (file)
@@ -1,5 +1,5 @@
 #include<ctype.h>
-#include "gmx_lapack.h"
+#include "../gmx_lapack.h"
 
 /* LAPACK */
 void
similarity index 96%
rename from src/gromacs/gmxlib/gmx_lapack/dlae2.c
rename to src/gromacs/linearalgebra/gmx_lapack/dlae2.c
index c1bb09b07622eaa6202450e36a9c61de938784ce..00e57f5597b165c3b650822fd017a9161318d2c3 100644 (file)
@@ -1,5 +1,5 @@
 #include <math.h>
-#include "gmx_lapack.h"
+#include "../gmx_lapack.h"
 
 
 void
similarity index 99%
rename from src/gromacs/gmxlib/gmx_lapack/dlaebz.c
rename to src/gromacs/linearalgebra/gmx_lapack/dlaebz.c
index fecfa6dd89a6289cbc0cfde74883ea7a6bbb8614..b141d09c17fc3e1459200d9e773eac0bd26af5e3 100644 (file)
@@ -1,5 +1,5 @@
 #include <math.h>
-#include "gmx_lapack.h"
+#include "../gmx_lapack.h"
 
 void
 F77_FUNC(dlaebz,DLAEBZ)(int *ijob,
similarity index 99%
rename from src/gromacs/gmxlib/gmx_lapack/dlaed6.c
rename to src/gromacs/linearalgebra/gmx_lapack/dlaed6.c
index fcadb2c5b5c9ddb32accc00002bda9b734d76d8e..66d53595d9fe9ae55b9ec81572dd752735a95a8d 100644 (file)
@@ -1,6 +1,6 @@
 #include <math.h>
 
-#include "gmx_lapack.h"
+#include "../gmx_lapack.h"
 
 #include <types/simple.h>
 
similarity index 98%
rename from src/gromacs/gmxlib/gmx_lapack/dlaev2.c
rename to src/gromacs/linearalgebra/gmx_lapack/dlaev2.c
index 63fe3c9f19f5b226262d8b7ecb493775cfc66152..c112cce3cefb59082b6751d3789c2f157b702f03 100644 (file)
@@ -1,7 +1,7 @@
 #include <math.h>
 #include <types/simple.h>
 
-#include "gmx_lapack.h"
+#include "../gmx_lapack.h"
 
 
 void
similarity index 98%
rename from src/gromacs/gmxlib/gmx_lapack/dlagtf.c
rename to src/gromacs/linearalgebra/gmx_lapack/dlagtf.c
index 300104d9f9238272266bc853ec037b3266586e82..cf34904efde9305f7dfe57a519fd24fc64a5eda2 100644 (file)
@@ -1,7 +1,7 @@
 #include <math.h>
 #include <types/simple.h>
 
-#include "gmx_lapack.h"
+#include "../gmx_lapack.h"
 #include "lapack_limits.h"
 
 
similarity index 99%
rename from src/gromacs/gmxlib/gmx_lapack/dlagts.c
rename to src/gromacs/linearalgebra/gmx_lapack/dlagts.c
index fda0faee8f906fbd1197f28c547bb24cdf0f2da5..0f3b470c58bb29f2dc00d630f0059aca2cab7d57 100644 (file)
@@ -1,7 +1,7 @@
 #include <math.h>
 #include <types/simple.h>
 
-#include "gmx_lapack.h"
+#include "../gmx_lapack.h"
 #include "lapack_limits.h"
 
 
similarity index 97%
rename from src/gromacs/gmxlib/gmx_lapack/dlamrg.c
rename to src/gromacs/linearalgebra/gmx_lapack/dlamrg.c
index c3cbf7747b3c927af0c7e0de5b99a4335cee7859..6d7246939766755afe8c63de68c9863a1f71fa1e 100644 (file)
@@ -1,4 +1,4 @@
-#include "gmx_lapack.h"
+#include "../gmx_lapack.h"
 
 
 /* LAPACK */
similarity index 97%
rename from src/gromacs/gmxlib/gmx_lapack/dlange.c
rename to src/gromacs/linearalgebra/gmx_lapack/dlange.c
index 021d8b11a69a21edba17466919c692474d775821..2de7c403d2e735303c075bf28588e710f21e99bb 100644 (file)
@@ -1,6 +1,6 @@
 #include<math.h>
 #include<ctype.h>
-#include "gmx_lapack.h"
+#include "../gmx_lapack.h"
 
 
 double
similarity index 97%
rename from src/gromacs/gmxlib/gmx_lapack/dlanst.c
rename to src/gromacs/linearalgebra/gmx_lapack/dlanst.c
index 2b25d6e4f8f98a71f7a05de714ad2367819f0c9d..924e518c521fff7be86a7bb8aaec1e210275d556 100644 (file)
@@ -1,6 +1,6 @@
 #include <math.h>
 #include <ctype.h>
-#include "gmx_lapack.h"
+#include "../gmx_lapack.h"
 
 
 double
similarity index 98%
rename from src/gromacs/gmxlib/gmx_lapack/dlansy.c
rename to src/gromacs/linearalgebra/gmx_lapack/dlansy.c
index a1e87c9e25aca0a8c8072653221c70b62b50c1df..6b9d874b4f53e45b632d3dabd544ecf188aa23c1 100644 (file)
@@ -1,7 +1,7 @@
 #include <math.h>
 
 
-#include "gmx_lapack.h"
+#include "../gmx_lapack.h"
 
 double 
 F77_FUNC(dlansy,DLANSY)(const char *norm, const char *uplo, int *n, double *a, int 
similarity index 93%
rename from src/gromacs/gmxlib/gmx_lapack/dlapy2.c
rename to src/gromacs/linearalgebra/gmx_lapack/dlapy2.c
index 9f92a75deb4765a686863846ce547cbd987afe88..ca41586641727204cd52fa0d0aff6a00273e3a95 100644 (file)
@@ -1,5 +1,5 @@
 #include <math.h>
-#include "gmx_lapack.h"
+#include "../gmx_lapack.h"
 
 #include <types/simple.h>
 
similarity index 99%
rename from src/gromacs/gmxlib/gmx_lapack/dlar1vx.c
rename to src/gromacs/linearalgebra/gmx_lapack/dlar1vx.c
index ac3a403f83c74301bf3bfbac086dbd5657873ee1..a6a369b9a4e57cad3b2fa54d950fbb74f43e6bfe 100644 (file)
@@ -2,7 +2,7 @@
 
 #include <types/simple.h>
 
-#include "gmx_lapack.h"
+#include "../gmx_lapack.h"
 #include "lapack_limits.h"
 
 void F77_FUNC(dlar1vx,DLAR1VX)(int *n, 
similarity index 93%
rename from src/gromacs/gmxlib/gmx_lapack/dlarf.c
rename to src/gromacs/linearalgebra/gmx_lapack/dlarf.c
index 88ea59667ea3a588df256fbd98e154bb5c34963c..f1072c6470cdaf9cffb26fabe9aaee524c1871f8 100644 (file)
@@ -1,8 +1,8 @@
 #include <math.h>
 #include <ctype.h>
 
-#include "gmx_blas.h"
-#include "gmx_lapack.h"
+#include "../gmx_blas.h"
+#include "../gmx_lapack.h"
 
 #include <types/simple.h>
 
similarity index 99%
rename from src/gromacs/gmxlib/gmx_lapack/dlarfb.c
rename to src/gromacs/linearalgebra/gmx_lapack/dlarfb.c
index cbe9db459fe4736b670389fcaa53a283b60b081b..e6d82cf49d3ef134992f21024f70363621d6e731 100644 (file)
@@ -1,5 +1,5 @@
-#include "gmx_blas.h"
-#include "gmx_lapack.h"
+#include "../gmx_blas.h"
+#include "../gmx_lapack.h"
 
 
 void 
similarity index 96%
rename from src/gromacs/gmxlib/gmx_lapack/dlarfg.c
rename to src/gromacs/linearalgebra/gmx_lapack/dlarfg.c
index 5f8452d1fe7bd473b340a25bf075f87271b5306e..b587a0986133d0e0764404b34eed82c840209c40 100644 (file)
@@ -1,8 +1,8 @@
 #include <math.h>
 #include <types/simple.h>
 
-#include "gmx_blas.h"
-#include "gmx_lapack.h"
+#include "../gmx_blas.h"
+#include "../gmx_lapack.h"
 #include "lapack_limits.h"
 
 
similarity index 98%
rename from src/gromacs/gmxlib/gmx_lapack/dlarft.c
rename to src/gromacs/linearalgebra/gmx_lapack/dlarft.c
index 3de5ef28182642962f425aea3ee1c2247fc5d1f7..aadc6420299fe6b057ad67de29847616790ba5dd 100644 (file)
@@ -1,8 +1,8 @@
 #include <math.h>
 #include <types/simple.h>
 
-#include "gmx_blas.h"
-#include "gmx_lapack.h"
+#include "../gmx_blas.h"
+#include "../gmx_lapack.h"
 
 void 
 F77_FUNC(dlarft,DLARFT)(const char *direct, 
similarity index 97%
rename from src/gromacs/gmxlib/gmx_lapack/dlarnv.c
rename to src/gromacs/linearalgebra/gmx_lapack/dlarnv.c
index ec98e3168111563b2d3a511b1802f4bb52270ce7..6f02e861e7c2332d1637b99d5b810895aa3aaec4 100644 (file)
@@ -1,5 +1,5 @@
 #include <math.h>
-#include "gmx_lapack.h"
+#include "../gmx_lapack.h"
 
 void
 F77_FUNC(dlarnv,DLARNV)(int *idist, 
similarity index 99%
rename from src/gromacs/gmxlib/gmx_lapack/dlarrbx.c
rename to src/gromacs/linearalgebra/gmx_lapack/dlarrbx.c
index 518ab911b90aa29fcbca4f0b8861ccfb92339e21..bf630231b7ef4a3100e695c002eac06b74932938 100644 (file)
@@ -2,7 +2,7 @@
 
 #include <types/simple.h>
 
-#include "gmx_lapack.h"
+#include "../gmx_lapack.h"
 #include "lapack_limits.h"
 
 void
similarity index 99%
rename from src/gromacs/gmxlib/gmx_lapack/dlarrex.c
rename to src/gromacs/linearalgebra/gmx_lapack/dlarrex.c
index 0d2b4664687f78ccf151c70a59748d94afbb5744..f98b0ff349a2f62cf9ad310821f58e399ea64174 100644 (file)
@@ -3,8 +3,8 @@
 
 #include <types/simple.h>
 
-#include "gmx_blas.h"
-#include "gmx_lapack.h"
+#include "../gmx_blas.h"
+#include "../gmx_lapack.h"
 #include "lapack_limits.h"
 
 
similarity index 97%
rename from src/gromacs/gmxlib/gmx_lapack/dlarrfx.c
rename to src/gromacs/linearalgebra/gmx_lapack/dlarrfx.c
index 65e6fcc27a567e4966870a71a817a71e3da928ac..15f4990145b38783280bb5e004d82e03f135d481 100644 (file)
@@ -2,8 +2,8 @@
 
 #include <types/simple.h>
 
-#include "gmx_blas.h"
-#include "gmx_lapack.h"
+#include "../gmx_blas.h"
+#include "../gmx_lapack.h"
 #include "lapack_limits.h"
 
 
similarity index 99%
rename from src/gromacs/gmxlib/gmx_lapack/dlarrvx.c
rename to src/gromacs/linearalgebra/gmx_lapack/dlarrvx.c
index a33f1bd7c4b3c78d3eecbaff2f280d898e478bc9..9faad556d0e464e90ffd0dcda2495582790d3626 100644 (file)
@@ -2,8 +2,8 @@
 
 #include <types/simple.h>
 
-#include "gmx_blas.h"
-#include "gmx_lapack.h"
+#include "../gmx_blas.h"
+#include "../gmx_lapack.h"
 #include "lapack_limits.h"
 
 
similarity index 98%
rename from src/gromacs/gmxlib/gmx_lapack/dlartg.c
rename to src/gromacs/linearalgebra/gmx_lapack/dlartg.c
index 34c65375f3327ae5c09f44a22cd4295aea535108..a85ffb4a2cad18232da967f5d5763bd8091b33ff 100644 (file)
@@ -1,5 +1,5 @@
 #include <math.h>
-#include "gmx_lapack.h"
+#include "../gmx_lapack.h"
 #include "lapack_limits.h"
 
 #include <types/simple.h>
similarity index 99%
rename from src/gromacs/gmxlib/gmx_lapack/dlaruv.c
rename to src/gromacs/linearalgebra/gmx_lapack/dlaruv.c
index 90125d7f83eb8c25b41b78e6812eee255dc7deb7..805a34ffc6b4c5bf5fb30cd9e26f1cea71fc7631 100644 (file)
@@ -1,5 +1,5 @@
 #include <math.h>
-#include "gmx_lapack.h"
+#include "../gmx_lapack.h"
 
 void
 F77_FUNC(dlaruv,DLARUV)(int *iseed, int *n, double *x)
similarity index 97%
rename from src/gromacs/gmxlib/gmx_lapack/dlas2.c
rename to src/gromacs/linearalgebra/gmx_lapack/dlas2.c
index e1c64a04b320ff44b7cb1ec6fa3a8f3600315f1f..aa5cc85aa8a8474133d7e0d1dcdf30875d720633 100644 (file)
@@ -1,7 +1,7 @@
 #include <math.h>
 #include <types/simple.h>
 
-#include "gmx_lapack.h"
+#include "../gmx_lapack.h"
 
 void
 F77_FUNC(dlas2,DLAS2)(double *f,
similarity index 99%
rename from src/gromacs/gmxlib/gmx_lapack/dlascl.c
rename to src/gromacs/linearalgebra/gmx_lapack/dlascl.c
index 952099cf175718455abb116a692488e03207f714..d5de6a02dc93a7d4ce178806ee561282661dfc62 100644 (file)
@@ -2,7 +2,7 @@
 #include <math.h>
 #include <types/simple.h>
 
-#include "gmx_lapack.h"
+#include "../gmx_lapack.h"
 #include "lapack_limits.h"
 
 
similarity index 99%
rename from src/gromacs/gmxlib/gmx_lapack/dlasd0.c
rename to src/gromacs/linearalgebra/gmx_lapack/dlasd0.c
index de72ad7b48ff1aad2d4c149d4f9095266cdcf816..2d7dc56d37bc8497e9d219500c0f5af97d1dd7ad 100644 (file)
@@ -1,4 +1,4 @@
-#include "gmx_lapack.h"
+#include "../gmx_lapack.h"
 
 void 
 F77_FUNC(dlasd0,DLASD0)(int *n, 
similarity index 98%
rename from src/gromacs/gmxlib/gmx_lapack/dlasd1.c
rename to src/gromacs/linearalgebra/gmx_lapack/dlasd1.c
index 6eb0ebe44db7d64393da5c2cbbd187bbdd4ad596..8e4bf43d96be82b22b796cc4e37ce8b769385301 100644 (file)
@@ -1,5 +1,5 @@
 #include <math.h>
-#include "gmx_lapack.h"
+#include "../gmx_lapack.h"
 
 void 
 F77_FUNC(dlasd1,DLASD1)(int *nl, 
similarity index 99%
rename from src/gromacs/gmxlib/gmx_lapack/dlasd2.c
rename to src/gromacs/linearalgebra/gmx_lapack/dlasd2.c
index bfa2e9c027971ce4fc0eb6eabbc15368ca5701f2..76c9f9fe80ade8cb3421652a5971bf77a5971c9b 100644 (file)
@@ -1,6 +1,6 @@
 #include <math.h>
-#include "gmx_blas.h"
-#include "gmx_lapack.h"
+#include "../gmx_blas.h"
+#include "../gmx_lapack.h"
 #include "lapack_limits.h"
 
 #include <types/simple.h>
similarity index 99%
rename from src/gromacs/gmxlib/gmx_lapack/dlasd3.c
rename to src/gromacs/linearalgebra/gmx_lapack/dlasd3.c
index fa53f9297545d3b0b494f17e6702edf4030d4323..33ca0e6a4b496e9edce6109951161d8c67ebe2c7 100644 (file)
@@ -1,6 +1,6 @@
 #include <math.h>
-#include "gmx_blas.h"
-#include "gmx_lapack.h"
+#include "../gmx_blas.h"
+#include "../gmx_lapack.h"
 
 void 
 F77_FUNC(dlasd3,DLASD3)(int *nl, 
similarity index 99%
rename from src/gromacs/gmxlib/gmx_lapack/dlasd4.c
rename to src/gromacs/linearalgebra/gmx_lapack/dlasd4.c
index bc1435a3a05bdcb52014aa013579a236a6b5bd95..7d2ed185a840151e1bd5d3adf7b77d410eae3a44 100644 (file)
@@ -1,5 +1,5 @@
 #include <math.h>
-#include "gmx_lapack.h"
+#include "../gmx_lapack.h"
 #include "lapack_limits.h"
 
 #include <types/simple.h>
similarity index 98%
rename from src/gromacs/gmxlib/gmx_lapack/dlasd5.c
rename to src/gromacs/linearalgebra/gmx_lapack/dlasd5.c
index fd3ad9f905fe9b8b810be977409c8df328639046..e861f33474b660b489e9f3bb9cbb063316a8bba4 100644 (file)
@@ -1,5 +1,5 @@
 #include <math.h>
-#include "gmx_lapack.h"
+#include "../gmx_lapack.h"
 
 void 
 F77_FUNC(dlasd5,DLASD5)(int *i__, 
similarity index 97%
rename from src/gromacs/gmxlib/gmx_lapack/dlasd6.c
rename to src/gromacs/linearalgebra/gmx_lapack/dlasd6.c
index 257a4c481cb96fc3c2f7a84b4eef6febd43de517..53d6a6110f91bb8b70145e02b89275f0198e9369 100644 (file)
@@ -1,6 +1,6 @@
 #include <math.h>
-#include "gmx_blas.h"
-#include "gmx_lapack.h"
+#include "../gmx_blas.h"
+#include "../gmx_lapack.h"
 
 void 
 F77_FUNC(dlasd6,DLASD6)(int *icompq, 
similarity index 98%
rename from src/gromacs/gmxlib/gmx_lapack/dlasd7.c
rename to src/gromacs/linearalgebra/gmx_lapack/dlasd7.c
index ff6c1f52351ca537424892bb9886835f0348dc05..336b9deed4c85a07986c7a02f2774791d42c372b 100644 (file)
@@ -1,8 +1,8 @@
 #include <math.h>
 #include <types/simple.h>
 
-#include "gmx_blas.h"
-#include "gmx_lapack.h"
+#include "../gmx_blas.h"
+#include "../gmx_lapack.h"
 #include "lapack_limits.h"
 
 void 
similarity index 98%
rename from src/gromacs/gmxlib/gmx_lapack/dlasd8.c
rename to src/gromacs/linearalgebra/gmx_lapack/dlasd8.c
index 72272d3f0a7fa579efb040e951398a12d224b3d2..a0bae605960f9ec7dab47dfb5fef508b689b6608 100644 (file)
@@ -1,6 +1,6 @@
 #include <math.h>
-#include "gmx_blas.h"
-#include "gmx_lapack.h"
+#include "../gmx_blas.h"
+#include "../gmx_lapack.h"
 
 void 
 F77_FUNC(dlasd8,DLASD8)(int *icompq, 
similarity index 99%
rename from src/gromacs/gmxlib/gmx_lapack/dlasda.c
rename to src/gromacs/linearalgebra/gmx_lapack/dlasda.c
index 2abdef3f1ffeeef679eefe03512719c0c93bcaab..7a42478059620008011a878b63bf9027927a7eba 100644 (file)
@@ -1,5 +1,5 @@
-#include "gmx_blas.h"
-#include "gmx_lapack.h"
+#include "../gmx_blas.h"
+#include "../gmx_lapack.h"
 
 void 
 F77_FUNC(dlasda,DLASDA)(int *icompq, 
similarity index 98%
rename from src/gromacs/gmxlib/gmx_lapack/dlasdq.c
rename to src/gromacs/linearalgebra/gmx_lapack/dlasdq.c
index 6d241f91f5c7fc6138b2c30afd704ed01cc912a6..379c25a5f72c08f28bd2e6b5d6fb3ca9b244e7fd 100644 (file)
@@ -1,7 +1,7 @@
 #include <ctype.h>
 
-#include "gmx_blas.h"
-#include "gmx_lapack.h"
+#include "../gmx_blas.h"
+#include "../gmx_lapack.h"
 
 
 void 
similarity index 96%
rename from src/gromacs/gmxlib/gmx_lapack/dlasdt.c
rename to src/gromacs/linearalgebra/gmx_lapack/dlasdt.c
index 91f3a38ca3af562e16e73000c2978f6a4d55619a..5c343f572b14994a937505f39df662d7ccec6b4c 100644 (file)
@@ -1,5 +1,5 @@
 #include <math.h>
-#include "gmx_lapack.h"
+#include "../gmx_lapack.h"
 
 void
 F77_FUNC(dlasdt,DLASDT)(int *n,
similarity index 95%
rename from src/gromacs/gmxlib/gmx_lapack/dlaset.c
rename to src/gromacs/linearalgebra/gmx_lapack/dlaset.c
index 4c269b15b373a26a82dde192f08d87a7db57548e..24508f5c0a9725f64c1cd0dda9e02906e6fee7ea 100644 (file)
@@ -1,5 +1,5 @@
 #include <ctype.h>
-#include "gmx_lapack.h"
+#include "../gmx_lapack.h"
 
 
 void
similarity index 96%
rename from src/gromacs/gmxlib/gmx_lapack/dlasq1.c
rename to src/gromacs/linearalgebra/gmx_lapack/dlasq1.c
index e729daf53cce455a1ec026b1533aab31f4fe0af4..471e2cc505deccd3af42a15394d1c14449d7790b 100644 (file)
@@ -1,6 +1,6 @@
 #include <math.h>
-#include "gmx_blas.h"
-#include "gmx_lapack.h"
+#include "../gmx_blas.h"
+#include "../gmx_lapack.h"
 #include "lapack_limits.h"
 
 #include <types/simple.h>
similarity index 99%
rename from src/gromacs/gmxlib/gmx_lapack/dlasq2.c
rename to src/gromacs/linearalgebra/gmx_lapack/dlasq2.c
index e45a93b67a953f2b20ad712c9b37a1aa2852e743..a778a9ba1aa61659d75f6001e77e5642498c4759 100644 (file)
@@ -1,5 +1,5 @@
 #include <math.h>
-#include "gmx_lapack.h"
+#include "../gmx_lapack.h"
 #include "lapack_limits.h"
 
 #include <types/simple.h>
similarity index 99%
rename from src/gromacs/gmxlib/gmx_lapack/dlasq3.c
rename to src/gromacs/linearalgebra/gmx_lapack/dlasq3.c
index 5a02fa659e67d1799c76c873de5bf173d1870847..6dc478bf8425287525d9b712a69d582763689b09 100644 (file)
@@ -1,7 +1,7 @@
 #include <math.h>
 #include <types/simple.h>
 
-#include "gmx_lapack.h"
+#include "../gmx_lapack.h"
 #include "lapack_limits.h"
 
 void
similarity index 99%
rename from src/gromacs/gmxlib/gmx_lapack/dlasq4.c
rename to src/gromacs/linearalgebra/gmx_lapack/dlasq4.c
index 35438edbde21e16f31bbca8d78afbacc01d5ac50..798f46bb4f567a91be3181762b42162d21d76f78 100644 (file)
@@ -1,7 +1,7 @@
 #include <math.h>
 #include <types/simple.h>
 
-#include "gmx_lapack.h"
+#include "../gmx_lapack.h"
 
 void 
 F77_FUNC(dlasq4,DLASQ4)(int *i0, 
similarity index 99%
rename from src/gromacs/gmxlib/gmx_lapack/dlasq5.c
rename to src/gromacs/linearalgebra/gmx_lapack/dlasq5.c
index e09272c36ef419f0846ddd94eafd5a2bc896475e..a854d19575b50fd0c2726deba2763fc194f43789 100644 (file)
@@ -1,5 +1,5 @@
 #include <math.h>
-#include "gmx_lapack.h"
+#include "../gmx_lapack.h"
 
 void
 F77_FUNC(dlasq5,DLASQ5)(int *i0, 
similarity index 99%
rename from src/gromacs/gmxlib/gmx_lapack/dlasq6.c
rename to src/gromacs/linearalgebra/gmx_lapack/dlasq6.c
index 3ce6ceb0bb93906c0cfb829e833eca1b2a057ba8..1ae5342b5e2807c934f52742cb4a2b4c29414650 100644 (file)
@@ -1,5 +1,5 @@
 #include <math.h>
-#include "gmx_lapack.h"
+#include "../gmx_lapack.h"
 #include "lapack_limits.h"
 
 #include <types/simple.h>
similarity index 99%
rename from src/gromacs/gmxlib/gmx_lapack/dlasr.c
rename to src/gromacs/linearalgebra/gmx_lapack/dlasr.c
index 1077e80ce214a42304f28ffdbfc7bbac465fec1f..31f238141444fadc013bfdac9f75ae15018a668b 100644 (file)
@@ -1,7 +1,7 @@
 #include <math.h>
 
 #include <types/simple.h>
-#include "gmx_lapack.h"
+#include "../gmx_lapack.h"
 
 void 
 F77_FUNC(dlasr,DLASR)(const char *side, 
similarity index 99%
rename from src/gromacs/gmxlib/gmx_lapack/dlasrt.c
rename to src/gromacs/linearalgebra/gmx_lapack/dlasrt.c
index 74179bd7e28de17d72a6a785c7698191d891a649..1fb85a2935a92c3faf9d91eaec3a1a9c47bfbfee 100644 (file)
@@ -1,4 +1,4 @@
-#include "gmx_lapack.h"
+#include "../gmx_lapack.h"
 
 void 
 F77_FUNC(dlasrt,DLASRT)(const char *id, 
similarity index 99%
rename from src/gromacs/gmxlib/gmx_lapack/dlasrt2.c
rename to src/gromacs/linearalgebra/gmx_lapack/dlasrt2.c
index 5ce95f8974bba69d1d9075a669a5bffc998c2934..2b30d5c22eac698b289866a077f0cf0773751313 100644 (file)
@@ -1,4 +1,4 @@
-#include "gmx_lapack.h"
+#include "../gmx_lapack.h"
 
 void F77_FUNC(dlasrt2,DLASRT2)(const char *id, 
              int *n, 
similarity index 95%
rename from src/gromacs/gmxlib/gmx_lapack/dlassq.c
rename to src/gromacs/linearalgebra/gmx_lapack/dlassq.c
index 5f548545c4c96f67189b8dc60b09451a642aff3f..318dcc3d990dd97f9924318da54de1802ee8eaba 100644 (file)
@@ -1,6 +1,6 @@
 #include <math.h>
 #include <types/simple.h>
-#include "gmx_lapack.h"
+#include "../gmx_lapack.h"
 
 void
 F77_FUNC(dlassq,DLASSQ)(int *n,
similarity index 99%
rename from src/gromacs/gmxlib/gmx_lapack/dlasv2.c
rename to src/gromacs/linearalgebra/gmx_lapack/dlasv2.c
index 10902a230b49ea1a3648f5e41a5398a50dc3c6dc..a5e8c2090144334f18d83e2af1fa2ce45c71b4ac 100644 (file)
@@ -1,5 +1,5 @@
 #include <math.h>
-#include "gmx_lapack.h"
+#include "../gmx_lapack.h"
 #include "lapack_limits.h"
 
 #include <types/simple.h>
similarity index 97%
rename from src/gromacs/gmxlib/gmx_lapack/dlaswp.c
rename to src/gromacs/linearalgebra/gmx_lapack/dlaswp.c
index 1c3c329ce4394c148739a6847c7dc0d8b7a1ee10..56e0730ff3a3a55ceded917d8b0a5f2b6e096164 100644 (file)
@@ -1,4 +1,4 @@
-#include "gmx_lapack.h"
+#include "../gmx_lapack.h"
 
 /* LAPACK */
 void
similarity index 98%
rename from src/gromacs/gmxlib/gmx_lapack/dlatrd.c
rename to src/gromacs/linearalgebra/gmx_lapack/dlatrd.c
index 682952cbc3f3eb91106487c8761b4278921c614c..ed7e43eaf7a3fba164beeff095630ddbebf5cd46 100644 (file)
@@ -1,6 +1,6 @@
 #include <ctype.h>
-#include "gmx_blas.h"
-#include "gmx_lapack.h"
+#include "../gmx_blas.h"
+#include "../gmx_lapack.h"
 #include "lapack_limits.h"
 
 
similarity index 96%
rename from src/gromacs/gmxlib/gmx_lapack/dorg2r.c
rename to src/gromacs/linearalgebra/gmx_lapack/dorg2r.c
index 06606ed09cfbe8a5a9ca7f5b1a007b406e58cad4..3681f46dc9754c490dca327fa1ddd3400b0ee1d8 100644 (file)
@@ -1,7 +1,7 @@
 #include <math.h>
 
-#include "gmx_blas.h"
-#include "gmx_lapack.h"
+#include "../gmx_blas.h"
+#include "../gmx_lapack.h"
 
 void 
 F77_FUNC(dorg2r,DORG2R)(int *m, 
similarity index 97%
rename from src/gromacs/gmxlib/gmx_lapack/dorgbr.c
rename to src/gromacs/linearalgebra/gmx_lapack/dorgbr.c
index 7dbb8a9c5ba5db771812abff847e683a5c411ad4..7c3a14a8aa5fcdfab8f1e1f819b0cc504fcb97e8 100644 (file)
@@ -1,4 +1,4 @@
-#include "gmx_lapack.h"
+#include "../gmx_lapack.h"
 #include "lapack_limits.h"
 
 void
similarity index 96%
rename from src/gromacs/gmxlib/gmx_lapack/dorgl2.c
rename to src/gromacs/linearalgebra/gmx_lapack/dorgl2.c
index 764c9f88efc45d91e7a9dece6310991bd31d4b90..5eee288883a9cc5521ca1352af97b4371f3150f5 100644 (file)
@@ -1,5 +1,5 @@
-#include "gmx_blas.h"
-#include "gmx_lapack.h"
+#include "../gmx_blas.h"
+#include "../gmx_lapack.h"
 
 void
 F77_FUNC(dorgl2,DORGL2)(int *m,
similarity index 99%
rename from src/gromacs/gmxlib/gmx_lapack/dorglq.c
rename to src/gromacs/linearalgebra/gmx_lapack/dorglq.c
index b02e1edffb8a6e97a6c66637aa3b1ff3bb0cabba..6d0fb011e738c35ecaf6bc1052c5b62496c8eacb 100644 (file)
@@ -1,4 +1,4 @@
-#include "gmx_lapack.h"
+#include "../gmx_lapack.h"
 
 #define DORGLQ_BLOCKSIZE    32
 #define DORGLQ_MINBLOCKSIZE 2
similarity index 98%
rename from src/gromacs/gmxlib/gmx_lapack/dorgqr.c
rename to src/gromacs/linearalgebra/gmx_lapack/dorgqr.c
index 56a61afa2656a52c2c18351c8bc35cdbc9ed70d8..5bc2db69def07645a1c1fc8409c6bb6fbc9910bc 100644 (file)
@@ -1,4 +1,4 @@
-#include "gmx_lapack.h"
+#include "../gmx_lapack.h"
 #include "lapack_limits.h"
 
 
similarity index 98%
rename from src/gromacs/gmxlib/gmx_lapack/dorm2l.c
rename to src/gromacs/linearalgebra/gmx_lapack/dorm2l.c
index 3409458b5501e99fb8021432a2e4874b4376f1ce..da1ac9797d143016d5f2884ed339daa7f556e2cc 100644 (file)
@@ -1,4 +1,4 @@
-#include "gmx_lapack.h"
+#include "../gmx_lapack.h"
 
 void
 F77_FUNC(dorm2l,DORM2L)(const char *side, 
similarity index 98%
rename from src/gromacs/gmxlib/gmx_lapack/dorm2r.c
rename to src/gromacs/linearalgebra/gmx_lapack/dorm2r.c
index 2cffa31bbca5883cbaa243c419e40169dcbbda74..32f3540fb2e544fdc6c45f4a856420375f23627b 100644 (file)
@@ -1,4 +1,4 @@
-#include "gmx_lapack.h"
+#include "../gmx_lapack.h"
 
 void 
 F77_FUNC(dorm2r,DORM2R)(const char *side, 
similarity index 98%
rename from src/gromacs/gmxlib/gmx_lapack/dormbr.c
rename to src/gromacs/linearalgebra/gmx_lapack/dormbr.c
index 2825515450578407814ecf76eb4929be068152d2..04162cb6dbb3fd0c815200ee70c1f0f39de7e987 100644 (file)
@@ -1,4 +1,4 @@
-#include "gmx_lapack.h"
+#include "../gmx_lapack.h"
 #include "lapack_limits.h"
 
 void 
similarity index 97%
rename from src/gromacs/gmxlib/gmx_lapack/dorml2.c
rename to src/gromacs/linearalgebra/gmx_lapack/dorml2.c
index 8b4efbd13796fa5473b6d59025ec1039d9def963..f04cb41fc4e0c187d7267c84030c56ee699476ce 100644 (file)
@@ -1,5 +1,5 @@
 #include <ctype.h>
-#include "gmx_lapack.h"
+#include "../gmx_lapack.h"
 
 void
 F77_FUNC(dorml2,DORML2)(const char *side,
similarity index 98%
rename from src/gromacs/gmxlib/gmx_lapack/dormlq.c
rename to src/gromacs/linearalgebra/gmx_lapack/dormlq.c
index 13b4616a6f2fde8abf4e6db08f5cf4d1ed5341e0..8da339e687a1944b5f0ab5a6fd1c0b0b9c0190b0 100644 (file)
@@ -1,4 +1,4 @@
-#include "gmx_lapack.h"
+#include "../gmx_lapack.h"
 #include "lapack_limits.h"
 
 
similarity index 98%
rename from src/gromacs/gmxlib/gmx_lapack/dormql.c
rename to src/gromacs/linearalgebra/gmx_lapack/dormql.c
index 003131628b3938d33b21cffc931b4fb797bf514c..7449e502e0931fec6f408c6e36fd52263521afd7 100644 (file)
@@ -1,4 +1,4 @@
-#include "gmx_lapack.h"
+#include "../gmx_lapack.h"
 #include "lapack_limits.h"
 
 void
similarity index 98%
rename from src/gromacs/gmxlib/gmx_lapack/dormqr.c
rename to src/gromacs/linearalgebra/gmx_lapack/dormqr.c
index f56ee8bbb48eb5a167d58ba5b7b8a4b61d7064fe..75f2cdc91e909f5aaaac47d4ac173c51e7e1e2ee 100644 (file)
@@ -1,4 +1,4 @@
-#include "gmx_lapack.h"
+#include "../gmx_lapack.h"
 #include "lapack_limits.h"
 
 void 
similarity index 98%
rename from src/gromacs/gmxlib/gmx_lapack/dormtr.c
rename to src/gromacs/linearalgebra/gmx_lapack/dormtr.c
index b137f9267137542e1446665105c3e8788e9442f4..6d4115e010728fab96fadadf2b64644bb458234c 100644 (file)
@@ -1,4 +1,4 @@
-#include "gmx_lapack.h"
+#include "../gmx_lapack.h"
 #include "lapack_limits.h"
 
 
similarity index 99%
rename from src/gromacs/gmxlib/gmx_lapack/dstebz.c
rename to src/gromacs/linearalgebra/gmx_lapack/dstebz.c
index dffdc1a7d2ea6f7ee4cd4b74263bd9e9930e1058..cfdaccd17b5d3025a2e8a8de7deb3d8d6bceb948 100644 (file)
@@ -1,5 +1,5 @@
 #include <math.h>
-#include "gmx_lapack.h"
+#include "../gmx_lapack.h"
 #include "lapack_limits.h"
 
 #include <types/simple.h>
similarity index 98%
rename from src/gromacs/gmxlib/gmx_lapack/dstegr.c
rename to src/gromacs/linearalgebra/gmx_lapack/dstegr.c
index 60c27b71432b5ba054b018e326d7729b55341fc6..9a6f449bddc8c12626513b36456c59a5bc06c654 100644 (file)
@@ -1,6 +1,6 @@
 #include <math.h>
-#include "gmx_blas.h"
-#include "gmx_lapack.h"
+#include "../gmx_blas.h"
+#include "../gmx_lapack.h"
 #include "lapack_limits.h"
 
 #include <types/simple.h>
similarity index 98%
rename from src/gromacs/gmxlib/gmx_lapack/dstein.c
rename to src/gromacs/linearalgebra/gmx_lapack/dstein.c
index dff5a0ac1f4d721267e183d2c12a1f19ddea71a7..24d145be21e8f7a0abd114cde3cd533c6b41caa5 100644 (file)
@@ -1,6 +1,6 @@
 #include <math.h>
-#include "gmx_blas.h"
-#include "gmx_lapack.h"
+#include "../gmx_blas.h"
+#include "../gmx_lapack.h"
 #include "lapack_limits.h"
 
 #include <types/simple.h>
similarity index 99%
rename from src/gromacs/gmxlib/gmx_lapack/dsteqr.c
rename to src/gromacs/linearalgebra/gmx_lapack/dsteqr.c
index 6f9c5cb13ff49a1b8cc81c1e97b3dad672c09d2b..20ed0b7c176231506b6c39807ef003a220c2df20 100644 (file)
@@ -1,8 +1,8 @@
 #include <math.h>
 #include <types/simple.h>
 
-#include "gmx_blas.h"
-#include "gmx_lapack.h"
+#include "../gmx_blas.h"
+#include "../gmx_lapack.h"
 #include "lapack_limits.h"
 
 void
similarity index 99%
rename from src/gromacs/gmxlib/gmx_lapack/dsterf.c
rename to src/gromacs/linearalgebra/gmx_lapack/dsterf.c
index 08908380d6dd7ee2128b6361f568563412917aa4..4508b36ae4a2eea3d4fd82f8d807b9ecc4272ead 100644 (file)
@@ -1,5 +1,5 @@
 #include <math.h>
-#include "gmx_lapack.h"
+#include "../gmx_lapack.h"
 #include "lapack_limits.h"
 
 #include <types/simple.h>
similarity index 97%
rename from src/gromacs/gmxlib/gmx_lapack/dstevr.c
rename to src/gromacs/linearalgebra/gmx_lapack/dstevr.c
index 109aee23b406df18ef2088a0b1b7f688b4d65583..9991313dd2a9bd73900c505d6b20f043fbac997e 100644 (file)
@@ -1,4 +1,4 @@
-#include "gmx_lapack.h"
+#include "../gmx_lapack.h"
 
 
 /* Normally, DSTEVR is the LAPACK wrapper which calls one
similarity index 98%
rename from src/gromacs/gmxlib/gmx_lapack/dsyevr.c
rename to src/gromacs/linearalgebra/gmx_lapack/dsyevr.c
index 67363752d438b14ba8de3641339ff398ae1e8e69..add48e7e2750c08abdbe699c3906262f316b5ada 100644 (file)
@@ -1,7 +1,9 @@
 #include <math.h>
 
-#include "gmx_blas.h"
-#include "gmx_lapack.h"
+#include <types/simple.h>
+
+#include "../gmx_blas.h"
+#include "../gmx_lapack.h"
 #include "lapack_limits.h"
 
 void
similarity index 97%
rename from src/gromacs/gmxlib/gmx_lapack/dsytd2.c
rename to src/gromacs/linearalgebra/gmx_lapack/dsytd2.c
index 05c8a9cbfa3ea56600ae51646711c4fc77134550..4cbd160b8bbac3f7aa53722c6ecb86268180b55f 100644 (file)
@@ -3,8 +3,8 @@
 
 #include <types/simple.h>
 
-#include "gmx_blas.h"
-#include "gmx_lapack.h"
+#include "../gmx_blas.h"
+#include "../gmx_lapack.h"
 
 void
 F77_FUNC(dsytd2,DSYTD2)(const char *    uplo,
similarity index 98%
rename from src/gromacs/gmxlib/gmx_lapack/dsytrd.c
rename to src/gromacs/linearalgebra/gmx_lapack/dsytrd.c
index 5aa23d809953ed8e2a37f5099a185eadb0059165..cd8dc7eded56c079917bf1a567a54d68612768f9 100644 (file)
@@ -1,5 +1,5 @@
-#include "gmx_blas.h"
-#include "gmx_lapack.h"
+#include "../gmx_blas.h"
+#include "../gmx_lapack.h"
 #include "lapack_limits.h"
 
 void
similarity index 96%
rename from src/gromacs/gmxlib/gmx_lapack/dtrti2.c
rename to src/gromacs/linearalgebra/gmx_lapack/dtrti2.c
index 17b76885ea88f0c3d33d4c1f9d3b0c7124eb1c32..8980a8f923c222f5d0cd671981ad99383ea6d677 100644 (file)
@@ -1,5 +1,5 @@
-#include "gmx_blas.h"
-#include "gmx_lapack.h"
+#include "../gmx_blas.h"
+#include "../gmx_lapack.h"
 #include "lapack_limits.h"
 
 void
similarity index 97%
rename from src/gromacs/gmxlib/gmx_lapack/dtrtri.c
rename to src/gromacs/linearalgebra/gmx_lapack/dtrtri.c
index 64d583f6a064afe7ca8b6a2abef5f6040dce2ddf..c636dfe3c6cf433a3fd42b3f5ab81dbd29558f5b 100644 (file)
@@ -1,6 +1,6 @@
 #include <math.h>
-#include "gmx_blas.h"
-#include "gmx_lapack.h"
+#include "../gmx_blas.h"
+#include "../gmx_lapack.h"
 #include "lapack_limits.h"
 
 #include <types/simple.h>
similarity index 99%
rename from src/gromacs/gmxlib/gmx_lapack/ilasrt2.c
rename to src/gromacs/linearalgebra/gmx_lapack/ilasrt2.c
index b290835fbe77197fceb5d0bbebef44533b1defbc..b840d70ecfc96aef34b8553dc4b36f51967cc237 100644 (file)
@@ -1,4 +1,4 @@
-#include "gmx_lapack.h"
+#include "../gmx_lapack.h"
 
 void 
 F77_FUNC(ilasrt2,ILASRT2)(const char *id, 
similarity index 99%
rename from src/gromacs/gmxlib/gmx_lapack/sbdsdc.c
rename to src/gromacs/linearalgebra/gmx_lapack/sbdsdc.c
index 8650788ee39609205adc121a0551d7cd5ae0dfe5..44cb172239937c78907bef3142599ead8d0bbdec 100644 (file)
@@ -1,7 +1,7 @@
 #include <ctype.h>
 #include <math.h>
-#include "gmx_blas.h"
-#include "gmx_lapack.h"
+#include "../gmx_blas.h"
+#include "../gmx_lapack.h"
 #include "lapack_limits.h"
 
 #include <types/simple.h>
similarity index 99%
rename from src/gromacs/gmxlib/gmx_lapack/sbdsqr.c
rename to src/gromacs/linearalgebra/gmx_lapack/sbdsqr.c
index a9cb64b0823197bb26eedad6b216fabf2aa5fa08..d87a9f74d0b0472c8cf397c5fcc55d683b4e837a 100644 (file)
@@ -1,8 +1,8 @@
 #include <ctype.h>
 #include <math.h>
 
-#include "gmx_blas.h"
-#include "gmx_lapack.h"
+#include "../gmx_blas.h"
+#include "../gmx_lapack.h"
 
 #include <types/simple.h>
 
similarity index 98%
rename from src/gromacs/gmxlib/gmx_lapack/sgebd2.c
rename to src/gromacs/linearalgebra/gmx_lapack/sgebd2.c
index 237aac6bcaae1376e85990d7eb3ed566e64c0d69..004fe148ef2dc9f054873cd4038cd214f03a8c56 100644 (file)
@@ -1,4 +1,4 @@
-#include "gmx_lapack.h"
+#include "../gmx_lapack.h"
 
 void
 F77_FUNC(sgebd2,SGEBD2)(int *m,
similarity index 97%
rename from src/gromacs/gmxlib/gmx_lapack/sgebrd.c
rename to src/gromacs/linearalgebra/gmx_lapack/sgebrd.c
index b2eb174b5bb1aa489eaeed87d8ef0056a9726ddd..ab078c542501f22fc67f79e4d0fd92d58a2ccb95 100644 (file)
@@ -1,5 +1,5 @@
-#include "gmx_lapack.h"
-#include "gmx_blas.h"
+#include "../gmx_lapack.h"
+#include "../gmx_blas.h"
 #include "lapack_limits.h"
 
 
similarity index 97%
rename from src/gromacs/gmxlib/gmx_lapack/sgelq2.c
rename to src/gromacs/linearalgebra/gmx_lapack/sgelq2.c
index 79fc8ac16db1aadfa3b82d121cff811c1e12839a..3bd63d4cf54e42b63b3fa396a91d147ba2317886 100644 (file)
@@ -1,4 +1,4 @@
-#include "gmx_lapack.h"
+#include "../gmx_lapack.h"
 
 void 
 F77_FUNC(sgelq2,SGELQ2)(int *m, 
similarity index 98%
rename from src/gromacs/gmxlib/gmx_lapack/sgelqf.c
rename to src/gromacs/linearalgebra/gmx_lapack/sgelqf.c
index b5d5c8a157f37d95dbf6c8f1c24522193284b42b..cdefb4ebd9161fca392e00acfe5a3d232b5270dd 100644 (file)
@@ -1,5 +1,5 @@
 #include <math.h>
-#include "gmx_lapack.h"
+#include "../gmx_lapack.h"
 #include "lapack_limits.h"
 
 
similarity index 95%
rename from src/gromacs/gmxlib/gmx_lapack/sgeqr2.c
rename to src/gromacs/linearalgebra/gmx_lapack/sgeqr2.c
index c8f201d48b100c9bf36379916743f5a1db893867..056068cdcc14f3f4ecba582608a4c92f9017fcdc 100644 (file)
@@ -1,4 +1,4 @@
-#include "gmx_lapack.h"
+#include "../gmx_lapack.h"
 
 
 void
similarity index 98%
rename from src/gromacs/gmxlib/gmx_lapack/sgeqrf.c
rename to src/gromacs/linearalgebra/gmx_lapack/sgeqrf.c
index d674e5c4c16bac63af9af95cc6b375e9cb75909b..77e04c577dfb557065bfcf31847594974ec978a0 100644 (file)
@@ -1,4 +1,4 @@
-#include "gmx_lapack.h"
+#include "../gmx_lapack.h"
 #include "lapack_limits.h"
 
 void 
similarity index 99%
rename from src/gromacs/gmxlib/gmx_lapack/sgesdd.c
rename to src/gromacs/linearalgebra/gmx_lapack/sgesdd.c
index ec80af1a57d72874616edf3f9d4f9e7d558702ae..13bc672abc0c6669207ea47547b4457f3df7b792 100644 (file)
@@ -2,8 +2,8 @@
 #include <types/simple.h>
 
 
-#include "gmx_blas.h"
-#include "gmx_lapack.h"
+#include "../gmx_blas.h"
+#include "../gmx_lapack.h"
 #include "lapack_limits.h"
 
 void
similarity index 94%
rename from src/gromacs/gmxlib/gmx_lapack/sgetf2.c
rename to src/gromacs/linearalgebra/gmx_lapack/sgetf2.c
index 39374a9d3b07e71fde595fc6b88aa266a52dd21c..9b7582e4005475a95c3c4c26eeac4a9d90085362 100644 (file)
@@ -1,8 +1,8 @@
 #include <math.h>
 #include <types/simple.h>
 
-#include "gmx_blas.h"
-#include "gmx_lapack.h"
+#include "../gmx_blas.h"
+#include "../gmx_lapack.h"
 
 
 void
similarity index 97%
rename from src/gromacs/gmxlib/gmx_lapack/sgetrf.c
rename to src/gromacs/linearalgebra/gmx_lapack/sgetrf.c
index c6c8a5423d3c15ba293fb2138e794e3ae8d1fbc9..70ed4f439966b0d572eb21b8bfd950e209c2225c 100644 (file)
@@ -1,5 +1,5 @@
-#include "gmx_blas.h"
-#include "gmx_lapack.h"
+#include "../gmx_blas.h"
+#include "../gmx_lapack.h"
 #include "lapack_limits.h"
 
 void
similarity index 97%
rename from src/gromacs/gmxlib/gmx_lapack/sgetri.c
rename to src/gromacs/linearalgebra/gmx_lapack/sgetri.c
index 851a8b376e324bb02a9524541885b3a649090d46..d11ec1c9e0d9b2df410a84639075c46fbaa5992f 100644 (file)
@@ -1,5 +1,5 @@
-#include "gmx_blas.h"
-#include "gmx_lapack.h"
+#include "../gmx_blas.h"
+#include "../gmx_lapack.h"
 #include "lapack_limits.h"
 
 void
similarity index 95%
rename from src/gromacs/gmxlib/gmx_lapack/sgetrs.c
rename to src/gromacs/linearalgebra/gmx_lapack/sgetrs.c
index 5801551bf9949597a2c9a16989ba3c1dec565484..9d99e5626fdea6b4b3742f8ac5c0548544911cf6 100644 (file)
@@ -1,5 +1,5 @@
-#include "gmx_blas.h"
-#include "gmx_lapack.h"
+#include "../gmx_blas.h"
+#include "../gmx_lapack.h"
 
 void
 F77_FUNC(sgetrs,SGETRS)(const char *trans, 
similarity index 99%
rename from src/gromacs/gmxlib/gmx_lapack/slabrd.c
rename to src/gromacs/linearalgebra/gmx_lapack/slabrd.c
index ff07fd1675c254439bb0579aefd0ea3ee7a4e9ef..dc09f524093b98263b17de4b7b9a9fe1fb55eb0e 100644 (file)
@@ -1,6 +1,6 @@
 #include <math.h>
-#include "gmx_blas.h"
-#include "gmx_lapack.h"
+#include "../gmx_blas.h"
+#include "../gmx_lapack.h"
 
 
 void 
similarity index 95%
rename from src/gromacs/gmxlib/gmx_lapack/slacpy.c
rename to src/gromacs/linearalgebra/gmx_lapack/slacpy.c
index 59336047419d1fa4ef7d14f8b43b906bd4b5c0c3..70071311bd77ca249e4369d8ba56ff41852ce51a 100644 (file)
@@ -1,5 +1,5 @@
 #include<ctype.h>
-#include "gmx_lapack.h"
+#include "../gmx_lapack.h"
 
 /* LAPACK */
 void
similarity index 96%
rename from src/gromacs/gmxlib/gmx_lapack/slae2.c
rename to src/gromacs/linearalgebra/gmx_lapack/slae2.c
index 384d1c8bc913f2159f85d263e8bf2c0e92e7bae9..b497f74cf88029944e0f908034fd29222f50bdb6 100644 (file)
@@ -1,5 +1,5 @@
 #include <math.h>
-#include "gmx_lapack.h"
+#include "../gmx_lapack.h"
 
 
 void
similarity index 99%
rename from src/gromacs/gmxlib/gmx_lapack/slaebz.c
rename to src/gromacs/linearalgebra/gmx_lapack/slaebz.c
index 8de93fa9bd9242cfbbacad3324270f99191b3fc8..b4810c6bc695f7e606762cf21271d4718801b700 100644 (file)
@@ -1,5 +1,5 @@
 #include <math.h>
-#include "gmx_lapack.h"
+#include "../gmx_lapack.h"
 
 void
 F77_FUNC(slaebz,SLAEBZ)(int *ijob,
similarity index 99%
rename from src/gromacs/gmxlib/gmx_lapack/slaed6.c
rename to src/gromacs/linearalgebra/gmx_lapack/slaed6.c
index 971327b32a6cdb8e23ba27c64626b86768a7dd46..6f972a586dc60f327f1f325f4255458d74fd6f5d 100644 (file)
@@ -1,6 +1,6 @@
 #include <math.h>
 
-#include "gmx_lapack.h"
+#include "../gmx_lapack.h"
 
 #include <types/simple.h>
 
similarity index 98%
rename from src/gromacs/gmxlib/gmx_lapack/slaev2.c
rename to src/gromacs/linearalgebra/gmx_lapack/slaev2.c
index 2960393481eaab92649621731bffc26c4e91a9f7..8761e98c3a6f8bcd88ce2121723c8731ad33ce2d 100644 (file)
@@ -1,7 +1,7 @@
 #include <math.h>
 #include <types/simple.h>
 
-#include "gmx_lapack.h"
+#include "../gmx_lapack.h"
 
 
 void
similarity index 98%
rename from src/gromacs/gmxlib/gmx_lapack/slagtf.c
rename to src/gromacs/linearalgebra/gmx_lapack/slagtf.c
index 15279dab328df683b9ee716d5c1e032da095c27b..148249a4784efb34115c5eda37dcc267601d687a 100644 (file)
@@ -1,7 +1,7 @@
 #include <math.h>
 #include <types/simple.h>
 
-#include "gmx_lapack.h"
+#include "../gmx_lapack.h"
 #include "lapack_limits.h"
 
 
similarity index 99%
rename from src/gromacs/gmxlib/gmx_lapack/slagts.c
rename to src/gromacs/linearalgebra/gmx_lapack/slagts.c
index 07caba34aa6e8023d9e1bf59a6ce9d8f5049e6d6..36a8349f3b70388f2fc9b8d874cb75ce49d62e7a 100644 (file)
@@ -1,7 +1,7 @@
 #include <math.h>
 #include <types/simple.h>
 
-#include "gmx_lapack.h"
+#include "../gmx_lapack.h"
 #include "lapack_limits.h"
 
 
similarity index 97%
rename from src/gromacs/gmxlib/gmx_lapack/slamrg.c
rename to src/gromacs/linearalgebra/gmx_lapack/slamrg.c
index 95e62dd88b3c375ec49738563a00b9d0c031cbb2..a619bf592d83f203dc28cbcf1afe2da8e42f6390 100644 (file)
@@ -1,4 +1,4 @@
-#include "gmx_lapack.h"
+#include "../gmx_lapack.h"
 
 
 /* LAPACK */
similarity index 97%
rename from src/gromacs/gmxlib/gmx_lapack/slange.c
rename to src/gromacs/linearalgebra/gmx_lapack/slange.c
index f322e7462cad6e55b5ec00473b769a27c97216ab..a4a3c02a147ecfb1dcfd581fe8421eac5fb535e0 100644 (file)
@@ -1,6 +1,6 @@
 #include<math.h>
 #include<ctype.h>
-#include "gmx_lapack.h"
+#include "../gmx_lapack.h"
 
 
 float
similarity index 97%
rename from src/gromacs/gmxlib/gmx_lapack/slanst.c
rename to src/gromacs/linearalgebra/gmx_lapack/slanst.c
index 0b1fac496b251f87378ba2f85bae763f09383b67..cc6d1f5ee8f3cf1469fcf45053a0df9f88976547 100644 (file)
@@ -1,6 +1,6 @@
 #include <math.h>
 #include <ctype.h>
-#include "gmx_lapack.h"
+#include "../gmx_lapack.h"
 
 
 float
similarity index 98%
rename from src/gromacs/gmxlib/gmx_lapack/slansy.c
rename to src/gromacs/linearalgebra/gmx_lapack/slansy.c
index 14541c831890feeb52b022a90bf7ed7964ed816a..e2f96c216a333ccc7700b2d0281aed416ed8449d 100644 (file)
@@ -1,7 +1,7 @@
 #include <math.h>
 
 
-#include "gmx_lapack.h"
+#include "../gmx_lapack.h"
 
 float 
 F77_FUNC(slansy,SLANSY)(const char *norm, const char *uplo, int *n, float *a, int 
similarity index 93%
rename from src/gromacs/gmxlib/gmx_lapack/slapy2.c
rename to src/gromacs/linearalgebra/gmx_lapack/slapy2.c
index 252d2c9c01bacf98d1b28ecb396ac5d21d71589d..24ead749810df11fe3b308fc517cfcef980961e2 100644 (file)
@@ -1,5 +1,5 @@
 #include <math.h>
-#include "gmx_lapack.h"
+#include "../gmx_lapack.h"
 
 #include <types/simple.h>
 
similarity index 99%
rename from src/gromacs/gmxlib/gmx_lapack/slar1vx.c
rename to src/gromacs/linearalgebra/gmx_lapack/slar1vx.c
index 3790225109a973f3187e2db975cacbbc40adcd78..229ea668786d6bc82c7db1825b3555df2f543260 100644 (file)
@@ -2,7 +2,7 @@
 
 #include <types/simple.h>
 
-#include "gmx_lapack.h"
+#include "../gmx_lapack.h"
 #include "lapack_limits.h"
 
 void F77_FUNC(slar1vx,SLAR1VX)(int *n, 
similarity index 93%
rename from src/gromacs/gmxlib/gmx_lapack/slarf.c
rename to src/gromacs/linearalgebra/gmx_lapack/slarf.c
index e01ebee10cd02a57b1e5a604ba49a668b4c0f9f4..70b946ea9f25909da86781486abf77d5ce0bace7 100644 (file)
@@ -1,8 +1,8 @@
 #include <math.h>
 #include <ctype.h>
 
-#include "gmx_blas.h"
-#include "gmx_lapack.h"
+#include "../gmx_blas.h"
+#include "../gmx_lapack.h"
 
 #include <types/simple.h>
 
similarity index 99%
rename from src/gromacs/gmxlib/gmx_lapack/slarfb.c
rename to src/gromacs/linearalgebra/gmx_lapack/slarfb.c
index 9c353d888c008cfb411eff036d07c11f09efb6d1..79d821eccb664f112d636f5b4498f40097c86d86 100644 (file)
@@ -1,5 +1,5 @@
-#include "gmx_blas.h"
-#include "gmx_lapack.h"
+#include "../gmx_blas.h"
+#include "../gmx_lapack.h"
 
 
 void 
similarity index 96%
rename from src/gromacs/gmxlib/gmx_lapack/slarfg.c
rename to src/gromacs/linearalgebra/gmx_lapack/slarfg.c
index 3064cb98e734f11dae4ad2884ad1efd5298e08bb..cedca07df6d77ad95c7ebda2937362886ea8c8c3 100644 (file)
@@ -1,8 +1,8 @@
 #include <math.h>
 #include <types/simple.h>
 
-#include "gmx_blas.h"
-#include "gmx_lapack.h"
+#include "../gmx_blas.h"
+#include "../gmx_lapack.h"
 #include "lapack_limits.h"
 
 
similarity index 98%
rename from src/gromacs/gmxlib/gmx_lapack/slarft.c
rename to src/gromacs/linearalgebra/gmx_lapack/slarft.c
index d891fd2e6853b7af3ba2f2968247d0647054dd7c..51b29a71518cacd3aeab49040237137da934d7f8 100644 (file)
@@ -1,8 +1,8 @@
 #include <math.h>
 #include <types/simple.h>
 
-#include "gmx_blas.h"
-#include "gmx_lapack.h"
+#include "../gmx_blas.h"
+#include "../gmx_lapack.h"
 
 void 
 F77_FUNC(slarft,SLARFT)(const char *direct, 
similarity index 97%
rename from src/gromacs/gmxlib/gmx_lapack/slarnv.c
rename to src/gromacs/linearalgebra/gmx_lapack/slarnv.c
index 76f58ce6b39bf4fcad71a418c9a4e4c832da67d5..325ffd2674c1c56655042e8d746b280215014bd3 100644 (file)
@@ -1,5 +1,5 @@
 #include <math.h>
-#include "gmx_lapack.h"
+#include "../gmx_lapack.h"
 
 void
 F77_FUNC(slarnv,SLARNV)(int *idist, 
similarity index 99%
rename from src/gromacs/gmxlib/gmx_lapack/slarrbx.c
rename to src/gromacs/linearalgebra/gmx_lapack/slarrbx.c
index e2e7171e3c79803936fb39fae7ef5b670d27284f..5d749db56f50c57d8fb9d5deaf27aa9265127058 100644 (file)
@@ -2,7 +2,7 @@
 
 #include <types/simple.h>
 
-#include "gmx_lapack.h"
+#include "../gmx_lapack.h"
 #include "lapack_limits.h"
 
 void
similarity index 99%
rename from src/gromacs/gmxlib/gmx_lapack/slarrex.c
rename to src/gromacs/linearalgebra/gmx_lapack/slarrex.c
index b666f2d952b7ea1aef23728296c022b8e8b80e70..7c5e293ebe339b0c21e0c9df5df6778b61937b03 100644 (file)
@@ -3,8 +3,8 @@
 
 #include <types/simple.h>
 
-#include "gmx_blas.h"
-#include "gmx_lapack.h"
+#include "../gmx_blas.h"
+#include "../gmx_lapack.h"
 #include "lapack_limits.h"
 
 
similarity index 97%
rename from src/gromacs/gmxlib/gmx_lapack/slarrfx.c
rename to src/gromacs/linearalgebra/gmx_lapack/slarrfx.c
index f54ceddc7428d12b1a1e7989cb818cbe69957700..734891902339451bfa707edef1872784405779ed 100644 (file)
@@ -2,8 +2,8 @@
 
 #include <types/simple.h>
 
-#include "gmx_blas.h"
-#include "gmx_lapack.h"
+#include "../gmx_blas.h"
+#include "../gmx_lapack.h"
 #include "lapack_limits.h"
 
 
similarity index 99%
rename from src/gromacs/gmxlib/gmx_lapack/slarrvx.c
rename to src/gromacs/linearalgebra/gmx_lapack/slarrvx.c
index f192075cbbde284dfa5d3feab99d93393d6dd65a..b8af3c14fbb2dcbcd7bec869c74c4acd66bfb806 100644 (file)
@@ -2,8 +2,8 @@
 
 #include <types/simple.h>
 
-#include "gmx_blas.h"
-#include "gmx_lapack.h"
+#include "../gmx_blas.h"
+#include "../gmx_lapack.h"
 #include "lapack_limits.h"
 
 
similarity index 98%
rename from src/gromacs/gmxlib/gmx_lapack/slartg.c
rename to src/gromacs/linearalgebra/gmx_lapack/slartg.c
index 478d0a3d5ca1dcf72b8d2e3a3ab8342b69cc9dc4..4597adc7bfa2849c6620dd08dcc39fe2bb95e8f6 100644 (file)
@@ -1,5 +1,5 @@
 #include <math.h>
-#include "gmx_lapack.h"
+#include "../gmx_lapack.h"
 #include "lapack_limits.h"
 
 #include <types/simple.h>
similarity index 99%
rename from src/gromacs/gmxlib/gmx_lapack/slaruv.c
rename to src/gromacs/linearalgebra/gmx_lapack/slaruv.c
index 2e75f159665929797e305e25f19ddc01edfa815f..491043e25db0635f0c30e42e1979b480dc3f1eec 100644 (file)
@@ -1,5 +1,5 @@
 #include <math.h>
-#include "gmx_lapack.h"
+#include "../gmx_lapack.h"
 
 void
 F77_FUNC(slaruv,SLARUV)(int *iseed, int *n, float *x)
similarity index 97%
rename from src/gromacs/gmxlib/gmx_lapack/slas2.c
rename to src/gromacs/linearalgebra/gmx_lapack/slas2.c
index ac913818255d9406ef83872c033524c099ba9cde..b4a25a93d7374895f75fdfe470dc2eb65fc1f2d4 100644 (file)
@@ -1,7 +1,7 @@
 #include <math.h>
 #include <types/simple.h>
 
-#include "gmx_lapack.h"
+#include "../gmx_lapack.h"
 
 void
 F77_FUNC(slas2,SLAS2)(float *f,
similarity index 99%
rename from src/gromacs/gmxlib/gmx_lapack/slascl.c
rename to src/gromacs/linearalgebra/gmx_lapack/slascl.c
index f2027a83b38a7c85960d38ccee1af4c13e3ba928..84b4cb828f79e1c2be0299db9af1c87eebc121f2 100644 (file)
@@ -2,7 +2,7 @@
 #include <math.h>
 #include <types/simple.h>
 
-#include "gmx_lapack.h"
+#include "../gmx_lapack.h"
 #include "lapack_limits.h"
 
 
similarity index 99%
rename from src/gromacs/gmxlib/gmx_lapack/slasd0.c
rename to src/gromacs/linearalgebra/gmx_lapack/slasd0.c
index 4bea4e4a25032806a865ff49941e48a6ea3e585e..fbe60fc9c8dd8269d9862efc2dc98a16b5502de6 100644 (file)
@@ -1,4 +1,4 @@
-#include "gmx_lapack.h"
+#include "../gmx_lapack.h"
 
 void 
 F77_FUNC(slasd0,SLASD0)(int *n, 
similarity index 98%
rename from src/gromacs/gmxlib/gmx_lapack/slasd1.c
rename to src/gromacs/linearalgebra/gmx_lapack/slasd1.c
index f32da0e7517a42698b6fe2df93c888684d13b172..af10fe7e6473fd273f9c66e4a0da7e1c88545ef9 100644 (file)
@@ -1,5 +1,5 @@
 #include <math.h>
-#include "gmx_lapack.h"
+#include "../gmx_lapack.h"
 
 void 
 F77_FUNC(slasd1,SLASD1)(int *nl, 
similarity index 99%
rename from src/gromacs/gmxlib/gmx_lapack/slasd2.c
rename to src/gromacs/linearalgebra/gmx_lapack/slasd2.c
index 320bb50e498db404aba13d56420fa649ba339d65..1096aea81ba6198b62596ea13c10223a2051d175 100644 (file)
@@ -1,6 +1,6 @@
 #include <math.h>
-#include "gmx_blas.h"
-#include "gmx_lapack.h"
+#include "../gmx_blas.h"
+#include "../gmx_lapack.h"
 #include "lapack_limits.h"
 
 #include <types/simple.h>
similarity index 99%
rename from src/gromacs/gmxlib/gmx_lapack/slasd3.c
rename to src/gromacs/linearalgebra/gmx_lapack/slasd3.c
index a35136f10e834203cec2dd73109961f1271b8905..f58876fde59eeb4b6814ec692c0baba15df78dff 100644 (file)
@@ -1,6 +1,6 @@
 #include <math.h>
-#include "gmx_blas.h"
-#include "gmx_lapack.h"
+#include "../gmx_blas.h"
+#include "../gmx_lapack.h"
 
 void 
 F77_FUNC(slasd3,SLASD3)(int *nl, 
similarity index 99%
rename from src/gromacs/gmxlib/gmx_lapack/slasd4.c
rename to src/gromacs/linearalgebra/gmx_lapack/slasd4.c
index 927f6a4e3b4b2a0e1534f0ba1361822c9afe9131..511a884ca4c876c1f1129525e4fb895450fc5a1b 100644 (file)
@@ -1,5 +1,5 @@
 #include <math.h>
-#include "gmx_lapack.h"
+#include "../gmx_lapack.h"
 #include "lapack_limits.h"
 
 #include <types/simple.h>
similarity index 98%
rename from src/gromacs/gmxlib/gmx_lapack/slasd5.c
rename to src/gromacs/linearalgebra/gmx_lapack/slasd5.c
index d826fb097ca7dcc8c7e1fd1c7e8f0418090af1c8..4773373116469a8b2e1136f99b452138de4d16c2 100644 (file)
@@ -1,5 +1,5 @@
 #include <math.h>
-#include "gmx_lapack.h"
+#include "../gmx_lapack.h"
 
 void 
 F77_FUNC(slasd5,SLASD5)(int *i__, 
similarity index 97%
rename from src/gromacs/gmxlib/gmx_lapack/slasd6.c
rename to src/gromacs/linearalgebra/gmx_lapack/slasd6.c
index 4d2b94958d7dace83d191ec3508f0230b4bbcb96..f74d6b741c8ba5cd5958d49f6f2f8b0e722126fa 100644 (file)
@@ -1,6 +1,6 @@
 #include <math.h>
-#include "gmx_blas.h"
-#include "gmx_lapack.h"
+#include "../gmx_blas.h"
+#include "../gmx_lapack.h"
 
 void 
 F77_FUNC(slasd6,SLASD6)(int *icompq, 
similarity index 98%
rename from src/gromacs/gmxlib/gmx_lapack/slasd7.c
rename to src/gromacs/linearalgebra/gmx_lapack/slasd7.c
index b2715cda78ecc9e428f56f829a6856f918b81309..3b9bfc853f96619a236771d7d78fca6ab0da2e82 100644 (file)
@@ -1,8 +1,8 @@
 #include <math.h>
 #include <types/simple.h>
 
-#include "gmx_blas.h"
-#include "gmx_lapack.h"
+#include "../gmx_blas.h"
+#include "../gmx_lapack.h"
 #include "lapack_limits.h"
 
 void 
similarity index 98%
rename from src/gromacs/gmxlib/gmx_lapack/slasd8.c
rename to src/gromacs/linearalgebra/gmx_lapack/slasd8.c
index 247e546f1226634c99d45b602cb83130a76030b6..7b86bea09ccbd1e15b062180f4369adab4b85e47 100644 (file)
@@ -1,6 +1,6 @@
 #include <math.h>
-#include "gmx_blas.h"
-#include "gmx_lapack.h"
+#include "../gmx_blas.h"
+#include "../gmx_lapack.h"
 
 void 
 F77_FUNC(slasd8,SLASD8)(int *icompq, 
similarity index 99%
rename from src/gromacs/gmxlib/gmx_lapack/slasda.c
rename to src/gromacs/linearalgebra/gmx_lapack/slasda.c
index 19c99315129a4eb5cac4ddc554f35358f7e20b03..c0c883f50540b612666e22054cb4e04129ac8051 100644 (file)
@@ -1,5 +1,5 @@
-#include "gmx_blas.h"
-#include "gmx_lapack.h"
+#include "../gmx_blas.h"
+#include "../gmx_lapack.h"
 
 void 
 F77_FUNC(slasda,SLASDA)(int *icompq, 
similarity index 98%
rename from src/gromacs/gmxlib/gmx_lapack/slasdq.c
rename to src/gromacs/linearalgebra/gmx_lapack/slasdq.c
index 54ad7945cc5f2b03d305772d46f87423b6a6622e..71ccb0611137395f52ee79e29c11093508949464 100644 (file)
@@ -1,7 +1,7 @@
 #include <ctype.h>
 
-#include "gmx_blas.h"
-#include "gmx_lapack.h"
+#include "../gmx_blas.h"
+#include "../gmx_lapack.h"
 
 
 void 
similarity index 96%
rename from src/gromacs/gmxlib/gmx_lapack/slasdt.c
rename to src/gromacs/linearalgebra/gmx_lapack/slasdt.c
index a879dd4383d9d40090443c9f7397e6a4057c5848..dde20330a65e9505dc81e03bb81c18e58162dc80 100644 (file)
@@ -1,5 +1,5 @@
 #include <math.h>
-#include "gmx_lapack.h"
+#include "../gmx_lapack.h"
 
 void
 F77_FUNC(slasdt,SLASDT)(int *n,
similarity index 95%
rename from src/gromacs/gmxlib/gmx_lapack/slaset.c
rename to src/gromacs/linearalgebra/gmx_lapack/slaset.c
index 59b024e5b5ec5edcff81539c97be3ad6258c46a7..2fd0a8554b9e403e4cbd15ea50470883fccf49ce 100644 (file)
@@ -1,5 +1,5 @@
 #include <ctype.h>
-#include "gmx_lapack.h"
+#include "../gmx_lapack.h"
 
 
 void
similarity index 96%
rename from src/gromacs/gmxlib/gmx_lapack/slasq1.c
rename to src/gromacs/linearalgebra/gmx_lapack/slasq1.c
index c61ff7f179c0aa65674bf3346927d2ea4cd09eea..0bb5377b612aafd28c2d0dcd30f61775b022a23b 100644 (file)
@@ -1,6 +1,6 @@
 #include <math.h>
-#include "gmx_blas.h"
-#include "gmx_lapack.h"
+#include "../gmx_blas.h"
+#include "../gmx_lapack.h"
 #include "lapack_limits.h"
 
 #include <types/simple.h>
similarity index 99%
rename from src/gromacs/gmxlib/gmx_lapack/slasq2.c
rename to src/gromacs/linearalgebra/gmx_lapack/slasq2.c
index 98660fc32085fbf0f21b48225205cd9f61e80a96..c5ee55fb0dfee623b3805b2b03135d5e96db9b27 100644 (file)
@@ -1,5 +1,5 @@
 #include <math.h>
-#include "gmx_lapack.h"
+#include "../gmx_lapack.h"
 #include "lapack_limits.h"
 
 #include <types/simple.h>
similarity index 99%
rename from src/gromacs/gmxlib/gmx_lapack/slasq3.c
rename to src/gromacs/linearalgebra/gmx_lapack/slasq3.c
index 7a18aea4d2ae2f0a92d01e3e1a3f1760b4ed36f6..2b708ab19787a3e2954a31930ddac863a5312135 100644 (file)
@@ -1,7 +1,7 @@
 #include <math.h>
 #include <types/simple.h>
 
-#include "gmx_lapack.h"
+#include "../gmx_lapack.h"
 #include "lapack_limits.h"
 
 void
similarity index 99%
rename from src/gromacs/gmxlib/gmx_lapack/slasq4.c
rename to src/gromacs/linearalgebra/gmx_lapack/slasq4.c
index a35f83f9c0934ef499872babb271146088b906bd..deeab9290e854b80a4e368925f6fae83d211c5e9 100644 (file)
@@ -1,7 +1,7 @@
 #include <math.h>
 #include <types/simple.h>
 
-#include "gmx_lapack.h"
+#include "../gmx_lapack.h"
 
 void 
 F77_FUNC(slasq4,SLASQ4)(int *i0, 
similarity index 99%
rename from src/gromacs/gmxlib/gmx_lapack/slasq5.c
rename to src/gromacs/linearalgebra/gmx_lapack/slasq5.c
index 11ef6ef3f7b0babff12b7d7d9264f233aa0e82b9..ab93678181d2c95d89f5baa5f7b7d0e1a214bb09 100644 (file)
@@ -1,5 +1,5 @@
 #include <math.h>
-#include "gmx_lapack.h"
+#include "../gmx_lapack.h"
 
 void
 F77_FUNC(slasq5,SLASQ5)(int *i0, 
similarity index 99%
rename from src/gromacs/gmxlib/gmx_lapack/slasq6.c
rename to src/gromacs/linearalgebra/gmx_lapack/slasq6.c
index 41bf503b1dd00863dad18b6a6b887a133bae39a2..f740dfd302d71be2cda793cb25f673af297aefc0 100644 (file)
@@ -1,5 +1,5 @@
 #include <math.h>
-#include "gmx_lapack.h"
+#include "../gmx_lapack.h"
 #include "lapack_limits.h"
 
 #include <types/simple.h>
similarity index 99%
rename from src/gromacs/gmxlib/gmx_lapack/slasr.c
rename to src/gromacs/linearalgebra/gmx_lapack/slasr.c
index bba0142bf6db3a211de97e93520b8f7d25a58187..0094a6a82554d7f1bd9e237f6b0a45d1c7bdd975 100644 (file)
@@ -1,7 +1,7 @@
 #include <math.h>
 
 #include <types/simple.h>
-#include "gmx_lapack.h"
+#include "../gmx_lapack.h"
 
 void 
 F77_FUNC(slasr,SLASR)(const char *side, 
similarity index 99%
rename from src/gromacs/gmxlib/gmx_lapack/slasrt.c
rename to src/gromacs/linearalgebra/gmx_lapack/slasrt.c
index 6cf7c1e505fbf39896cd4102471c547522479e33..2d8a9ee9c18b82ea8a0a2426ab9583c1c563cded 100644 (file)
@@ -1,4 +1,4 @@
-#include "gmx_lapack.h"
+#include "../gmx_lapack.h"
 
 void 
 F77_FUNC(slasrt,SLASRT)(const char *id, 
similarity index 99%
rename from src/gromacs/gmxlib/gmx_lapack/slasrt2.c
rename to src/gromacs/linearalgebra/gmx_lapack/slasrt2.c
index 6ed1466af8aa7f7f770f987c11018650f2128ef7..33452427b9fdc1cfb685ee40e18f35288ad5b7a8 100644 (file)
@@ -1,4 +1,4 @@
-#include "gmx_lapack.h"
+#include "../gmx_lapack.h"
 
 void F77_FUNC(slasrt2,SLASRT2)(const char *id, 
              int *n, 
similarity index 95%
rename from src/gromacs/gmxlib/gmx_lapack/slassq.c
rename to src/gromacs/linearalgebra/gmx_lapack/slassq.c
index d86196ab6130d8a7448a4b2681349da47c9231cb..2985b11fb3b4a631d6eee62f4a251cfb03ae619c 100644 (file)
@@ -1,6 +1,6 @@
 #include <math.h>
 #include <types/simple.h>
-#include "gmx_lapack.h"
+#include "../gmx_lapack.h"
 
 void
 F77_FUNC(slassq,SLASSQ)(int *n,
similarity index 99%
rename from src/gromacs/gmxlib/gmx_lapack/slasv2.c
rename to src/gromacs/linearalgebra/gmx_lapack/slasv2.c
index a77f3f3a1fc075f357a2f7de8cdd3afe594d5473..4572488f38ee4e14848377f70b48b57584a4d031 100644 (file)
@@ -1,5 +1,5 @@
 #include <math.h>
-#include "gmx_lapack.h"
+#include "../gmx_lapack.h"
 #include "lapack_limits.h"
 
 #include <types/simple.h>
similarity index 97%
rename from src/gromacs/gmxlib/gmx_lapack/slaswp.c
rename to src/gromacs/linearalgebra/gmx_lapack/slaswp.c
index 0e673928e466298875f8a33113b842dda75d597b..21f6d3419b86a071cdb1b1331cc362903c803129 100644 (file)
@@ -1,4 +1,4 @@
-#include "gmx_lapack.h"
+#include "../gmx_lapack.h"
 
 /* LAPACK */
 void
similarity index 98%
rename from src/gromacs/gmxlib/gmx_lapack/slatrd.c
rename to src/gromacs/linearalgebra/gmx_lapack/slatrd.c
index 4636e5fe6706a5dd4c76728911e9211b95d6b558..da42a03f0f7bea7500b48c1e310fdb09d6d590fb 100644 (file)
@@ -1,6 +1,6 @@
 #include <ctype.h>
-#include "gmx_blas.h"
-#include "gmx_lapack.h"
+#include "../gmx_blas.h"
+#include "../gmx_lapack.h"
 #include "lapack_limits.h"
 
 
similarity index 96%
rename from src/gromacs/gmxlib/gmx_lapack/sorg2r.c
rename to src/gromacs/linearalgebra/gmx_lapack/sorg2r.c
index 1a769400661c46f2253d444ac4c59758e12e73f7..3f7508e7cb298eee34eb0ba38ec71e00f5a3a1a9 100644 (file)
@@ -1,7 +1,7 @@
 #include <math.h>
 
-#include "gmx_blas.h"
-#include "gmx_lapack.h"
+#include "../gmx_blas.h"
+#include "../gmx_lapack.h"
 
 void 
 F77_FUNC(sorg2r,SORG2R)(int *m, 
similarity index 97%
rename from src/gromacs/gmxlib/gmx_lapack/sorgbr.c
rename to src/gromacs/linearalgebra/gmx_lapack/sorgbr.c
index 2226f19cd85b5740ead8f70cfae969fa1b9db16f..a34736d1ec276bd958257c46aa706efbd727729b 100644 (file)
@@ -1,4 +1,4 @@
-#include "gmx_lapack.h"
+#include "../gmx_lapack.h"
 #include "lapack_limits.h"
 
 void
similarity index 96%
rename from src/gromacs/gmxlib/gmx_lapack/sorgl2.c
rename to src/gromacs/linearalgebra/gmx_lapack/sorgl2.c
index 21d9e3dc968ac2e17f6ddc3834faffe4aca3772f..e6bf060be308accaeac6236905b8caa67968e28a 100644 (file)
@@ -1,5 +1,5 @@
-#include "gmx_blas.h"
-#include "gmx_lapack.h"
+#include "../gmx_blas.h"
+#include "../gmx_lapack.h"
 
 void
 F77_FUNC(sorgl2,SORGL2)(int *m,
similarity index 99%
rename from src/gromacs/gmxlib/gmx_lapack/sorglq.c
rename to src/gromacs/linearalgebra/gmx_lapack/sorglq.c
index 779b8b4f0aff3e6d87c1346f056750cfb756ccca..8e4d0b52f616b198423fed5aefcbe7e82cdb14de 100644 (file)
@@ -1,4 +1,4 @@
-#include "gmx_lapack.h"
+#include "../gmx_lapack.h"
 
 #define SORGLQ_BLOCKSIZE    32
 #define SORGLQ_MINBLOCKSIZE 2
similarity index 98%
rename from src/gromacs/gmxlib/gmx_lapack/sorgqr.c
rename to src/gromacs/linearalgebra/gmx_lapack/sorgqr.c
index 16c16669a1eec39b86ce3ae81069cd3ccb5bf5ae..849014e9b5b6e361cb62cfe383e18d3abb81dd19 100644 (file)
@@ -1,4 +1,4 @@
-#include "gmx_lapack.h"
+#include "../gmx_lapack.h"
 #include "lapack_limits.h"
 
 
similarity index 98%
rename from src/gromacs/gmxlib/gmx_lapack/sorm2l.c
rename to src/gromacs/linearalgebra/gmx_lapack/sorm2l.c
index fd4eadac28b5be573db09804043e0e7ddb4692e1..6415ec81597a2628fbc25bcdf373f7cc5eb0d52c 100644 (file)
@@ -1,4 +1,4 @@
-#include "gmx_lapack.h"
+#include "../gmx_lapack.h"
 
 void
 F77_FUNC(sorm2l,SORM2L)(const char *side, 
similarity index 98%
rename from src/gromacs/gmxlib/gmx_lapack/sorm2r.c
rename to src/gromacs/linearalgebra/gmx_lapack/sorm2r.c
index 1fa6712b213c3746f69ce58245a7e3f40e9392a3..df0c3d90e4aec85ee069e67ffebb7c5dc2706c95 100644 (file)
@@ -1,4 +1,4 @@
-#include "gmx_lapack.h"
+#include "../gmx_lapack.h"
 
 void 
 F77_FUNC(sorm2r,SORM2R)(const char *side, 
similarity index 98%
rename from src/gromacs/gmxlib/gmx_lapack/sormbr.c
rename to src/gromacs/linearalgebra/gmx_lapack/sormbr.c
index 2ec3feb94104ff19650eee5c49d207373ac7efec..e837ad5091c65dd221397fdf5ce0f4096fe7413f 100644 (file)
@@ -1,4 +1,4 @@
-#include "gmx_lapack.h"
+#include "../gmx_lapack.h"
 #include "lapack_limits.h"
 
 void 
similarity index 97%
rename from src/gromacs/gmxlib/gmx_lapack/sorml2.c
rename to src/gromacs/linearalgebra/gmx_lapack/sorml2.c
index 997b6ae6b41c7731fd87641bd8610ced5b33042f..00e6614139fc9dccb6ce74524f461f07d33f1014 100644 (file)
@@ -1,5 +1,5 @@
 #include <ctype.h>
-#include "gmx_lapack.h"
+#include "../gmx_lapack.h"
 
 void
 F77_FUNC(sorml2,SORML2)(const char *side,
similarity index 98%
rename from src/gromacs/gmxlib/gmx_lapack/sormlq.c
rename to src/gromacs/linearalgebra/gmx_lapack/sormlq.c
index fd0975a2a510c655aa07c9c9d96f7ab17fa103c4..02d8fbaf8fec164fc537841cc71050a0a5c81764 100644 (file)
@@ -1,4 +1,4 @@
-#include "gmx_lapack.h"
+#include "../gmx_lapack.h"
 #include "lapack_limits.h"
 
 
similarity index 98%
rename from src/gromacs/gmxlib/gmx_lapack/sormql.c
rename to src/gromacs/linearalgebra/gmx_lapack/sormql.c
index 33ae8a8f25f9dc2889427c0f00dbbbb729ae84d8..fbed2088b2456f6e8dd979c1c9a47056544a4e95 100644 (file)
@@ -1,4 +1,4 @@
-#include "gmx_lapack.h"
+#include "../gmx_lapack.h"
 #include "lapack_limits.h"
 
 void
similarity index 98%
rename from src/gromacs/gmxlib/gmx_lapack/sormqr.c
rename to src/gromacs/linearalgebra/gmx_lapack/sormqr.c
index 68d666bb59b3c7cafc887a2a24f7deeb0a111abb..01cac7fd22246508aadd0e75ba8028ad5f4819fb 100644 (file)
@@ -1,4 +1,4 @@
-#include "gmx_lapack.h"
+#include "../gmx_lapack.h"
 #include "lapack_limits.h"
 
 void 
similarity index 98%
rename from src/gromacs/gmxlib/gmx_lapack/sormtr.c
rename to src/gromacs/linearalgebra/gmx_lapack/sormtr.c
index 85cdcef0a808f49828c73e9e4a05fd97e59157c1..79791acce08b7f0217040b4980419482c242b72b 100644 (file)
@@ -1,4 +1,4 @@
-#include "gmx_lapack.h"
+#include "../gmx_lapack.h"
 #include "lapack_limits.h"
 
 
similarity index 99%
rename from src/gromacs/gmxlib/gmx_lapack/sstebz.c
rename to src/gromacs/linearalgebra/gmx_lapack/sstebz.c
index 7294cae1b097b3ecbf1a478e6e7c30b5b723ca21..ae26c4e126263e52ac9b29dd8c9f289efea27dc3 100644 (file)
@@ -1,5 +1,5 @@
 #include <math.h>
-#include "gmx_lapack.h"
+#include "../gmx_lapack.h"
 #include "lapack_limits.h"
 
 #include <types/simple.h>
similarity index 98%
rename from src/gromacs/gmxlib/gmx_lapack/sstegr.c
rename to src/gromacs/linearalgebra/gmx_lapack/sstegr.c
index 13db6bd1f03be9507d033ba91704e60d03db8bed..dca562dbb05bc9d0137be38b9306699be026a7b2 100644 (file)
@@ -1,6 +1,6 @@
 #include <math.h>
-#include "gmx_blas.h"
-#include "gmx_lapack.h"
+#include "../gmx_blas.h"
+#include "../gmx_lapack.h"
 #include "lapack_limits.h"
 
 #include <types/simple.h>
similarity index 98%
rename from src/gromacs/gmxlib/gmx_lapack/sstein.c
rename to src/gromacs/linearalgebra/gmx_lapack/sstein.c
index 0f1da7e172ff6575d16f90e72218da98399cc3e9..de9036572b8875dc9e6136563106ecade5f45a83 100644 (file)
@@ -1,6 +1,6 @@
 #include <math.h>
-#include "gmx_blas.h"
-#include "gmx_lapack.h"
+#include "../gmx_blas.h"
+#include "../gmx_lapack.h"
 #include "lapack_limits.h"
 
 #include <types/simple.h>
similarity index 99%
rename from src/gromacs/gmxlib/gmx_lapack/ssteqr.c
rename to src/gromacs/linearalgebra/gmx_lapack/ssteqr.c
index a18ca56a91b4845d42dd5fa8eb4832fb9f4c4438..f378f9d10d39fc01cbdad7148025cba339dd938f 100644 (file)
@@ -1,8 +1,8 @@
 #include <math.h>
 #include <types/simple.h>
 
-#include "gmx_blas.h"
-#include "gmx_lapack.h"
+#include "../gmx_blas.h"
+#include "../gmx_lapack.h"
 #include "lapack_limits.h"
 
 void
similarity index 99%
rename from src/gromacs/gmxlib/gmx_lapack/ssterf.c
rename to src/gromacs/linearalgebra/gmx_lapack/ssterf.c
index 91190d5afe1b297ddb95a93da1efba2a8f0eeeab..13573711d5a3aecee6ca4e06d66227faee0a6be3 100644 (file)
@@ -1,5 +1,5 @@
 #include <math.h>
-#include "gmx_lapack.h"
+#include "../gmx_lapack.h"
 #include "lapack_limits.h"
 
 #include <types/simple.h>
similarity index 98%
rename from src/gromacs/gmxlib/gmx_lapack/sstevr.c
rename to src/gromacs/linearalgebra/gmx_lapack/sstevr.c
index 29f2ccc9c5b6dfcb3615a4c4e10134fd642ee034..09a439c93606f84caacab99c93056605bffc84c2 100644 (file)
@@ -1,4 +1,4 @@
-#include "gmx_lapack.h"
+#include "../gmx_lapack.h"
 
 
 /* Normally, SSTEVR is the LAPACK wrapper which calls one
similarity index 98%
rename from src/gromacs/gmxlib/gmx_lapack/ssyevr.c
rename to src/gromacs/linearalgebra/gmx_lapack/ssyevr.c
index d454319a5fa15cf4792afc7699242cc2369683e6..d51cc29fe76fad164420b116de6549e8ffcab4e9 100644 (file)
@@ -1,7 +1,9 @@
 #include <math.h>
 
-#include "gmx_blas.h"
-#include "gmx_lapack.h"
+#include <types/simple.h>
+
+#include "../gmx_blas.h"
+#include "../gmx_lapack.h"
 #include "lapack_limits.h"
 
 void
similarity index 97%
rename from src/gromacs/gmxlib/gmx_lapack/ssytd2.c
rename to src/gromacs/linearalgebra/gmx_lapack/ssytd2.c
index 435517ddbda67febad7996d5223d55f39f0c1339..d485fa16dbeba955f6c27a94fd9ca198e962ce6a 100644 (file)
@@ -3,8 +3,8 @@
 
 #include <types/simple.h>
 
-#include "gmx_blas.h"
-#include "gmx_lapack.h"
+#include "../gmx_blas.h"
+#include "../gmx_lapack.h"
 
 void
 F77_FUNC(ssytd2,SSYTD2)(const char *    uplo,
similarity index 98%
rename from src/gromacs/gmxlib/gmx_lapack/ssytrd.c
rename to src/gromacs/linearalgebra/gmx_lapack/ssytrd.c
index 7667b6518b3f88a89519068bba32c7c26124ac42..2a5b63904619cdbaef00f3aee31f9badc2cc01f7 100644 (file)
@@ -1,5 +1,5 @@
-#include "gmx_blas.h"
-#include "gmx_lapack.h"
+#include "../gmx_blas.h"
+#include "../gmx_lapack.h"
 #include "lapack_limits.h"
 
 void
similarity index 96%
rename from src/gromacs/gmxlib/gmx_lapack/strti2.c
rename to src/gromacs/linearalgebra/gmx_lapack/strti2.c
index 7973107a1b504b280ac7843ba437f112b4d6b681..eca8db374d2c7833eaf28f47a2f67b6850dfc2c3 100644 (file)
@@ -1,5 +1,5 @@
-#include "gmx_blas.h"
-#include "gmx_lapack.h"
+#include "../gmx_blas.h"
+#include "../gmx_lapack.h"
 #include "lapack_limits.h"
 
 void
similarity index 97%
rename from src/gromacs/gmxlib/gmx_lapack/strtri.c
rename to src/gromacs/linearalgebra/gmx_lapack/strtri.c
index 750484e1663aa101df28f4367893bc4525d6db31..e695e4302a6645365fdd1c9e0a783792c697dc09 100644 (file)
@@ -1,6 +1,6 @@
 #include <math.h>
-#include "gmx_blas.h"
-#include "gmx_lapack.h"
+#include "../gmx_blas.h"
+#include "../gmx_lapack.h"
 #include "lapack_limits.h"
 
 #include <types/simple.h>
similarity index 96%
rename from src/gromacs/gmxlib/gmx_matrix.c
rename to src/gromacs/linearalgebra/matrix.c
index e302bb1942f5aef6106e06a8b9c1bcff8cdf952c..5d2cad0af19ef898de75ef350cf961c9fe7b3f57 100644 (file)
  * And Hey:
  * Groningen Machine for Chemical Simulation
  */
+#include "matrix.h"
+
 #ifdef HAVE_CONFIG_H
 #include <config.h>
 #endif
 
-#include <stdlib.h>
-#include "typedefs.h"
-#include "smalloc.h"
-#include "vec.h"
-#include "gmx_fatal.h"
-#include "gmx_matrix.h"
+#include <stdio.h>
+
+#include "gromacs/legacyheaders/gmx_fatal.h"
+#include "gromacs/legacyheaders/smalloc.h"
+#include "gromacs/legacyheaders/vec.h"
+
 #include "gmx_lapack.h"
 
 double **alloc_matrix(int n,int m)
similarity index 94%
rename from src/gromacs/legacyheaders/gmx_matrix.h
rename to src/gromacs/linearalgebra/matrix.h
index 37f38b8c2e0080ef39f7db5a86192273558524b2..1dca7232e2770029cf78c8383b9db0c4f285be44 100644 (file)
  * And Hey:
  * Groningen Machine for Chemical Simulation
  */
+#ifndef GMX_LINEARALGEBRA_MATRIX_H
+#define GMX_LINEARALGEBRA_MATRIX_H
 
-#ifndef _gmx_matrix_h
-#define _gmx_matrix_h
-       
 #include <stdio.h>
-       
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
 double **alloc_matrix(int n,int m);
 
 void free_matrix(double **a,int n);
@@ -58,4 +62,8 @@ double multi_regression(FILE *fp,int ny,double *y,
  * If fp is not NULL debug information will be written to it.
  */
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif
similarity index 96%
rename from src/gromacs/gmxlib/mtxio.c
rename to src/gromacs/linearalgebra/mtxio.c
index 19780797cf4162b953bf8abf6c5226efc79cdbba..fad1f26faf707c638617798de6936ecb5dae5fc9 100644 (file)
@@ -32,6 +32,8 @@
  * And Hey:
  * Green Red Orange Magenta Azure Cyan Skyblue
  */
+#include "mtxio.h"
+
 #ifdef HAVE_CONFIG_H
 #include <config.h>
 #endif
  * in normal mode analysis.
  */
 
-#include "xdrf.h"
-#include "smalloc.h"
-#include "gmxfio.h"
-#include "copyrite.h"
-#include "gmx_fatal.h"
-#include "mtxio.h"
-#include "gmxfio.h"
+#include "gromacs/legacyheaders/copyrite.h"
+#include "gromacs/legacyheaders/gmx_fatal.h"
+#include "gromacs/legacyheaders/gmxfio.h"
+#include "gromacs/legacyheaders/smalloc.h"
+#include "gromacs/legacyheaders/xdrf.h"
+#include "gromacs/linearalgebra/sparsematrix.h"
 
 
 /* Just a number to identify our file type */
similarity index 96%
rename from src/gromacs/legacyheaders/mtxio.h
rename to src/gromacs/linearalgebra/mtxio.h
index 88c0545421c90ea532d7cd95c152d6b17546f1dd..f4050f39dec19b8a57a8daaa05d529985c6e7f8f 100644 (file)
  * in normal mode analysis.
  */
 
-#ifndef _MTXIO_H_
-#define _MTXIO_H_
+#ifndef GMX_LINEARALGEBRA_MTXIO_H
+#define GMX_LINEARALGEBRA_MTXIO_H
+
+#include "../legacyheaders/types/simple.h"
 
-#include "types/simple.h"
 #include "sparsematrix.h"
 
 #ifdef __cplusplus
@@ -67,7 +68,7 @@ gmx_mtxio_write(const char *             filename,
  * This routine will autodetect the matrix format stored in the file
  * (sparse or full) and set either the full or sparse matrix arguments (ptr to ptr)
  * to a newly allocated matrix structure. Note that the full storage
- * structure is simply nrow*ncol floating-point elements. The sparse                                                  
+ * structure is simply nrow*ncol floating-point elements. The sparse
  * matrix structure should be freed with gmx_sparsematrix_destroy() when you are done.
  *
  * To determine the format you should set *full_matrix and *sparse_matrix to NULL
similarity index 99%
rename from src/gromacs/gmxlib/sparsematrix.c
rename to src/gromacs/linearalgebra/sparsematrix.c
index 41c78a528d9eb139fc72fa515dd0d4a0d375095e..a6d78873a5d36ac6e10e7ab2e74b53ebdf4de44a 100644 (file)
  * And Hey:
  * Green Red Orange Magenta Azure Cyan Skyblue
  */
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
+#include "sparsematrix.h"
 
+#include <assert.h>
 #include <stdlib.h>
 #include <stdio.h>
-#include <assert.h>
 
-#include "smalloc.h"
-
-#include "sparsematrix.h"
+#include "gromacs/legacyheaders/smalloc.h"
 
 
 
similarity index 92%
rename from src/gromacs/legacyheaders/sparsematrix.h
rename to src/gromacs/linearalgebra/sparsematrix.h
index 27993c2f16e72eb86cd0d9d4c05b75cfddcd98aa..a8479b99b36bb36c923100afc5ecd8fbf978817f 100644 (file)
  * And Hey:
  * Green Red Orange Magenta Azure Cyan Skyblue
  */
-#ifndef _SPARSEMATRIX_H_
-#define _SPARSEMATRIX_H_
+#ifndef GMX_LINEARALGEBRA_SPARSEMATRIX_H
+#define GMX_LINEARALGEBRA_SPARSEMATRIX_H
 
-#include "typedefs.h"
-#include "types/simple.h"
+#include <stdio.h>
+
+#include "../legacyheaders/types/simple.h"
 
 #ifdef __cplusplus
 extern "C" {
 #endif
 
+typedef struct
+gmx_sparsematrix_entry
+{
+    int      col;
+    real     value;
+} gmx_sparsematrix_entry_t;
+
 /*! \brief Sparse matrix storage format
  *
  *  This structure specifies a storage format for a sparse matrix.
@@ -92,27 +100,19 @@ extern "C" {
  *
  *  In other words: Not perfect, but it works.
  */ 
-
-typedef struct
-gmx_sparsematrix_entry
-{
-    int      col;
-    real     value;
-} gmx_sparsematrix_entry_t;
-    
 typedef struct 
 gmx_sparsematrix 
 {
-    gmx_bool                         compressed_symmetric; /*!< Store half elements and assume symmetry. */
-    int                          nrow;                 /*!< Number of rows in matrix                 */
-    int *                        ndata;                /*!< Number of entries on each row (list)     */
-    int *                        nalloc;               /*!< Allocated entry list length for each row */
-    gmx_sparsematrix_entry_t **  data;                 /*!< data[i] is a list with entries on row i  */
+    gmx_bool                     compressed_symmetric; /**< Store half elements and assume symmetry. */
+    int                          nrow;                 /**< Number of rows in matrix                 */
+    int *                        ndata;                /**< Number of entries on each row (list)     */
+    int *                        nalloc;               /**< Allocated entry list length for each row */
+    gmx_sparsematrix_entry_t **  data;                 /**< data[i] is a list with entries on row i  */
 } 
 gmx_sparsematrix_t;
 
 
-/*! \Allocate a new sparse matrix structure
+/*! \brief Allocate a new sparse matrix structure
  *
  *  The number of rows is used to allocate the index array entry. Obviously you
  *  can reallocate these later yourself if necessary - this is a 
index c360264bc1188be56acb59a7a53951fd9b7e62b9..2c3507e817c8d08073605399dc62b9bfa42fccb3 100644 (file)
@@ -67,8 +67,6 @@
 #include "domdec.h"
 #include "partdec.h"
 #include "trnio.h"
-#include "sparsematrix.h"
-#include "mtxio.h"
 #include "mdatoms.h"
 #include "ns.h"
 #include "gmx_wallcycle.h"
@@ -76,6 +74,9 @@
 #include "gmxfio.h"
 #include "pme.h"
 
+#include "gromacs/linearalgebra/mtxio.h"
+#include "gromacs/linearalgebra/sparsematrix.h"
+
 typedef struct {
   t_state s;
   rvec    *f;
index bd7f04d1cb13543316024bf7f5b27ae2329677cb..abfaa6712be587ad12a5df356623734148af27fb 100644 (file)
@@ -59,8 +59,9 @@
 #include "gmxcpp.h"
 #include "checkpoint.h"
 #include "mtop_util.h"
-#include "sparsematrix.h"
-#include "mtxio.h"
+
+#include "gromacs/linearalgebra/mtxio.h"
+#include "gromacs/linearalgebra/sparsematrix.h"
 
 
 static void list_tpx(const char *fn, gmx_bool bShowNumbers,const char *mdpfn,
index 6976d284e147ed1054531d07e30423bcd69f470b..37d8411ec5d8d6ab048b3d9f7bfd25eafb46c311 100644 (file)
@@ -1,8 +1,7 @@
 add_library(gmxana 
             autocorr.c      expfit.c        polynomials.c   levenmar.c      
             anadih.c        pp2shift.c      dlist.c         
-            eigio.c         cmat.c          
-            eigensolver.c   nsc.c           
+            eigio.c         cmat.c          nsc.c
             hxprops.c       fitahx.c        
             geminate.c      nsfactor.c
             gmx_analyze.c   gmx_anaeig.c    gmx_angle.c     gmx_bond.c      
index 97774b2d788dd9bfe0244ba0f322b6bb065f8372..4c41ba183085bc2e3b1dc66f39e8441fd673297e 100644 (file)
 #include "statutil.h"
 #include "txtdump.h"
 #include "gstat.h"
-#include "gmx_matrix.h"
 #include "gmx_statistics.h"
 #include "xvgr.h"
 #include "gmx_ana.h"
 #include "geminate.h"
 
+#include "gromacs/linearalgebra/matrix.h"
+
 /* must correspond to char *avbar_opt[] declared in main() */
 enum { avbarSEL, avbarNONE, avbarSTDDEV, avbarERROR, avbar90, avbarNR };
 
index cd5090fa14d6d910237cc3ccfc5e6075a29f4a20..df32771bccfe2020ad94abe2e25fa3a1e0c8af28 100644 (file)
 #include "xvgr.h"
 #include "futil.h"
 #include "matio.h"
-#include "eigensolver.h"
 #include "cmat.h"
 #include "do_fit.h"
 #include "trnio.h"
 #include "viewit.h"
 #include "gmx_ana.h"
 
+#include "gromacs/linearalgebra/eigensolver.h"
+
 /* print to two file pointers at once (i.e. stderr and log) */
 static inline
 void lo_ffprintf(FILE *fp1, FILE *fp2, const char *buf)
index 5b281f84a556f1c000a2a2f07a9bcd7fb4063aec..c7fe48ea4f92b92640da81c01002acc1a13b1521 100644 (file)
 #include "txtdump.h"
 #include "matio.h"
 #include "eigio.h"
-#include "eigensolver.h"
 #include "physics.h"
 #include "gmx_ana.h"
 #include "string2.h"
 
+#include "gromacs/linearalgebra/eigensolver.h"
+
 /* Portable version of ctime_r implemented in src/gmxlib/string2.c, but we do not want it declared in public installed headers */
 char *
 gmx_ctime_r(const time_t *clock,char *buf, int n);
index febc81f5dabbc7ab8242b608f2885f87a4e3314c..04725632e05a5f0f5bec5d103abbbf990148bd89 100644 (file)
 #include "xvgr.h"
 #include "gstat.h"
 #include "txtdump.h"
-#include "eigensolver.h"
 #include "eigio.h"
-#include "mtxio.h"
 #include "mtop_util.h"
-#include "sparsematrix.h"
 #include "physics.h"
 #include "main.h"
 #include "gmx_ana.h"
 
+#include "gromacs/linearalgebra/eigensolver.h"
+#include "gromacs/linearalgebra/mtxio.h"
+#include "gromacs/linearalgebra/sparsematrix.h"
+
 static double cv_corr(double nu,double T)
 {
     double x = PLANCK*nu/(BOLTZ*T);
index 2fabc1e6ec85f533d9a9a97e8d27240921ac9474..8d897eadd9da23adbaa9c58e2c11c5755453e4f8 100644 (file)
@@ -55,9 +55,9 @@
 #include "princ.h"
 #include "rmpbc.h"
 #include "confio.h"
-#include "eigensolver.h"
 #include "gmx_ana.h"
 
+#include "gromacs/linearalgebra/eigensolver.h"
 
 static real find_pdb_bfac(t_atoms *atoms,t_resinfo *ri,char *atomnm)
 {