+++ /dev/null
-/*
- *
- * This source code is part of
- *
- * G R O M A C S
- *
- * GROningen MAchine for Chemical Simulations
- *
- * VERSION 3.2.0
- * Written by David van der Spoel, Erik Lindahl, Berk Hess, and others.
- * Copyright (c) 1991-2000, University of Groningen, The Netherlands.
- * Copyright (c) 2001-2004, The GROMACS development team,
- * check out http://www.gromacs.org for more information.
-
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation; either version 2
- * of the License, or (at your option) any later version.
- *
- * If you want to redistribute modifications, please consider that
- * scientific software is very special. Version control is crucial -
- * bugs must be traceable. We will be happy to consider code for
- * inclusion in the official distribution, but derived work must not
- * be called official GROMACS. Details are found in the README & COPYING
- * files - if they are missing, get the official version at www.gromacs.org.
- *
- * To help us fund GROMACS development, we humbly ask that you cite
- * the papers on the package - you can find them in the top README file.
- *
- * For more info, check our website at http://www.gromacs.org
- *
- * And Hey:
- * Green Red Orange Magenta Azure Cyan Skyblue
- */
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
-
-#include <gmx_ana.h>
-
-
-/* This is just a wrapper binary.
-* The code that used to be in g_sdf.c is now in gmx_sdf.c,
-* where the old main function is called gmx_sdf().
-*/
-int
-main(int argc, char *argv[])
-{
- gmx_sdf(argc,argv);
- return 0;
-}
-
-
-
#include "gstat.h"
#include "matio.h"
#include "gmx_fatal.h"
-#include "gmx_ana.h"
#define G_REF1 0
return 0;
}
+
+int
+main(int argc, char *argv[])
+{
+ gmx_sdf(argc,argv);
+ return 0;
+}
#
# This file is part of the GROMACS molecular simulation package.
#
-# Copyright (c) 2010,2011,2012, by the GROMACS development team, led by
+# Copyright (c) 2010,2011,2012,2013, by the GROMACS development team, led by
# David van der Spoel, Berk Hess, Erik Lindahl, and including many
# others, as listed in the AUTHORS file in the top-level source
# directory and at http://www.gromacs.org.
add_subdirectory(gmxlib)
add_subdirectory(mdlib)
add_subdirectory(gmxpreprocess)
+add_subdirectory(gmxana)
add_subdirectory(analysisdata)
add_subdirectory(commandline)
add_subdirectory(linearalgebra)
endif()
target_link_libraries(libgromacs ${GMX_GPU_LIBRARIES}
- ${GMX_EXTRA_LIBRARIES} ${FFT_LIBRARIES} ${XML_LIBRARIES}
+ ${GMX_EXTRA_LIBRARIES}
+ ${FFT_LIBRARIES} ${XML_LIBRARIES} ${GSL_LIBRARIES}
${THREAD_LIB} ${GMX_SHARED_LINKER_FLAGS})
set_target_properties(libgromacs PROPERTIES
OUTPUT_NAME "gromacs${GMX_LIBS_SUFFIX}"
--- /dev/null
+#
+# This file is part of the GROMACS molecular simulation package.
+#
+# Copyright (c) 2013, by the GROMACS development team, led by
+# David van der Spoel, Berk Hess, Erik Lindahl, and including many
+# others, as listed in the AUTHORS file in the top-level source
+# directory and at http://www.gromacs.org.
+#
+# GROMACS is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public License
+# as published by the Free Software Foundation; either version 2.1
+# of the License, or (at your option) any later version.
+#
+# GROMACS is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with GROMACS; if not, see
+# http://www.gnu.org/licenses, or write to the Free Software Foundation,
+# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+#
+# If you want to redistribute modifications to GROMACS, please
+# consider that scientific software is very special. Version
+# control is crucial - bugs must be traceable. We will be happy to
+# consider code for inclusion in the official distribution, but
+# derived work must not be called official GROMACS. Details are found
+# in the README & COPYING files - if they are missing, get the
+# official version at http://www.gromacs.org.
+#
+# To help us fund GROMACS development, we humbly ask that you cite
+# the research papers on the package. Check out http://www.gromacs.org.
+
+file(GLOB GMXANA_SOURCES *.c *.cpp)
+
+set(LIBGROMACS_SOURCES ${LIBGROMACS_SOURCES} ${GMXANA_SOURCES} PARENT_SCOPE)
int
gmx_sas(int argc, char *argv[]);
-int
-gmx_sdf(int argc, char *argv[]);
-
int
gmx_select(int argc, char *argv[]);
#include "gmxfio.h"
#include "xvgr.h"
#include "matio.h"
-#include "gmx_ana.h"
#include "names.h"
#include "sfactor.h"
Description: Gromacs library
URL: http://www.gromacs.org
Version: @PROJECT_VERSION@
-Requires: @PKG_FFT@ @PKG_XML@
+Requires: @PKG_FFT@ @PKG_XML@ @PKG_GSL@
Libs.private: @CMAKE_THREAD_LIBS_INIT@ @PKG_DL_LIBS@ @OpenMP_LINKER_FLAGS@
Libs: -L${libdir} -lgromacs@GMX_LIBS_SUFFIX@ @PKG_FFT_LIBS@ -lm
Cflags: -I${includedir} @PKG_CFLAGS@
# the research papers on the package. Check out http://www.gromacs.org.
add_executable(gmx gmx.cpp legacymodules.cpp)
-target_link_libraries(gmx libgromacs gmxana ${GMX_EXE_LINKER_FLAGS})
+target_link_libraries(gmx libgromacs ${GMX_EXE_LINKER_FLAGS})
set_target_properties(gmx PROPERTIES OUTPUT_NAME "gmx${GMX_BINARY_SUFFIX}")
configure_file(CreateLinks.cmake.cmakein CreateLinks.cmake @ONLY)
/*
* This file is part of the GROMACS molecular simulation package.
*
- * Copyright (c) 2012, by the GROMACS development team, led by
+ * Copyright (c) 2012,2013, by the GROMACS development team, led by
* David van der Spoel, Berk Hess, Erik Lindahl, and including many
* others, as listed in the AUTHORS file in the top-level source
* directory and at http://www.gromacs.org.
#include "gromacs/onlinehelp/helpwritercontext.h"
#include "gromacs/utility/exceptions.h"
-#include "gromacs/legacyheaders/gmx_ana.h"
+#include "gromacs/gmxana/gmx_ana.h"
namespace
{
-add_library(gmxana
- autocorr.c expfit.c polynomials.c levenmar.c
- anadih.c pp2shift.c dlist.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
- gmx_bundle.c gmx_chi.c gmx_cluster.c gmx_confrms.c
- gmx_covar.c gmx_current.c
- gmx_density.c gmx_densmap.c
- gmx_dielectric.c
- gmx_kinetics.c gmx_spatial.c gmx_tune_pme.c
- gmx_dipoles.c gmx_disre.c gmx_dist.c gmx_dyndom.c
- gmx_enemat.c gmx_energy.c gmx_lie.c gmx_filter.c
- gmx_gyrate.c gmx_h2order.c gmx_hbond.c gmx_helix.c
- gmx_mindist.c gmx_msd.c gmx_morph.c gmx_nmeig.c
- gmx_nmens.c gmx_order.c gmx_principal.c
- gmx_polystat.c gmx_potential.c gmx_rama.c
- gmx_rdf.c gmx_rms.c gmx_rmsf.c
- gmx_rotacf.c gmx_saltbr.c gmx_sas.c gmx_sans.c
- gmx_rmsdist.c gmx_rotmat.c
- gmx_sgangle.c gmx_sorient.c gmx_spol.c gmx_tcaf.c
- gmx_traj.c gmx_velacc.c gmx_helixorient.c
- gmx_clustsize.c gmx_mdmat.c gmx_wham.cpp
- correl.c gmx_sham.c gmx_nmtraj.c
- gmx_trjconv.c gmx_trjcat.c gmx_trjorder.c gmx_xpm2ps.c
- gmx_editconf.c gmx_genbox.cpp gmx_genion.c gmx_genconf.c
- gmx_genpr.c gmx_eneconv.c gmx_vanhove.c gmx_wheel.c
- addconf.c calcpot.c edittop.c gmx_bar.c
- gmx_pme_error.c gmx_options.c gmx_dos.c
- gmx_hydorder.c gmx_densorder.c powerspect.c dens_filter.c
- binsearch.c gmx_dyecoupl.c gmx_make_edi.c gmx_sigeps.c
- gmx_do_dssp.c gmx_anadock.c gmx_make_ndx.c gmx_mk_angndx.c
- gmx_saxs.c
- )
-
-
-target_link_libraries(gmxana libgromacs ${GSL_LIBRARIES} ${GMX_SHARED_LINKER_FLAGS})
-set_target_properties(gmxana PROPERTIES OUTPUT_NAME "gmxana${GMX_LIBS_SUFFIX}" SOVERSION ${SOVERSION}
- COMPILE_FLAGS "${OpenMP_C_FLAGS}")
-
# List of programs with single corresponding .c source file,
# used to create build rules automatically.
#
g_tune_pme g_pme_error
)
-set(GMX_TOOLS_PROGRAMS_NOT_FOR_INSTALLATION
- # names of any executables that should be built but not installed can go here
- )
-
-
-foreach(TOOL ${GMX_TOOLS_PROGRAMS} ${GMX_TOOLS_PROGRAMS_NOT_FOR_INSTALLATION})
+foreach(TOOL ${GMX_TOOLS_PROGRAMS})
add_executable(${TOOL} ${TOOL}.c)
gmx_add_man_page(${TOOL})
- target_link_libraries(${TOOL} gmxana ${GMX_EXE_LINKER_FLAGS})
+ target_link_libraries(${TOOL} libgromacs ${GMX_EXE_LINKER_FLAGS})
set_target_properties(${TOOL} PROPERTIES OUTPUT_NAME "${TOOL}${GMX_BINARY_SUFFIX}")
-endforeach(TOOL ${GMX_TOOLS_PROGRAMS})
+endforeach(TOOL ${GMX_TOOLS_PROGRAMS})
-
-install(TARGETS gmxana DESTINATION ${LIB_INSTALL_DIR} COMPONENT runtime)
install(TARGETS ${GMX_TOOLS_PROGRAMS}
DESTINATION ${BIN_INSTALL_DIR}
COMPONENT runtime)
-
-configure_file(${CMAKE_CURRENT_SOURCE_DIR}/libgmxana.pc.cmakein ${CMAKE_CURRENT_BINARY_DIR}/libgmxana.pc @ONLY)
-install(FILES ${CMAKE_CURRENT_BINARY_DIR}/libgmxana.pc
- DESTINATION ${LIB_INSTALL_DIR}/pkgconfig
- RENAME "libgmxana${GMX_LIBS_SUFFIX}.pc"
- COMPONENT development)
+++ /dev/null
-/*
- *
- * This source code is part of
- *
- * G R O M A C S
- *
- * GROningen MAchine for Chemical Simulations
- *
- * VERSION 4.0.3
- * Written by David van der Spoel, Erik Lindahl, Berk Hess, and others.
- * Copyright (c) 1991-2000, University of Groningen, The Netherlands.
- * Copyright (c) 2001-2004, The GROMACS development team,
- * check out http://www.gromacs.org for more information.
-
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation; either version 2
- * of the License, or (at your option) any later version.
- *
- * If you want to redistribute modifications, please consider that
- * scientific software is very special. Version control is crucial -
- * bugs must be traceable. We will be happy to consider code for
- * inclusion in the official distribution, but derived work must not
- * be called official GROMACS. Details are found in the README & COPYING
- * files - if they are missing, get the official version at www.gromacs.org.
- *
- * To help us fund GROMACS development, we humbly ask that you cite
- * the papers on the package - you can find them in the top README file.
- *
- * For more info, check our website at http://www.gromacs.org
- *
- * And Hey:
- * Green Red Orange Magenta Azure Cyan Skyblue
- */
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
-
-#include <gmx_ana.h>
-
-
-/* This is just a wrapper binary.
- * The code that used to be in g_anaeig.c is now in gmx_anaeig.c,
- * where the old main function is called gmx_anaeig().
- */
-int
-main(int argc, char *argv[])
-{
- gmx_membed(argc, argv);
- return 0;
-}
* And Hey:
* Gallium Rubidium Oxygen Manganese Argon Carbon Silicon
*/
-
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
-
-#include <gmx_ana.h>
-
+#include "gromacs/gmxana/gmx_ana.h"
/* This is just a wrapper binary.
*/
* And Hey:
* Gallium Rubidium Oxygen Manganese Argon Carbon Silicon
*/
-
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
-
-#include <gmx_ana.h>
-
+#include "gromacs/gmxana/gmx_ana.h"
/* This is just a wrapper binary.
*/
+++ /dev/null
-libdir=@LIB_INSTALL_DIR@
-includedir=@INCL_INSTALL_DIR@
-
-Name: libgmxana
-Description: Gromacs analysis lib
-URL: http://www.gromacs.org
-Version: @PROJECT_VERSION@
-Requires: @PKG_GSL@ libgromacs@GMX_LIBS_SUFFIX@
-Libs.private: -lm @CMAKE_THREAD_LIBS_INIT@
-Libs: -L${libdir} -lgmxana@GMX_LIBS_SUFFIX@
-Cflags: -I${includedir} @PKG_CFLAGS@
-