Skip to content
forked from fuulish/surf

calculates instantaneous liquid interfaces according to Willard, AP; Chandler, D; J. Phys. Chem. B, 2010, 114 (5), pp 1954–1958

License

GPL-3.0, GPL-3.0 licenses found

Licenses found

GPL-3.0
LICENSE
GPL-3.0
COPYING
Notifications You must be signed in to change notification settings

OndrejMarsalek/surf

 
 

Repository files navigation

Installation notes:
-------------------

Three valueable configure options:
    --enable-openmp - enables OPENMP for surface construction
    --enable-gsl    - enables GSL support (not used right now)
    --enable-xdr    - enable support for XTC file *READING*

so run
    ./configure --enable-openmp --enable-xdr
    make
    make install ('installed' under <SURF>/bin)

    For latest, optimized surface calculation add the flad -DOPTSURF to CFLAGS.
    It is about an order of magnitude faster, and gave for all tested systems numerically 
    identical results to the naive version of the code.
    It is not completely debugged, yet.

possible input options:
(have to be given in lower case (I know, I know) then ' = ' and then input value (see also tests directory))

    option          valid keywords
    ------          --------------

    task            surface_distribution - calculates instantaneous surface (string)

    structure       XYZ coordinate input (needed with actual atom names) (string)

    trajectory      either XYZ, or XTC file, if XYZ, each snapshot should be the same number of bytes as every other one

    xdrread         activate XTC reading (integer, 0 - off, everything else - on)

    batch           batch processing mode (three integers: start stop iteration, 0-based)

    pbc             only orthogonal cells, expects three reals (x,y,z), default unit Bohr, if prepended by ANG or NM, angstrom or nano-meters can be given 
    periodic        activate periodicity (integer, 0 - off, everything else - on)

    resolution      expects real, giving grid spacing (only in Bohr!!!)

    refmask         give atoms of one solute of which the distance to the surface will be calculated

    mask            atoms used for surface construction
                        
                        atoms 1 6 8
                        indices 0 1 2 34

                        or similar

    output          string: silent, normal, debug

    surfxyz         turn on output of 2D surface as XYZ file (integer, 0 - off, 1 - two files, surface up and down without atoms, 2 - two files, surface up and down, with atoms)

About

calculates instantaneous liquid interfaces according to Willard, AP; Chandler, D; J. Phys. Chem. B, 2010, 114 (5), pp 1954–1958

Resources

License

GPL-3.0, GPL-3.0 licenses found

Licenses found

GPL-3.0
LICENSE
GPL-3.0
COPYING

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 64.2%
  • Makefile 17.9%
  • Shell 15.1%
  • M4 1.3%
  • C++ 1.1%
  • Python 0.4%