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

« back to all changes in this revision

Viewing changes to src/bin/cceom/sigmaDD.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
 
#define EXTERN
2
 
#include "globals.h"
3
 
 
4
 
void FDD(int i, int C_irr);
5
 
void WabefDD(int i, int C_irr);
6
 
void WmnijDD(int i, int C_irr);
7
 
void WmbejDD(int i, int C_irr);
8
 
void WmnefDD(int i, int C_irr);
9
 
 
10
 
/* This function computes the H-bar doubles-doubles block contribution
11
 
to a Sigma vector stored at Sigma plus 'i' */
12
 
 
13
 
void sigmaDD(int i, int C_irr) {
14
 
 
15
 
#ifdef TIME_CCEOM
16
 
  timer_on("FDD");       FDD(i, C_irr);     timer_off("FDD");
17
 
  timer_on("WmnijDD");   WmnijDD(i, C_irr); timer_off("WmnijDD");
18
 
  timer_on("WabefDD");   WabefDD(i, C_irr); timer_off("WabefDD");
19
 
  timer_on("WmbejDD");   WmbejDD(i, C_irr); timer_off("WmbejDD");
20
 
  timer_on("WmnefDD");   WmnefDD(i, C_irr); timer_off("WmnefDD");
21
 
#else
22
 
  FDD(i, C_irr);
23
 
  WmnijDD(i, C_irr);
24
 
  WabefDD(i, C_irr);
25
 
  WmbejDD(i, C_irr);
26
 
  WmnefDD(i, C_irr);
27
 
#endif
28
 
 
29
 
  return;
30
 
}