~ubuntu-branches/ubuntu/trusty/gdis/trusty

« back to all changes in this revision

Viewing changes to mdi.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:
 
1
/*
 
2
Copyright (C) 2003 by Sean David Fleming
 
3
 
 
4
sean@ivec.org
 
5
 
 
6
This program is free software; you can redistribute it and/or
 
7
modify it under the terms of the GNU General Public License
 
8
as published by the Free Software Foundation; either version 2
 
9
of the License, or (at your option) any later version.
 
10
 
 
11
This program is distributed in the hope that it will be useful,
 
12
but WITHOUT ANY WARRANTY; without even the implied warranty of
 
13
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
14
GNU General Public License for more details.
 
15
 
 
16
You should have received a copy of the GNU General Public License
 
17
along with this program; if not, write to the Free Software
 
18
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 
19
 
 
20
The GNU GPL can also be found at http://www.gnu.org
 
21
*/
 
22
 
 
23
#include <math.h>
 
24
#include <stdio.h>
 
25
#include <stdlib.h>
 
26
#include <string.h>
 
27
 
 
28
#include "gdis.h"
 
29
#include "mdi.h"
 
30
#include "mdi_pak.h"
 
31
 
 
32
extern struct sysenv_pak sysenv;
 
33
 
 
34
/* NEW - solvation core goes here ... */
 
35
 
 
36
/* two slightly different functionalities */
 
37
/* 1. given solute(s) and solvent - create a mixed box */
 
38
/* 2. given a mixed box - insert a molecule (create cavity) */
 
39
 
 
40
/* create a new mdi structure */
 
41
gpointer mdi_new(void)
 
42
{
 
43
/* the aim of this is to have references to a number of models, which */
 
44
/* can be combined in some fashion to create some solvation model */
 
45
 
 
46
return(NULL);
 
47
}
 
48
 
 
49
void mdi_free(gpointer data)
 
50
{
 
51
}
 
52
 
 
53
/****************************************/
 
54
/* create a model from an mdi structure */
 
55
/****************************************/
 
56
gpointer mdi_model_new(gpointer data)
 
57
{
 
58
/*
 
59
struct mdi_pak *mdi = data;
 
60
*/
 
61
 
 
62
/* the aim of this is to have references to a number of models, which */
 
63
/* can be combined in some fashion to create some solvation model */
 
64
 
 
65
/* check models exist */
 
66
 
 
67
/* preload coords */
 
68
 
 
69
/* combine */
 
70
 
 
71
/* initialize new model */
 
72
 
 
73
return(NULL);
 
74
}
 
75