~ubuntu-branches/ubuntu/raring/gdis/raring-proposed

« back to all changes in this revision

Viewing changes to molsurf.c

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Leidert (dale)
  • Date: 2009-04-06 17:12:18 UTC
  • mfrom: (3.1.3 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090406171218-uizoe126jrq09ytt
Tags: 0.90-1
* New upstream release 0.90.
* Acknowledge NMU (closes: #492994). Thanks to Neil Williams.

* makefile.debian: Upstream doesn't provide a Makefile to edit - so created
  our own.
* debian/compat: Added and set to be 5.
* debian/control: Added Homepage, Vcs* and DM-Upload-Allowed fields.
  (Maintainer): Set to the debichem team with approval by Noèl.
  (Uploaders): Added myself.
  (Build-Depends): Increased debhelper version to 5. Removed glutg3-dev.
  Added dpatch.
  (Standards-Version): Bumped to 3.8.1.
  (Description): Removed homepage. Fixed a typo.
* debian/copyright: Updated, completed and adjusted.
* debian/dirs: Dropped useless file.
* debian/docs: Renamed to debian/gdis.docs.
* debian/menu: Renamed to debian/gdis.menu.
  (section): Fixed accordingly to policy.
* debian/gdis.1: Just some formatting changes.
* debian/gdis.desktop: Added file (with small fixes) provided by Phill Bull
  (LP: #111353).
* debian/gdis.install: Added.
* debian/rules: Cleaned. Installation is now done by dh_install. Make sure,
  the CVS directory is not copied. Added dh_desktop call.
* debian/source.lintian-overrides: makefile.debian is created for Debian but
  lives outside debian/.
* debian/watch: Added.
* debian/README.build: Dropped.
* debian/README.source: Added to be compliant to the policy v3.8.
* debian/patches/Debian_make.dpatch: Added.
  - gdis.h (ELEM_FILE): Moved fix for gdis.elemts path (#399132) to this
    patch.
* debian/patches/00list: Added.

Show diffs side-by-side

added added

removed removed

Lines of Context:
222
222
/* get minimum distance from core's VDW surface to point */
223
223
  ARR3SET(x, core->x);
224
224
  ARR3SUB(x, f);
225
 
  fractional_minsq(x, ms_data->periodic);
 
225
  fractional_min(x, ms_data->periodic);
226
226
  vecmat(ms_data->latmat, x);
227
227
  a = elements[core->atom_code].vdw;
228
228
 
272
272
/* get minimium separation vector */
273
273
  ARR3SET(x, r);
274
274
  ARR3SUB(x, core->x);
275
 
  fractional_minsq(x, ms_data->periodic);
 
275
  fractional_min(x, ms_data->periodic);
276
276
  vecmat(ms_data->latmat, x);
277
277
  dx = VEC3MAG(x);
278
278
 
488
488
/* checks */
489
489
g_assert(model != NULL);
490
490
 
 
491
/* NEW - if we have an existing set of the same size - don't recalculate */
 
492
/* TODO - make this an option */
 
493
if (g_slist_length(list) == g_slist_length(model->gulp.epot_vecs))
 
494
  {
 
495
  return(0);
 
496
  }
 
497
 
491
498
/* setup the site coordinate list */
492
499
if (model->gulp.epot_vecs)
493
500
  free_slist(model->gulp.epot_vecs);