~ubuntu-branches/ubuntu/vivid/psicode/vivid

« back to all changes in this revision

Viewing changes to src/bin/ccenergy/DT2.c

  • 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
 
#include <stdio.h>
2
 
#include <stdlib.h>
3
 
#include <libdpd/dpd.h>
4
 
#define EXTERN
5
 
#include "globals.h"
6
 
 
7
 
void DT2(void)
8
 
{
9
 
  dpdbuf4 D;
10
 
 
11
 
  if(params.ref == 0) { /*** RHF ***/
12
 
    dpd_buf4_init(&D, CC_DINTS, 0, 0, 5, 0, 5, 0, "D <ij|ab>");
13
 
    dpd_buf4_copy(&D, CC_TAMPS, "New tIjAb");
14
 
    dpd_buf4_close(&D);
15
 
  }
16
 
  else if(params.ref == 1) { /*** ROHF ***/
17
 
 
18
 
    dpd_buf4_init(&D, CC_DINTS, 0, 2, 7, 2, 7, 0, "D <ij||ab> (i>j,a>b)");
19
 
    dpd_buf4_copy(&D, CC_TAMPS, "New tIJAB");
20
 
    dpd_buf4_copy(&D, CC_TAMPS, "New tijab");
21
 
    dpd_buf4_close(&D);
22
 
 
23
 
    dpd_buf4_init(&D, CC_DINTS, 0, 0, 5, 0, 5, 0, "D <ij|ab>");
24
 
    dpd_buf4_copy(&D, CC_TAMPS, "New tIjAb");
25
 
    dpd_buf4_close(&D);
26
 
  }
27
 
  else if(params.ref == 2) { /*** UHF ***/
28
 
 
29
 
    dpd_buf4_init(&D, CC_DINTS, 0, 2, 7, 2, 7, 0, "D <IJ||AB> (I>J,A>B)");
30
 
    dpd_buf4_copy(&D, CC_TAMPS, "New tIJAB");
31
 
    dpd_buf4_close(&D);
32
 
 
33
 
    dpd_buf4_init(&D, CC_DINTS, 0, 12, 17, 12, 17, 0, "D <ij||ab> (i>j,a>b)");
34
 
    dpd_buf4_copy(&D, CC_TAMPS, "New tijab");
35
 
    dpd_buf4_close(&D);
36
 
 
37
 
    dpd_buf4_init(&D, CC_DINTS, 0, 22, 28, 22, 28, 0, "D <Ij|Ab>");
38
 
    dpd_buf4_copy(&D, CC_TAMPS, "New tIjAb");
39
 
    dpd_buf4_close(&D);
40
 
 
41
 
  }
42
 
}