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

« back to all changes in this revision

Viewing changes to src/bin/cceom/sigmaDS.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 CCEOM
 
3
    \brief Enter brief description of file here 
 
4
*/
 
5
#include <cstdio>
 
6
#include <libqt/qt.h>
 
7
#include "MOInfo.h"
 
8
#include "Params.h"
 
9
#include "Local.h"
 
10
#define EXTERN
 
11
#include "globals.h"
 
12
 
 
13
namespace psi { namespace cceom {
 
14
 
 
15
void WmaijDS(int i, int C_irr);
 
16
void WabejDS(int i, int C_irr);
 
17
void WbmfeDS(int i, int C_irr);
 
18
void WnmjeDS(int i, int C_irr);
 
19
 
 
20
/* This function computes the H-bar doubles-singles block contribution
 
21
to a Sigma vector stored at Sigma plus 'i' */
 
22
 
 
23
void sigmaDS(int i, int C_irr) {
 
24
 
 
25
#ifdef TIME_CCEOM
 
26
  timer_on("WmaijDS"); WmaijDS(i, C_irr); timer_off("WmaijDS");
 
27
  timer_on("WabejDS"); WabejDS(i, C_irr); timer_off("WabejDS");
 
28
  timer_on("WnmjeDS"); WnmjeDS(i, C_irr); timer_off("WnmjeDS");
 
29
  timer_on("WbmfeDS"); WbmfeDS(i, C_irr); timer_off("WbmfeDS");
 
30
#else
 
31
  WmaijDS(i, C_irr);
 
32
  WabejDS(i, C_irr);
 
33
  WnmjeDS(i, C_irr);
 
34
  WbmfeDS(i, C_irr);
 
35
#endif
 
36
 
 
37
  return;
 
38
}
 
39
 
 
40
}} // namespace psi::cceom