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

« back to all changes in this revision

Viewing changes to src/bin/dboc/rccsd.cc

  • 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
/*! \file
 
2
    \ingroup DBOC
 
3
    \brief Enter brief description of file here 
 
4
*/
1
5
#include <iostream>
2
 
#include <stdio.h>
3
 
#include <stdlib.h>
4
 
#include <math.h>
5
 
extern "C" {
 
6
#include <cstdio>
 
7
#include <cstdlib>
 
8
#include <cmath>
6
9
#include <libciomr/libciomr.h>
7
10
#include <libqt/qt.h>
8
11
#include <psifiles.h>
9
 
}
10
12
#include "moinfo.h"
11
13
#include "mo_overlap.h"
12
14
#include "float.h"
21
23
// Wrap a>=b>=c indices into one composite index assuming S3 symmetry
22
24
#define INDEX3_ORD(a,b,c) ( ((a)*(((a)+4)*((a)-1)+6)/6) + (((b)*(b+1))/2) + (c) )
23
25
 
 
26
namespace psi { namespace dboc {
 
27
 
24
28
extern MOInfo_t MOInfo;
25
 
extern FILE *outfile;
26
29
extern void done(const char *);
 
30
extern "C" FILE *outfile;
27
31
 
28
32
double eval_rccsd_derwfn_overlap()
29
33
{
176
180
  return (double)deter_ref*deter_ref;
177
181
}
178
182
 
 
183
}} // namespace psi::dboc