lammps/lib/colvars
Giacomo Fiorin 11de8dafe3 Update Colvars library to version 2018-11-16
Fixes several issues with running averages and time correlation function
computations.  Details are in:

https://github.com/Colvars/colvars/issues/143
https://github.com/Colvars/colvars/issues/193
https://github.com/Colvars/colvars/pull/194
2018-11-16 09:57:07 -05:00
..
lepton Add Lepton library within lib/colvars 2017-10-09 15:25:43 -04:00
Install.py whitespace cleanup 2017-08-10 21:14:40 -04:00
Makefile.common Update Colvars to version 2017-10-11 2017-10-13 13:45:10 -04:00
Makefile.deps update colvars dependencies 2018-05-05 02:36:02 -04:00
Makefile.g++ Change order of targets in Makefiles for Colvars 2017-07-20 15:49:31 -04:00
Makefile.g++-debug Update Colvars to version 2017-07-15 and support automated builds for it 2017-07-19 14:24:07 -04:00
Makefile.lammps.debug Update Colvars to version 2017-07-15 and support automated builds for it 2017-07-19 14:24:07 -04:00
Makefile.lammps.empty Update Colvars to version 2017-07-15 and support automated builds for it 2017-07-19 14:24:07 -04:00
Makefile.lepton.deps Add Lepton library within lib/colvars 2017-10-09 15:25:43 -04:00
Makefile.mpi revamp of library builds 2017-08-07 17:13:01 -04:00
Makefile.serial revamp of library builds 2017-08-07 17:13:01 -04:00
README Add Lepton library within lib/colvars 2017-10-09 15:25:43 -04:00
colvar.cpp Update Colvars library to version 2018-11-16 2018-11-16 09:57:07 -05:00
colvar.h Update Colvars library to version 2018-11-16 2018-11-16 09:57:07 -05:00
colvar_UIestimator.h remove some extra semicolons 2018-05-07 18:04:25 -04:00
colvaratoms.cpp Update Colvars library to version 2018-10-16 2018-11-02 17:45:20 -04:00
colvaratoms.h Update Colvars library to version 2018-10-16 2018-11-02 17:45:20 -04:00
colvarbias.cpp Update Colvars library to version 2018-11-16 2018-11-16 09:57:07 -05:00
colvarbias.h Update Colvars library to version 2018-11-16 2018-11-16 09:57:07 -05:00
colvarbias_abf.cpp Update Colvars library to version 2018-10-16 2018-11-02 17:45:20 -04:00
colvarbias_abf.h Update Colvars library to version 2018-10-16 2018-11-02 17:45:20 -04:00
colvarbias_alb.cpp Collected fixes and updates to Colvars library 2018-02-23 08:34:53 -05:00
colvarbias_alb.h Update Colvars library to version 2016-12-22 2016-12-27 13:17:34 -05:00
colvarbias_histogram.cpp Collected fixes and updates to Colvars library 2018-02-23 08:34:53 -05:00
colvarbias_histogram.h Update Colvars library to version 2016-12-22 2016-12-27 13:17:34 -05:00
colvarbias_meta.cpp Collected fixes and updates to Colvars library 2018-02-23 08:34:53 -05:00
colvarbias_meta.h Update Colvars to version 2017-10-11 2017-10-13 13:45:10 -04:00
colvarbias_restraint.cpp Update Colvars library to version 2018-10-16 2018-11-02 17:45:20 -04:00
colvarbias_restraint.h Collected fixes and updates to Colvars library 2018-02-23 08:34:53 -05:00
colvarcomp.cpp Update Colvars library to version 2018-10-16 2018-11-02 17:45:20 -04:00
colvarcomp.h Update Colvars library to version 2018-10-16 2018-11-02 17:45:20 -04:00
colvarcomp_angles.cpp Update Colvars to version 2017-07-15 and support automated builds for it 2017-07-19 14:24:07 -04:00
colvarcomp_coordnums.cpp Update Colvars library to version 2018-10-16 2018-11-02 17:45:20 -04:00
colvarcomp_distances.cpp Update Colvars library to version 2018-10-16 2018-11-02 17:45:20 -04:00
colvarcomp_protein.cpp Fix a Colvars error that was hidden by the previous segfault 2017-10-20 13:41:31 -04:00
colvarcomp_rotations.cpp Small fixes to Colvars library 2018-05-02 15:03:56 -04:00
colvardeps.cpp Update Colvars library to version 2018-11-16 2018-11-16 09:57:07 -05:00
colvardeps.h Collected fixes and updates to Colvars library 2018-02-23 08:34:53 -05:00
colvargrid.cpp Small fixes to Colvars library 2018-05-02 15:03:56 -04:00
colvargrid.h Collected fixes and updates to Colvars library 2018-02-23 08:34:53 -05:00
colvarmodule.cpp Update Colvars library to version 2018-11-16 2018-11-16 09:57:07 -05:00
colvarmodule.h Update Colvars library to version 2018-11-16 2018-11-16 09:57:07 -05:00
colvarparse.cpp Update Colvars library to version 2018-10-16 2018-11-02 17:45:20 -04:00
colvarparse.h Update Colvars library to version 2018-10-16 2018-11-02 17:45:20 -04:00
colvarproxy.cpp Update Colvars library to version 2018-10-16 2018-11-02 17:45:20 -04:00
colvarproxy.h Update Colvars library to version 2018-10-16 2018-11-02 17:45:20 -04:00
colvars_version.h Update Colvars library to version 2018-11-16 2018-11-16 09:57:07 -05:00
colvarscript.cpp Update Colvars library to version 2018-10-16 2018-11-02 17:45:20 -04:00
colvarscript.h Update Colvars library to version 2018-10-16 2018-11-02 17:45:20 -04:00
colvartypes.cpp convert colvars lib to use c++ style header files 2018-05-08 00:17:57 -04:00
colvartypes.h Small fixes to Colvars library 2018-05-02 15:03:56 -04:00
colvarvalue.cpp Update Colvars library to version 2018-10-16 2018-11-02 17:45:20 -04:00
colvarvalue.h Update Colvars library to version 2018-10-16 2018-11-02 17:45:20 -04:00

README

## Collective variables module (Colvars)

A software module for molecular simulation and analysis that provides a
high-performance implementation of sampling algorithms defined on a reduced
space of continuously differentiable functions (aka collective variables).

The module itself implements a variety of functions and algorithms, including
free-energy estimators based on thermodynamic forces, non-equilibrium work and
probability distributions.

For a brief description see:
  http://colvars.github.io/
  https://github.com/colvars/colvars/


## How to build

This directory has source files to build a library that LAMMPS
links against when using the USER-COLVARS package.

This library must be built with a C++ compiler, *before* LAMMPS is built and
*after* packages are configured, so that LAMMPS can link against it.
You can use the provided Makefile.* files or create your own, specific to your
compiler and system.  For example:

  cd src
  make yes-user-colvars
  cd ../lib/colvars
  make -f Makefile.g++

where Makefile.g++ uses the GNU C++ compiler and is a good template to start.

**Optional**: if you use the Install.py script provided in this folder, you
can give the machine name as the '-m' argument.  This can be the suffix of one
of the files from either this folder, or from src/MAKE/MACHINES.
*This is only supported by the Install.py within the lib/colvars folder*.

When you are done building this library, two files should
exist in this directory:

libcolvars.a		the library LAMMPS will link against
Makefile.lammps		settings the LAMMPS Makefile will import

IMPORTANT: You must examine the final Makefile.lammps to insure it is
correct for your system, else the LAMMPS build will likely fail.

If you want to set a debug flag recognized by the library, the
settings in Makefile.common should work.

Note: some Colvars functions use the Lepton mathematical expression parser,
which is here included (no additional steps required).  For more details, see:
  https://simtk.org/projects/lepton


## Documentation

For the reference manual see:
  http://colvars.github.io/colvars-refman-lammps

A copy of the reference manual is also in:
  doc/PDF/colvars-refman-lammps.pdf

Also available is a Doxygen-based developer documentation:
  http://colvars.github.io/doxygen/html/

The reference article is:
  G. Fiorin, M. L. Klein, and J. Henin,
  Molecular Physics 111, 3345 (2013).
  http://dx.doi.org/10.1080/00268976.2013.813594


## Updating to the latest version

To recompile LAMMPS with the most recent version of this module, the `master`
branch of this repository from GitHub, or clone it via git:

  git clone https://github.com/colvars/colvars.git

and run the provided `update-colvars-code.sh` script against the unpacked
LAMMPS source tree:

  ./update-colvars-code.sh /path/to/lammps/folder

Please report bugs and request new features at:
https://github.com/colvars/colvars/issues