~ubuntu-branches/ubuntu/karmic/psicode/karmic

« back to all changes in this revision

Viewing changes to src/bin/extrema/inline.h

  • Committer: Bazaar Package Importer
  • Author(s): Michael Banck, Michael Banck, Daniel Leidert
  • Date: 2009-02-23 00:12:02 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20090223001202-rutldoy3dimfpesc
Tags: 3.4.0-1
* New upstream release.

[ Michael Banck ]
* debian/patches/01_DESTDIR.dpatch: Refreshed.
* debian/patches/02_FHS.dpatch: Removed, applied upstream.
* debian/patches/03_debian_docdir: Likewise.
* debian/patches/04_man.dpatch: Likewise.
* debian/patches/06_466828_fix_gcc_43_ftbfs.dpatch: Likewise.
* debian/patches/07_464867_move_executables: Fixed and refreshed.
* debian/patches/00list: Adjusted.
* debian/control: Improved description.
* debian/patches-held: Removed.
* debian/rules (install/psi3): Do not ship the ruby bindings for now.

[ Daniel Leidert ]
* debian/rules: Fix txtdir via DEB_MAKE_INSTALL_TARGET.
* debian/patches/01_DESTDIR.dpatch: Refreshed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*###########################################################################*/
2
 
/*! \file inline.h
 
2
/*! \file
 
3
    \ingroup EXTREMA
3
4
  \brief Inline functions, used to compute simple internal values. */
4
5
/*                                              Joseph P. Kenny 11/29/01
5
6
  ###########################################################################*/
6
7
 
7
 
#include<math.h>
 
8
#ifndef _psi_bin_extrema_inline_h_
 
9
#define _psi_bin_extrema_inline_h_
 
10
 
 
11
#include <cmath>
 
12
 
 
13
namespace psi { namespace extrema {
8
14
 
9
15
inline double *unit_vec(double* cart_arr, int atom1, int atom2 ) {
10
16
 
151
157
    return t_val;
152
158
}
153
159
 
154
 
 
155
 
 
156
 
 
157
 
 
158
 
 
159
 
 
160
 
 
161
 
 
162
 
 
163
 
 
164
 
 
165
 
 
166
 
 
167
 
 
168
 
 
169
 
 
170
 
 
171
 
 
172
 
 
173
 
 
174
 
 
175
 
 
176
 
 
 
160
}} // namespace psi::extrema
 
161
 
 
162
#endif